ZenphotoCMS Forum
No thumbnails in 1.1.X - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: No thumbnails in 1.1.X (/thread-1797.html)

Pages: 1 2


No thumbnails in 1.1.X - jean - 11-11-2007

Hi all,

I'm running fine zenphoto since 2 years!
But, I have some problem. I have upgraded 1.0.8 to 1.1.0 -> 1.1.1 and 1.1.2
Since the upgrade to 1.1.0 I have problem with thumbnails.
Apparently the upgrade worked well, but when I upload new pics in a new album, the thumbnails have not been generated for this new gallery.
Chmod is 700 (I can't change chmod to 777, my ISP (free.fr) does not recognize chmod ftp commande
Commande : SITE CHMOD 770 albums
Réponse : 500 'SITE': command unrecognized.)
Mode_rewrite is off
I did a refresh database, and a precached image, no thumbnails, the image is well uploaded clicking to the link show the pic.

What can I do ?

THX a lot.
Bye




No thumbnails in 1.1.X - sbillard - 11-11-2007

Zenphoto has to be able to write to the cache folder. However, that should not be different from the 1.0.8 release. Can you check to see if there are files in the cache folder?




No thumbnails in 1.1.X - jean - 11-11-2007

I have more informations:
I notice that all my pics with size 1600x1200 and less have thumbnail, but all the pics with size 3072x2304 have no thumbnails.
The strange thing is that in 1.0.8 they were displayed correctly

May be that can help...




No thumbnails in 1.1.X - jean - 11-11-2007

Yes there is some files in cahe directory, I erased all this file and do a "pre-cache images" and th thumbnails are generated. Not for the pics metioned above.




No thumbnails in 1.1.X - sbillard - 11-11-2007

Most likely this is a memory limit issue. Maybe v1.1x has grown enough to cause problems. I am not an expert on PHP memory, though, so this is just a guess.




No thumbnails in 1.1.X - jean - 11-11-2007

So may be there is a quota set by my ISP ...




No thumbnails in 1.1.X - jean - 13-11-2007

Well I have check my php config and I saw that :
memory_limit 32M

Do you think is not enough for zenphoto?

Bye




No thumbnails in 1.1.X - tkolarik - 13-11-2007

I have the same issue, large size --- no thumbs. My intall is a fresh, not upgrade. Please advise on other possible solutions!
Thanks
TK




No thumbnails in 1.1.X - tkolarik - 13-11-2007

I found a solution in my case.... I use "1and1" as my hosting vendor and by default they Apache uses PHP4 unless changed. I just added this line to the ".htaccess file...

AddType x-mapp-php5 .php

And now all works fine. Hope this helps!

TK




No thumbnails in 1.1.X - aitf311 - 13-11-2007

Great, thanks for the tip. I'll get it put on the wiki




No thumbnails in 1.1.X - trisweb - 13-11-2007

@jean - I believe 32M Memory limit is not quite enough for 3072x2304 images. For that you need at least 64M, probably more.

32M should be good for 2048x1536 or smaller. Sorry for that limitation.




No thumbnails in 1.1.X - jean - 14-11-2007

I have checked i.php in V1.0.8 and V1.1.2 and it contains:
@ini_set('memory_limit','64M');

in V1.0.8 it worked very well (with large images) and in V1.1.2 it's not working ... may be memory_limit is not the thumbnails problem ...




No thumbnails in 1.1.X - trisweb - 14-11-2007

That is possible. Can we have the site URL so we can look at it? Thank you.




No thumbnails in 1.1.X - jean - 15-11-2007

see the gallery here http://jean.palazuelos.free.fr/zenphoto
In V1.0.8 the galerry Julian 21 to Julian 14 were fine but since 1.1.2 they have no thumbnails

You can have more infos here http://jean.palazuelos.free.fr/path.php

THX for your support




No thumbnails in 1.1.X - jean - 19-11-2007

Hello,
Did you see something wrong?

I'm seriously thinking of going back to 1.0.8.
Do you think that downgrade to 1.0.8 is possible?
THX




No thumbnails in 1.1.X - sbillard - 19-11-2007

Downgrading should be no problem if you still have the files. Just remove everything but you album and load up the 1.0.8 release.




No thumbnails in 1.1.X - trisweb - 20-11-2007

I looked at the installation and your images and it looks like downgrading to 1.0.8 will have no effect... zenphoto will not be able to process those images.

Perhaps there has been a memory amount change on the server since you installed zenphoto, and the old images were still cached so were still displayed. When you upgrade, the cache is cleared, and the new memory limit doesn't work with your large images.

I recommend either contacting the host to increase the memory limit for PHP, or simply upload smaller images. No photo software using PHP/GD will be able to resize those images within that limit. Sorry about that.




No thumbnails in 1.1.X - sboard - 16-09-2008

It has been a long time from last update of this topic, but I had the same problem with thumbnails from big files. Now I'm sure it is the memory_limit parameter in php.ini, i.e. photo 8,000x8,000 has 64MB (Black&White), for color photos you have to multiple this by 4 bytes of color information and this give 256MB!!! So for photos up to 4,000x4,0000 you need to set memory_limit parameter in php.ini at lest to 64 MB.




No thumbnails in 1.1.X - sbillard - 17-09-2008

You should also be aware that the memory limit is only an advisory setting. No guarentee that hte script will actually get that much memory--that depends also on how much memory the server has to offer.

Bottom line--if you are getting memory exhausted errors the images need to be smaller.




No thumbnails in 1.1.X - shidap - 18-09-2008

I just installed the new version too. I'm having problems with the cache although my pictures are not very large. Any suggestion:

www.tcbierstadt.de/zenphoto

I also have "1und1" as a my provider.
I tried this AddType x-mapp-php5 .php but that didn't help. How can I force the thumb pictures to be created.