Questions tagged [phpthumb]

phpThumb is a PHP library used to create thumbnails from images on the fly.

phpThumb() uses the GD library to create thumbnails from images (JPEG, PNG, GIF, BMP, etc) on the fly. The output size is configurable (can be larger or smaller than the source), and the source may be the entire image or only a portion of the original image.

116 questions
0
votes
1 answer

php - php Thumb file not writeable

i'm using ffmpeg for extracting a video frame from which i want to create a thumbnail using php thumb. creating the video frame works, but when trying to save the thumbnail file (under a different name - same directory) i'm getting this error: PHP…
Fuxi
  • 7,611
  • 25
  • 93
  • 139
0
votes
1 answer

phpThumb not working for large images on server

I have spent a lot time by searching and trying different options but with no luck :( phpThumb is working like a charm on development machine but on server it fails with no error.I am using ajaxForm to upload image. …
Jaya Vishwakarma
  • 1,332
  • 1
  • 18
  • 36
0
votes
1 answer

PHPThumb crop left side and right side of image

I'm trying to get an image and crop it then resize it to a thumbnail using PHPThumb. I want to crop the left side, right side, top and bottom in similar percentages. For example, crop 30% from left and 30% from right side; crop 40% from top…
William The Dev
  • 505
  • 1
  • 6
  • 16
0
votes
2 answers

How to resize image using phpThumb class

I'm try to re size image using phpThumb class(this open source php class) so i call above class $phpThumb = new phpThumb(); $phpThumb->setParameter('w', 900); $phpThumb->setParameter('h', 86); but image not re size correct dimensions help to…
Duleep
  • 569
  • 5
  • 25
  • 49
0
votes
2 answers

ImageTTFtext displays html-values for special characters

I've looked everywhere, but I can't figure out why I am facing this problem. I am using phpThumb to do add some text (watermark) on some photos. The problem is that I need to use the special characters from Norway (æøå). These don't play so nice…
OptimusCrime
  • 14,662
  • 13
  • 58
  • 96
0
votes
1 answer

Why my json_encode get corrupted

$model = new XUploadForm; $model->file = CUploadedFile::getInstance( $model, 'file' ); //We check that the file was successfully uploaded if( $model->file !== null ) { //Grab some data …
Cullen SUN
  • 3,517
  • 3
  • 32
  • 33
0
votes
1 answer

MODX Gallery thumb encryption

Does anyone know how to encrypt the following url holding values for phpThumb implemented in MODX so that it is stil readable to phpThumb extension? As an example, the url for generated image looks like…
jacek_podwysocki
  • 807
  • 10
  • 30
0
votes
1 answer

MeioUpload and phpThumb() does not exist error

I am currently using CakePHP v2.2.1 and MeioUpload 4.0 along with phpThumb() to try and generate image uploads and thumbnails for those images. If i set my $actAs = array() without the thumbsizes property everything is uploaded well, but when I add…
Cameeob2003
  • 482
  • 1
  • 6
  • 16
0
votes
1 answer

How to handle phpThumb src prefix?

Because of my folder structure in the framework I use (cake) I am forced to use "../../" as a prefix for the src parameter. How would be recomanded to do in order to get red of "../../" ? Thank…
Michael
  • 4,786
  • 11
  • 45
  • 68
0
votes
1 answer

How to get thumbnail images in zend framework

I have larger images stored in one folder. I dont want to create thumbnail images, store it some place and retrieve. I am looking for script to create thumbnail images of larger images dynamically and display in the browser but never storing the…
rockstar
  • 1,322
  • 1
  • 20
  • 37
0
votes
1 answer

How to use phpThumb() in zend framework

I am trying to use phpThumb() which i downloaded from http://phpthumb.sourceforge.net in zend framework I like it the way it generates thumbnails and resized images. Its simple to use. I just need to add an image tag to generate image as defined…
rockstar
  • 1,322
  • 1
  • 20
  • 37
0
votes
1 answer

phpThumb write test FAILED

I'm trying to deploy my PHP website in Godaddy Windows shared hosting with IIS7. My site using phpThumb library to generate thumb images. But the thumb images are not displayed, I got: Usage: /########/filename.jpg read Usage comments for…
zawmn83
  • 809
  • 1
  • 9
  • 18
0
votes
1 answer

phpThumb Image Resizing Errors

I have spent all day on this and can't figure out where I'm going wrong. I am trying to resize some images to then write them to a folder so they can be zipped up and downloaded. I can get the images to resize, rename and then save into another…
Joe Lewis
  • 21
  • 2
  • 5
0
votes
1 answer

PHP Connecting two images ( adding logo at the bottom )

I'm uploading and resizing an image via phpThumb class. What I need to do is to add my logo at bottom of this image. I don't want it to be a watermark, I would like to connect the two images. ------------------- | image 1 | | …
0
votes
1 answer

how to automatically copy an entire directory as thumbnails using phpthumb (or some other library)

I would like all images dropped in a directory to be copied into a separate directory as thumbnails that i can then view on my site. Right now i'm researching phpthumb, but have also downloaded wideimage and zen photo. Thanks if you can find an…
expiredninja
  • 1,397
  • 4
  • 25
  • 45