Search…

X3 Photo Gallery Support Forums

Search…
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

rotation bug

12 Dec 2008, 05:16

After rotating an photo true the Imagevue back-end the photo is getting an strange color layer.
example:
http://www.sneakie.net/amber/#/content/ ... _1507.JPG/

anybody knows how to fix this ?

second: is it an option to create for instance an Adobe AIR application to manage you photo's off-line for uploading and creating thumbs (maybe future)?
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

12 Dec 2008, 16:15

Strange looks like some gd error when it tries to rotate the image. To resolve this i forsee your best bet is to reupload pre-rotated image.
firedev.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: rotation bug

12 Dec 2008, 23:13

eissap wrote:second: is it an option to create for instance an Adobe AIR application to manage you photo's off-line for uploading and creating thumbs (maybe future)?
Sure, something like that has struck us before. We need to handle most important stuff first though ...

Not quite sure what you mean by "off-line". It would be a local client application, but I think it would connect to the server for management. It could create thumbs and resize images on client before upload.
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

13 Dec 2008, 09:58

I'll just upload them pre-rotated then. Because i tried it again and the same problem happened again. any advise on which (version) gd library i should use ?

I agree with you that the uploader could wait after the final is released :)

keep up the good work
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

17 Dec 2008, 14:12

I have checked the GD version and according to the webserver i'm using gd-2.0.35,1. Is this correct ?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

17 Dec 2008, 23:35

eissap wrote:I have checked the GD version and according to the webserver i'm using gd-2.0.35,1. Is this correct ?
I am not sure ... If you uploaded the image pre-rotated, it would not be using the GD extension. I presume you had rotated it with some image tool like irfanview, acdsee or photoshop?
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

21 Dec 2008, 10:45

If i rotate it with "microsoft picture viewer" there is no problem. Only with the function in the imagevue
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

21 Dec 2008, 14:14

Yes, sorry this was more experimental, unfortunately GD makes image progressively worse every time. :/
firedev.com
 
lowray1975
Experienced
Posts: 137
Joined: 26 Jul 2008, 08:04

23 Dec 2008, 15:15

There's a certain free image gallery product that includes a nice Java uploader tool. The tool not only allows you to resize and rotate, it allows mutliple uploads at once.

It's just a shame the product is so horrible. Imagevue destroys it. :twisted:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

23 Dec 2008, 21:25

Our admin tool allows multiple uploads at once also ...

We will be considering some further management tools for future release. Perhaps eventually a client-side program that allows folder management, multiple file uploader with resizing capabilities, straight from your desktop ...
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

31 Dec 2008, 06:10

I have made a new rotation function which is working on my server.
It's not using GD anymore because GD cannot handle images larger then 1024 x 768.

I'm not sure if this will work on every server. but i'm hoping somebody is willing to try out.
You have to change 2 files.
admin/controllers/FileController.php
and
include/ivImage.class.php
In include/ivImage.class.php change the following
Code
$this->imageData = imagerotate($this->imageData, $angle, 0xFFFFFF);
to
passthru("/usr/local/bin/convert -rotate $angle $this->imagepath $this->imagepath");
and in admin/controllers/FileController.php add a comment to line number 149 like this
Code
 //$image->write();
I hope to hear from you guys and thanks for testing.
Feel free to you use it and adjust to your needs.

greetz,
Eissap
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

31 Dec 2008, 06:18

Well convert is command line interface to ImageMagick which is unix shell image manipulation too and it is the solution for all image manipulations, unfortunately we didnt include it in Imagevue, because we dont have resources right now to explain people how to set it up on their servers :/

And it doesnt work on windows afaik.

BTW. indexr, our pet project - http://indexr.googlecode.com supports it right from the beginning. But only for thumbnails, not rotation ofcourse.
firedev.com
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

31 Dec 2008, 07:06

Yes you are right on the imagemagick part.
Although it's not that hard to install, i can imagine that for shared hosting it's difficult to install.

so i think it's an option for people that do use imagemagick and want to rotate from within imagevue. and of course later on when X2 has fixed it it's quite simple to remove again. Though i think GD will never support it because of the limitation on 1024x768 pictures.

anyway i hope this will fix some problems for others as well.