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
6
votes
3 answers

Regex to GENERATE thumbnails!?!?! (but that's crazy!)

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…
CryptoMonkey
  • 163
  • 1
  • 6
4
votes
4 answers

best practice of generating thumbnail?

I am creating a social network where users upload their profile image. This image will be used in their profile page in 150 / 150 px dimension. In the home page i.e user Activity feed I need the same image to be in 75 / 75 px. What would be the best…
user737767
  • 1,022
  • 3
  • 15
  • 17
4
votes
5 answers

Is it better to resize Image on demand or on upload?

I'm working on a project that requires using various sizes of user pictures at different sections on the site. The images to be served are thumbnails of the main images in various sizes like 35 x 35 pixels, 50 x 50 pixels and 100 x 100 pixels. I…
andychukse
  • 520
  • 9
  • 19
4
votes
2 answers

Switching on error messages in phpThumb

How so I do this? I looked at phpThumb.php and the following is set, so I don't know why I am getting the error on my demo page ini_set('display_errors', 1); error_reporting(E_ALL);
Claire
  • 3,683
  • 13
  • 47
  • 74
3
votes
2 answers

Jquery; Chrome Image Width and Height = 0 for new Image()

Im having trouble getting Chrome to recognize an Image width or height after the DOM has loaded. The Image is dynamically loaded through phpThumb script (which resizes the image). If I take away the dynamic url and just replace it with the Image's…
Tourshi
  • 503
  • 1
  • 7
  • 14
3
votes
1 answer

clear phpThumb cache regularly with cron job

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…
christine
  • 53
  • 1
  • 4
2
votes
1 answer

Unable to generate thumbnail generate thumbnails from phpThumb in controller in CakePHP

I am using CakePHP framework version 2.6.1. I am creating a function which will get properties images and will create its thumbnail by phpThumb. My issue is I am not able to create thumbnail from phpThumb in my function. I am getting all the data as…
Owais Aslam
  • 1,577
  • 1
  • 17
  • 39
2
votes
2 answers

Using PHPThumb and Thickbox/Colorbox

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…
kilrizzy
  • 2,895
  • 6
  • 40
  • 63
2
votes
1 answer

PHPthumb auto rotating image 90 degree left

I have a image of about 3264 by 2448 captured by iPhone 5s, When I upload it to my server and use PHPthumb to generate its thumbnail it automatically rotates to 90 degree left I've done too much RND but nothing helpful found please let me know if…
user4861457
2
votes
1 answer

phpThumb PDF thumbnail

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…
Tom
  • 721
  • 3
  • 11
  • 28
2
votes
0 answers

Thumb nail form flv file

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
rajanikant
  • 27
  • 3
2
votes
3 answers

PHP thumb resize png image but add black background

I am using PHPThumb to resize images rumtime. It is working fine but it add black background on PNG image. How could I resolve this? my path is phpThumb/phpThumb.php?src={imagepath}&w=95&h=92
Himanshu Pandey
  • 1,250
  • 2
  • 23
  • 38
2
votes
4 answers

phpThumb cache problems

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…
Cabeludo
  • 21
  • 1
  • 2
2
votes
3 answers

Is phpThumb still a good solution?

A long time ago I used a PHP library called phpThumb to show different sizes of my images on my website. Today I need to do the same. Googling phpThumb gave me 2 results: http://phpthumb.sourceforge.net/ http://phpthumb.gxdlabs.com/ Are they the…
Nathan H
  • 48,033
  • 60
  • 165
  • 247
2
votes
2 answers

Can phpthumb generate interlaced images for progressive browser display?

Is it possible to generate interlaced images using phpthumb? Even if phpthumb doesn't generate interlaced images is there a safe walk-around that can be used to achieve this on a webapp that uses phpthumb for image processing? I tried finding out if…
Favourite Onwuemene
  • 4,247
  • 8
  • 28
  • 46
1
2 3 4 5 6 7 8