The only way an image can be viewed is by selecting the full size option.
When I create or recreate all thumbnails it completes with no errors.
When I run the benchmark plug-in using either the GD Lib or GD High Quality settings all thumbnails seem to be created ok.
When I run the create cached images I get this message.
Error while creating image ../../albums/tpershing/stinky_cheeseman2006/PICT2870.JPG! Return Value: 4
convert -quality 90 -size "640x480" "..\..\albums\tpershing\stinky_cheeseman2006\PICT2870.JPG"[0] -resize "640x480" +profile "*" -colorspace RGB "..\..\sql\cache\1\1-90-480-640--1.jpg"
Where did you find the use_convert? I'm having the exact same problem as you did, and have phpMyAdmin, but don't see that or where I can change permissions.
Any assistance would be great.
Thanks,
VD
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I didn't have any problems until the latest upgrade. Now, not only can't I see the thumbnails of newly upload photos, when I run statistics, the page takes forever to load. It used to be instant, now it takes 2 minutes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the statistics performance is a known issue and not so easy to fix, however, regarding the thumbnails it seems to me that you missed something during upgrade.
cheers bzrudi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's the first time I've seen an answer to the statistics problem, however, it only started after the latest upgrade.
As fart as the thumbnail problem, everything was fine with that too, again until the latest upgrade. If I missed something during the upgrade, then it is most likely due to a lack of clear and complete instructions, since I followed them exactly (not to mention the directions do not mention anything about deleting the install folder upon completion).
I'm not trying to harp on anyone, because this is (was) the best program I found on the net so far for photogalleries. However, some people need to realize that not everyone is a computer expert when it comes to databases, etc. Hopefully, I can get this problem resolved soon.
Thank you for helping.
Vince
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can anyone help me on this? Again, ever since the latest upgrade to 1.2, thumbnails will not display. I upgraded according to the instructions, have tried changing use_convert from 1 to 0.
Any ideas?
Vince
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the only change in image creation within the latest 1.2.0 is support for image autorotate by EXIF data. If you are low on PHP memory limit and/or have large files to process it may fail due memory problems. So please try to set "exif_image_autorotate" = "0" in linpha_config table, add some new images and see if it works again...
cheers bzrudi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found "img_rotation" under the config table, but nothing labeled "exif_image_autorotate". It was set at 1 and I changed it to 0, but that didn't seem to help. If the PHP memory limit is low, do I ask my webhost for an increase?
Thanks for the help.
Vince
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Install went good but images in the album directories don't display.
All images will display in the FUll Size pop-up window, But none of the thumbnails are working. What is my problem?
I have made a gallery available to the public to show you what is going on. It can be viewed at http://pershing.tv/linpha-1.1.1/index.php.
The only way an image can be viewed is by selecting the full size option.
When I create or recreate all thumbnails it completes with no errors.
When I run the benchmark plug-in using either the GD Lib or GD High Quality settings all thumbnails seem to be created ok.
When I run the create cached images I get this message.
Error while creating image ../../albums/tpershing/stinky_cheeseman2006/PICT2870.JPG! Return Value: 4
convert -quality 90 -size "640x480" "..\..\albums\tpershing\stinky_cheeseman2006\PICT2870.JPG"[0] -resize "640x480" +profile "*" -colorspace RGB "..\..\sql\cache\1\1-90-480-640--1.jpg"
../../sql/cache/1/1-90-480-640--1.jpg
Error: Cannot create image!
Any ideas would be appreciated.
Hi,
Just a thought, have you checked to see if the sql directory has write permissions set for the webserver.
Also could you specify which OS your server is running, etc.
Vytautas
disable the image cache plugin
flo
Disabling the Image Cache plugin did not work.
??How would I check to see if my Apache Web Server has write permissions set for the web server?
I am on Windows XP and manage MySQL with phpMyAdmin.
but i see in that page that the image cache plugin is still active:
http://pershing.tv/linpha-1.1.1/get_thumbs_on_fly.php?imgid=17&nw=640&nh=480
?
flo
It is off now. I had turned it off ealier and it didn't seam to make a difference.
now you are getting this error message:
Error while creating image ./albums/tpershing/PICT2870.JPG! Return Value: 4<br />convert -quality 75 -size "120x90" ".\albums\tpershing\PICT2870.JPG"[0] -resize "120x90" +profile "*" -colorspace RGB ".\sql\tmp\PICT2870.JPG_6d0b21e1fd1473dc32d30945bb2b01e4_0.jpg"<br /><pre>./sql/tmp/PICT2870.JPG_6d0b21e1fd1473dc32d30945bb2b01e4_0.jpg</pre>
make sure your sql/tmp directory is writable for everyone
if that doesnt help change the value of use_convert in the linpha database table to 0
to access your database you can use a program like phpmyadmin
flo
Where do I find use_convert? I have the linpha database open in phpmyadmin now.
I have changed the security settings in the sql/tmp folder to everyone.
Still not working.
I found the use_convert and changed it from 1 to 0 and everthing seems to be working now.
What did that change????
if use_conver is set to 1 then LinPHA tries to use ImageMagick to resize pictures and if its set to 0 then it uses the built PHP GD extensions.
Vytautas
Where did you find the use_convert? I'm having the exact same problem as you did, and have phpMyAdmin, but don't see that or where I can change permissions.
Any assistance would be great.
Thanks,
VD
Hi,
use _convert is defined in linpha_config table of your LinPHA DB.
cheers bzrudi
Ok, found use_convert, changed it from 1 to 0 and I still don't have thumbnails showing up, just the text "thumbnail"
Any other ideas?
I didn't have any problems until the latest upgrade. Now, not only can't I see the thumbnails of newly upload photos, when I run statistics, the page takes forever to load. It used to be instant, now it takes 2 minutes.
Hi,
the statistics performance is a known issue and not so easy to fix, however, regarding the thumbnails it seems to me that you missed something during upgrade.
cheers bzrudi
How do I do this? "make sure your sql/tmp directory is writable for everyone"
Thanks,
Vince
Hi Vince,
before having detailed system/software information we can't and won't help you out. The issue could be caused by a thousand things...
cheers bzrudi
well first off all it depends what sort of OS your server is running
If it's a *nix style server (linux, unix, etc) then this command would do it: chmod 777 /path/to/linpha/sql/tmp
Vytautas
I use IPowerWeb for my webhosting and they run:
OS - FreeBSD 4.11-STABLE
mysql Ver 12.22 Distrib 4.0.27
What else do you want to know?
Hi bzrudi,
That's the first time I've seen an answer to the statistics problem, however, it only started after the latest upgrade.
As fart as the thumbnail problem, everything was fine with that too, again until the latest upgrade. If I missed something during the upgrade, then it is most likely due to a lack of clear and complete instructions, since I followed them exactly (not to mention the directions do not mention anything about deleting the install folder upon completion).
I'm not trying to harp on anyone, because this is (was) the best program I found on the net so far for photogalleries. However, some people need to realize that not everyone is a computer expert when it comes to databases, etc. Hopefully, I can get this problem resolved soon.
Thank you for helping.
Vince
Can anyone help me on this? Again, ever since the latest upgrade to 1.2, thumbnails will not display. I upgraded according to the instructions, have tried changing use_convert from 1 to 0.
Any ideas?
Vince
Hi Vince,
the only change in image creation within the latest 1.2.0 is support for image autorotate by EXIF data. If you are low on PHP memory limit and/or have large files to process it may fail due memory problems. So please try to set "exif_image_autorotate" = "0" in linpha_config table, add some new images and see if it works again...
cheers bzrudi
I found "img_rotation" under the config table, but nothing labeled "exif_image_autorotate". It was set at 1 and I changed it to 0, but that didn't seem to help. If the PHP memory limit is low, do I ask my webhost for an increase?
Thanks for the help.
Vince