IIS, Windows and ImageMagick IIS, Windows and ImageMagick
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

IIS, Windows and ImageMagick

Started by mansfieldweb, October 04, 2004, 10:06:10 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mansfieldweb

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!  :-[

Joachim Müller

please post a link and test user account (non-admin) with upload privileges.

Joachim

Tranz

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.

mansfieldweb

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

kegobeer

Try c:\imagemagick\ instead of c:/imagemagick/
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

mansfieldweb

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

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

RMASSEY

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

RMASSEY

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

Tranz

You can use the Modify button on the top right corner of the post.