[CORE 931] Resize Image via Upload Applet

ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2005-07-18 01:57

Been playing around with the resizing of images with Gallery2 via the Upload Applet, trying to get the Resize picture before upload working..

Typically this would be done by adding -> im.convertPath=D\:\\ImageMagick\\convert.exe to GalleryRemoteApplet.properties file

Except this time I cannot get it to work, you get the error message cannot find IM using JAVA as fallback, I know IM is working and I know the path is correct it just appears the upload applet is not correctly finding IM

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-18 07:28

isn't it a GR issue then? (-> GR forum).
and why do you use double backslashs in the path?

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2005-07-18 08:12
valiant wrote:
isn't it a GR issue then? (-> GR forum).
and why do you use double backslashs in the path?

No idea why Java puts the // slashes, just it does, check other posts and you see they also use the same..

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-18 08:37

moving the topic to the GR forum.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2005-07-18 09:31

Why has this topic been moved to GR remote, no place in my posting did I say I am using the GR remote..

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-18 09:35

the upload applet is part of Gallery Remote, most of it's code is based on GR code (java classes).
So this is a GR issue.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2005-07-19 02:50

Valiant,

I still feel this should be part of Gallery2 rather than GR remote, but putting that to one side I got the applet to partly work but it functionality is very broken..

With incorrect resizing of photos going on etc..

541409|TRACE|ImageUtils|Executing [D:\ImageMagick\convert.exe, -filter, Lanczos, D:\Camera\BBC\Strath Creek\IMG_0038.JPG, -resize, 600x600>, -quality, 80, C:\Temp\thumbs\res1458495276.jpg]

I not even sure where it got the parameters from but I do not limit the dimension of the image just the file size of the image yet you can see it is doing a resize which is wrong..

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2005-07-19 04:14
 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Wed, 2005-11-23 11:16

Any news on fixing the im.convertPath in im.properties for Gallery Remote's Imagemagick? Was able to add the correct path to the imagemagick binary in im.properties, but others who download the file get totally lost in trying to add this single line, to get GR to do image conversions, which is a terrific feature.