Whenever the system failed to make a thumbnail, the ‘entry’ is invalid (there must be 3 things: a sql tabe entry, a full image and a thumbnail image). This is fixed automaticly. For debug purposes it would be handy to switch that off temporary, this will be possible in the next rev (4.2.2). So that is ok.
If this problem (Error: imagejpeg failed in class-resize) happens always, your php config may be insufficient.
If this problem happens somtimes, your server memory may be too low.
Please check Table IX item 5 in the Photo Albums -> Settings screen, and supply a link to the site, i might be able to see what is going wrong.
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.10
WBMP Support enabled
XPM Support enabled
XBM Support enabled
PHP looks good at first sight.
Try Table VII item 1 in the Photo Albums -> settings screen, chmod 775.
Unable to set the rights on /var/www/html/sahyadri/wp-content/uploads/wppa to 775
Unable to set the rights on /var/www/html/sahyadri/wp-content/uploads/wppa/thumbs to 775
Unable to set the rights on /var/www/html/sahyadri/wp-content/wppa-depot/admin to 775
Changes Saved
Actually I have set already folder permission “create and delete” in RED HAT LINUX.
Did it work befor or did it never?
Can you verify that the dirs like /var/www/html/sahyadri/wp-content/uploads/wppa/thumbs exist and are accessable?
It never worked.
yes the file exists and is accesible.
The fact that you get the errors Unable to set the rights on ... to 775
indicates that there is a file system rights problem.
You (the server) should have add, read and write access. add and write access for imagejpeg() as it attempts to write a jpeg file in …/uploads/wppa and in …/uploads/wppa/thumbs.
Yes the problem was thumbs folder permission.
I set it create and delete, Read and write.
Now it is working fine.
Thank u very much.