coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: mansfieldweb on October 04, 2004, 10:06:10 PM

Title: IIS, Windows and ImageMagick
Post by: mansfieldweb on October 04, 2004, 10:06:10 PM
Hello there

First of all, congratulations and thanks for writing such an awesome photo gallery package!  :)

I seem to be having a bit of a problem with ImageMagick. ImageMagick is installed on my server and is working fine. When I try and upload a photo, I am told the photo has uploaded successfully. When continue is clicked to provide a description for the photograph, the preview picture shows just a white square with a red cross through it meaning the photograph could not be found.

Upon looking in the gallery/albums/edit folder, I can see that the photograph does exist but called a different filename. The script for example on this occasion was looking for  gallery/albums/edit/preview_3d4a43fe.JPG but it was actually converted and saved as gallery/albums/edit/mHTTP_temp_0fd0cffc.JPG. On previewing this file, it is indeed the photograph I uploaded, but obviously not saved as the filename Gallery was expecting. This would mean to me that ImageMagick is doing it's stuff so to speak, but something is obviously broke somewhere.

My settings in config are to use imagemagick and the path is specified as c:/imagemagick/ with parameters set as -antialias.

Could anyone offer me any suggestion on how this may be fixed.

I have tested the software with GD1 and GD2 which works fine, but would rather use ImageMagick.

Kindest regards and thanks for any help

Mansfieldweb aka Mark Smith


P.S. Sorry, didn't mean do cross-post, just didn't think my post had entered the forum!  :-[
Title: Re: IIS, Windows and ImageMagick
Post by: Joachim Müller on October 04, 2004, 10:14:34 PM
please post a link and test user account (non-admin) with upload privileges.

Joachim
Title: Re: IIS, Windows and ImageMagick
Post by: Tranz on October 04, 2004, 10:18:09 PM
mansfieldweb, I removed your second copy of the post. In the future, if you are unsure if your post went through, please look into your profile and view last posts. Since there were 3 copies, I have removed 2 of them, and obviously, this is the one that remains.
Title: Re: IIS, Windows and ImageMagick
Post by: mansfieldweb on October 04, 2004, 10:20:28 PM
Wow, rapid response!  :) 8)

http://www.top-rod.co.uk/gallery/
Username test
Password test
Album created called test album with upload permission

Thank you!

Mark
Title: Re: IIS, Windows and ImageMagick
Post by: kegobeer on October 05, 2004, 03:38:24 AM
Try c:\imagemagick\ instead of c:/imagemagick/
Title: Re: IIS, Windows and ImageMagick
Post by: mansfieldweb on October 05, 2004, 10:34:10 AM
I've tried changing the path of imagemagick to c:\imagemagick\ and it still doesn't work. The photo still ends up in the gallery/albums/edit folder, but stored as the wrong filename.

Thanks for the suggestion though!  :)

Regards

Mansfieldweb
Title: Re: IIS, Windows and ImageMagick
Post by: kegobeer on October 06, 2004, 12:44:33 AM
If that didn't do the trick it may be that ImageMagick isn't installed and working with IIS correctly.  It's sometime hard and problematic to get working with Windows.  Have you downloaded the latest version of ImageMagick from imagemagick.org?  I wasn't able to get ImageMagick working on my Windows box (Apache, not IIS) until the newest version came out.
Title: Re: IIS, Windows and ImageMagick
Post by: RMASSEY on January 02, 2005, 09:48:38 PM
I have had the same problem.  While troubleshooting I noted the exact things as mansfieldweb.  I am using Windows Server standard 2003 IIS6.0.  I opened permission wide open for testing for the IIS user.  I have serached this forum and this post is the closest thing I could find to my problem.  I downloaded the latest ImagMagick as of 12-27-04 and installed to the C:\imageMagick directory.  My setups are identicle to mansfieldweb.  It seems everything I try ends up in the same results as mansfieldweb described above.  Any assistance, fixes, or suggestions would be greatful.


http://www.masseys.us/cpg132/index.php
Login: test


-Robert
Title: Re: IIS, Windows and ImageMagick
Post by: RMASSEY on January 02, 2005, 09:51:56 PM
I hit enter and it posted my previous prematurly.  I do not see an edit to my previous post.  So, I will com,plted it here sorry...


http://www.masseys.us/cpg132/index.php
Login: test
Password: test
Album: test

Thanks in advance
-Robert
Title: Re: IIS, Windows and ImageMagick
Post by: Tranz on January 02, 2005, 10:02:25 PM
You can use the Modify button on the top right corner of the post.