Author Topic: thumbnails no longer created after enabling flatfile authentication  (Read 1551 times)

0 Members and 1 Guest are viewing this topic.

Offline aabababb

  • album.pl User
  • *
  • Posts: 2
  • Karma: +0/-0
  • I forgot to change the default text.
I installed image magick with album version 6.1 and it worked fine.  But after I enabled flat file authentication, it stopped generating new thumbnails for new pictures added.  I've tried reloading the page (thus re-running the script).  I tried running other perl scripts which use image magick and it works fine.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
It seems like maybe another change was made at the same time that authentication was changed. Changing auth_type should have no effect on ImagMagick code...

What's your imagemagick line in your config set to? If you run album_test.pl, it should tell you what it *should* be set to...

Also, are there any ImageMagick errors displayed when you view an album? Does the thumbnail show as a broken image or a constrained copy of the original? Does it have the "new thumbnail" border on it?

Offline aabababb

  • album.pl User
  • *
  • Posts: 2
  • Karma: +0/-0
  • I forgot to change the default text.
I've discovered the problem.  I'm not sure if this problem is already known or I'm just inexperienced.  I would like to pass this knowledge to other users:

When using album.pl with IIS, if I enable "anonymous access", IIS dosen't allow .exe files to be executed.  Since the "convert" binary of image magick is an .exe file, it dosen't work.  Other perl scripts do not use the "convert" binary therefore they are not affected.

I ran into this problem because I enabled anonymous access after I enabled flat file authentication.

I would like to keep using flat file authentication (and enable "anonymous access").  If anyone can tell me how to make image magick work with "anonymous access" enabled it'll be great.
« Last Edit: March 22, 2003, 20:29:43 by aabababb »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Ahhh, that makes sense.

Just set the dir you have convert in to Execute Permissions to "Scripts and executables" and that should do it.

You may want to move convert into your cgi-bin if it's not already...