Rotating Images with gallery_remote

kbeen

Joined: 2003-04-23
Posts: 15
Posted: Mon, 2003-08-04 14:07

Hi I'm trying to get an application to rotate images remotely, using the gallery_remote2.php API. I see this doesn't have any function for that, so I am wondering if there is any other way to access this functionality.

I see that if I tried to do it directly with an http post method, I will have to know the position of each photo I want to rotate on the page (the index). Since I don't know this is there a way to rotate by specifying the image name or something? Or to rotate as I upload?

If not, I have also tried to do it server side(my mail server is posting to other peoples galleryhttp://www.bastish.net/mfop/), before posting but I can't get any of my PerlMagick (ImageMagick interface) to compile. I have gallery installed on my server and rotate works fine, so I thought maybe I can just use the functionality, but I don't know much about PHP. Do you know if there is a way I can call the function on my local version of Gallery, from the perl script that is processing the and posting the images to gallery_remote2.php?

Thanks,
Kevin

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2003-08-04 14:14

Funny you should ask: GR 1.2 and the associated protocol changes will be almost entirely targetted at performing remote manipulation of images.

The current priority is sorting and moving pictures and albums, but as soon as I have the general framework in place, adding other types of manipulation should be much more straightforward.

I won't be able to work on this for the next 2-3 weeks, but check back in about 1 or 2 months and we can work together on some of this.