I'm having trouble getting phpThumb to generate thumbnails on WAMP. The problem seems to be that the path to the source image is be being constructed incorrectly, as indicated by this debug info:
DEBUG phpThumb: ResolveFilenameToAbsolute() prepending $this->config_document_root (C:\Projects\WordPressTest\Site\wp-content\plugins\yet-anot...
I'm using phpThumb - the PHP thumbnail generator.
'phpThumb.config.php':
$PHPTHUMB_CONFIG['cache_maxage'] = 10;
$PHPTHUMB_CONFIG['cache_maxsize'] = 1000;
$PHPTHUMB_CONFIG['cache_maxfiles'] = 10;
but it does nothing... I've got 108 MB in 922 files... and it keeps growing.
Thanks for any suggestions.
...
Hi,
I'm having a problem with phpThumb. It says in the documentation that to get the best out of it, use ImageMagick / Imagick.
I've got this installed on the Server (running Centos 5.1), and can run convert --version and get the right info back. I can also run which convert which returns /usr/bin/convert
However, phpThumb can't l...
I've been exploring ideas how to create thumbnails from a user upload and store them in a directory and then use that thumbnail to display the original. I've been reading posts about phpthumb(), wideimage, imagemagick, and php's GD.
I need some advice on which would work best for my requirements.
When the user uploads a source photo...
hi every one .
I am making a websit in which client want to show video gallery like u tube . on internet i found use of ffmpeg. i have download ffmpeg adn pest it in root directry. and create class
<?php
class media_handler
{
function convert_media($filename, $rootpath, $inputpath,$outputpath,$wi...
I'm trying to use this php thumbnail generator http://phpthumb.gxdlabs.com/ and i keep getting the error below.
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'Images/uploaded/thumbnails/' for writing: No such file or directory in D:\Data\Websites\wamp\www\StephsSite\PHP\phpThumb\GdThumb.inc.php on line 672
Here's my script
...
library: http://wiki.github.com/masterexploder/PHPThumb/basic-usage
i am using the PhpThumbFactory library to crop and upload an image. the error im receiving is this:
Fatal error: Uncaught exception 'Exception' with message 'Image file not found: ' in /www/iaddesign/admin/classes/phpthumb/ThumbBase.inc.php:193
Stack trace:
#0 /www/i...
PHPThumb provides two great variables setting the output maximum width and height BUT "This is always overridden by ?w=_ GETstring parameter"
$PHPTHUMB_CONFIG['output_maxwidth'] = 720;
$PHPTHUMB_CONFIG['output_maxheight'] = 720;
You can also set defaults, and for landscape/portrait:
$PHPTHUMB_DEFAULTS['w'] = 720;
$PHPTHUMB_DEFAULT...
Hello everyone!
So here is my situation, and the solution that I've come up with to solve the problem. I have created an application that includes TinyMCE to allow users to create HTML content for publishing. The user can include images in their markup, and drag/resize those images affecting the final Width/Height attributes in the IMG ...
Hi all,
i wan't to know how to generate thumbnails with phpThumb Class, with an array with file paths already. And then Save the result of each image on other path but with the same name.
Thank you all ;)
EDIT:
I have my code something like this:
echo "A iniciar gerador de miniaturas para a área de cliente: \n";
include $wincl...
Hi,
I am using phpThumb to create thumbnails of PDFs uploaded to my site.
This is working for some PDFs but others produce an error that states imagemagick and or ghostscript are unavailable.
These should be available as phpThumb is using these for the working PDF thumbnails.
One thing that I have noticed is that it tends to be PDFs ...
I am trying to save PhpThumb output. As what I could find on-line was not sufficient or to complex,I would like to ask if any one knows how to it?
$thumb_src="\"phpThumb/phpThumb.php?src=../apartmentsPhotos/".$num['ref']."/1.JPG&h=119&q=100\"";
echo" '<'img src=".$thumb_src />";
So what I want to do is to save the img src into an Imag...
Hi guys,
I'm using phpThumb in a script to clean my images and add a watermark to them. We have images of very different sizes (from 100px width to 800px), so no matter what watermark image I use, it's either going to look too small or too big on the image.
Do you know of a way to tell phpThumb to resize the watermark? Or is there a ...
I've 4 source images;
foto1.jpg, foto2.jpg, foto3.jpg, foto4.jpg
phpthumb generates:
foto1 with name foto1_160.jpg
foto1 again with name foto2_160.jpg !!
foto3 with name foto3_160.jpg
foto3 again with name foto4_160.jpg !!
etc.
Basically it outputs previous rendered thumb once more instead of actual thumb, but does output with corre...
I'd like to use phpThumb ( http://phpthumb.sourceforge.net/ ) on my view layer to automatically size some images.
What's the recommended way to integrate phpThumb into the CodeIgniter architecture? Has anyone done this already and found that you prefer one method of integration over another?
I'm basically looking for opinions on using ...
When linking to a resized image by PHPThumb to popup in a lightbox using either thickbox or colorbox, I am getting a lightbox come up with data and characters. I am guessing because thickbox does not see my image as a real image because it is outputted with the php extension:
includes/phpThumb/phpThumb.php?src=includes/kcfinder/upload/...
Hi there,
I am using phpThumb on a client website, and as it is a very image heavy application the cache gets huge quick. Today the thumbs stopped working and I had rename the cache folder, as the folder was too big to delete via ftp. I renamed it cache_old and am trying to delete it now via ssh. I recreated the cache folder and ever...
We are using phpThumb to resize images, create thumbnails from the original version stored in a DB
We are using a CDN so that thumbnails are cached and we only pay the image processing once per image and per different size.
This works pretty well. Our only issue is that when occasionally there is a temporary glitch phpthumb will produc...
We have an issue with phpThumb where it creates a huge number of temporary files in the temp folder.
temp folder is configured as an absolute path on phpthumb configuration, has 777 (rwxrwxrwx) access rights so apache can write and I would expect remove temporary files.
a) any ideas about why phpthumb creates so many temporary files? I...