IIS Thumbnail Creation Issue

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?

Comments

  • This is with IIS6 and PHP5.2.6 with GD and MYSQL support enabled.
  • Bueller?
  • 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:

    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
Sign In or Register to comment.