View Full Version : Problem Regenerating Thumbnails
Tallkev
09-04-2006, 01:14 AM
Hi,
I'm having a problem resizing my thumnails, I've set a new size and regenerated and managed to get the last 30 or so thumbs to resize successfully, but the rest didn't resize. Looking through the posts here I read that my hosts server may be timing out when the pixelpost resize thumbs script was running, but after getting the server admin to change the setting it still seems to fall over on the same set of thumbs. I get the following messages when I run regenerate thumbs:
Warning: touch(): Utime failed: Permission denied in /home/kutting/public_html/includes/functions.php on line 155
Warning: imagejpeg(): Unable to open '../thumbnails/thumb_20060718210221_img207.jpg' for writing in /home/kutting/public_html/includes/functions.php on line 156
Warning: chmod(): Operation not permitted in /home/kutting/public_html/includes/functions.php on line 158
my domain name is http://www.tallkev.com
Also, when using thumbnail compression of 100, up from 80 the colours of my thumbnails still look washed out and de-saturated. Even on the thumbs that resized and regenerated...
Does anyone have any idea how to pep them up?
Thanks in advance!
Kevin
RAitch
09-04-2006, 02:19 AM
Sounds interesting. I'm not sure what's going on with that (security/timeout)
About the colours... the thumbnails seem to look like the full sized images. Are you saying that the thumbnails aren't as saturated as the images... or that both seem washed out?
If they're both washed out, what are you using to process your images? Images edited and saved from the AdobeRGB colourspace tend to look bland when saved for the web. Try converting to sRGB before you save... or work in sRGB if you intend to publish to the web.
If that's not the case, there are some other ways to enhance colours.
Tallkev
09-04-2006, 03:49 AM
Sounds interesting. I'm not sure what's going on with that (security/timeout)
About the colours... the thumbnails seem to look like the full sized images. Are you saying that the thumbnails aren't as saturated as the images... or that both seem washed out?
If they're both washed out, what are you using to process your images? Images edited and saved from the AdobeRGB colourspace tend to look bland when saved for the web. Try converting to sRGB before you save... or work in sRGB if you intend to publish to the web.
If that's not the case, there are some other ways to enhance colours.
Thanks for your help RAitch, I thought the thumbnails looked washed-out and desaturated in comparison to the full sized images. I'm not really sure what colour space I'm using - I'm away from my home computer at the moment, but I'll check and post back here tonight.
Kevin
Vernon.Trent
09-04-2006, 03:59 AM
there is an addon which allows you to regenerate thumbnails by numbers
thumb 1-20, 21-30, 31-40 etc.
"Thumbs Re-generator" by GeoS.
check out the addon section in the download area.
Vernon.Trent
09-04-2006, 04:08 AM
is your thumbnail folder writable by pixelpost? (777)
Tallkev
09-04-2006, 11:23 AM
is your thumbnail folder writable by pixelpost? (777)
Hi Vernon,
Thanks, seems the folder is, but the last 30 images aren't and won't let me change them.
I get this message when I try through through my FTP:
FTP Error: Could not change perms on /public_html/thumbnails/thumb_20060904000715_crop0148.jpg: Bad file descriptor (thumb_20060904000715_crop0148.jpg)
Dunno if that means anything to anybody?
Kev
RAitch
09-04-2006, 01:20 PM
Does that file exist on your host as named?
Is it trying to load the file and update it... or purely just trying to overwrite the file and is having a problem writing the file on the host.
If the file exists as named... what happens if you rename the file (for now) to something else... say thumb_20060904000715_crop0148old.jpg
If that doesn't work, you can always rename it back.
Connie
09-04-2006, 01:59 PM
how big is that file ?
We had the situation that a file was too big for being handled by GDlib, if I remember right
Tallkev
09-04-2006, 02:07 PM
how big is that file ?
We had the situation that a file was too big for being handled by GDlib, if I remember right
Hi Connie, The file is about 160Kb, and the thumb currently 24.3Kb Some of the other files are bigger and didn't have this problem...
Kev
Connie
09-04-2006, 02:25 PM
Ok, so this cannot be the problem
Tallkev
09-04-2006, 03:02 PM
How strange! I decided to bite the bullet and re-upload the offending photos. I did the first one, PP gave me an error message to say the picture could not be overwritten. I regen the thumbs for the 20th time today, and hey presto! they all changed to the size I wanted in the first place!
Now I just need to go through and swap the pictures save in the Adobe RGB colourspace. Thanks for all of your kind help! Most appreciated :-)
Vernon.Trent
09-04-2006, 03:05 PM
@tallkev
adobe rgb colorspace is not the right choice for web :) srgb is ok.
so, if you have some adobe rgb files then convert them to srgb.
RAitch
09-04-2006, 03:32 PM
Ya, if you display an image that's AdobeRGB online... it'll look flat/bland.
You want to save from sRGB. Just make sure that's what you're editing in.
Also, your monitor might be miscalibrated... or you may have a profile applied in your editing software that isn't supported in other applications.
Are you using Photoshop? If so, do they look right if you save for web?
Still it can be because GDlib takes some ammount of memory for graphic operations. Check if it isnt bigger then script execution limit.
Then also check if you GDlib supports JPEG files.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.