Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: IIS, Windows and ImageMagick  (Read 4245 times)

0 Members and 1 Guest are viewing this topic.

mansfieldweb

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
IIS, Windows and ImageMagick
« 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!  :-[
« Last Edit: October 04, 2004, 10:15:12 pm by mansfieldweb »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: IIS, Windows and ImageMagick
« Reply #1 on: October 04, 2004, 10:14:34 pm »

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

Joachim
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: IIS, Windows and ImageMagick
« Reply #2 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.
Logged

mansfieldweb

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: IIS, Windows and ImageMagick
« Reply #3 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: IIS, Windows and ImageMagick
« Reply #4 on: October 05, 2004, 03:38:24 am »

Try c:\imagemagick\ instead of c:/imagemagick/
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: IIS, Windows and ImageMagick
« Reply #5 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: IIS, Windows and ImageMagick
« Reply #6 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: IIS, Windows and ImageMagick
« Reply #7 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
Logged

RMASSEY

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: IIS, Windows and ImageMagick
« Reply #8 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: IIS, Windows and ImageMagick
« Reply #9 on: January 02, 2005, 10:02:25 pm »

You can use the Modify button on the top right corner of the post.
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 15 queries.