ZenphotoCMS Forum
IIS Thumbnail Creation Issue - 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: IIS Thumbnail Creation Issue (/thread-3503.html)



IIS Thumbnail Creation Issue - estaticd - 2008-08-19

When I upload a file via form in zenphoto, it has no problem caching a thumbnail.
When I upload a file into the album network share (\server\album), it fails to create a thumbnail.

I can't see a difference in permissions from one file to the next, but it's most certainly a problem with the permissions, right?




IIS Thumbnail Creation Issue - estaticd - 2008-08-19

This is with IIS6 and PHP5.2.6 with GD and MYSQL support enabled.




IIS Thumbnail Creation Issue - estaticd - 2008-08-19

Bueller?




IIS Thumbnail Creation Issue - estaticd - 2008-08-20

For the benefit of others who might run into this... turns out, it wasn't a problem with permissions. (Surprise!) Zenphoto was running out of memory while processing 5 megapixel (ish) images, so I did two things:

Added an IIS resource pool in which Zenphoto has 256MB available.
Changed i.php memory limit to 256MB:

Quote:if (ini_get('memory_limit') < '256M') {
@ini_set('memory_limit','256M');
}
Now, IIS is chugging away on huge images that should have probably been resized before they were uploaded in the first place. My mistake was not using a properly conducted test by uploading some random photo, not the same 5 MP photos that it was puking on earlier.

Oops! Thanks for the great software, and my apologies for