Welcome Guest Search | Active Topics | Members | Log In | Register
Image rotation is no longer working Options
NSLRACER
Posted: Wednesday, November 05, 2008 9:21:56 PM
Rank: Member

Joined: 4/28/2008
Posts: 8
Location: Los Angeles
I have tried rotating a couple of images and all it does it distort the image and it leaves it facing the same the direction.

Has anybody else encountered this?

Luis
sam
Posted: Thursday, November 06, 2008 2:38:05 AM
Rank: Advanced Member

Joined: 8/6/2007
Posts: 83
Location: England
hi,

i have had this problem, all i had to do is refresh my page which solves the problem.

sam
Roger Martin
Posted: Thursday, November 06, 2008 11:05:35 AM
Rank: Administration

Joined: 8/3/2007
Posts: 847
Location: Fort Atkinson, WI
Yeah, the browser is using the cached version of the image. Just force a refresh and all is good.


Roger Martin
Lead Developer for Gallery Server Pro
NSLRACER
Posted: Thursday, November 06, 2008 12:30:49 PM
Rank: Member

Joined: 4/28/2008
Posts: 8
Location: Los Angeles
I forgot to mention that this only started happening after I upgraded to the latest release.

This wasn't happening before though. Why would it be happening now after the upgrade?
NSLRACER
Posted: Thursday, November 06, 2008 12:36:22 PM
Rank: Member

Joined: 4/28/2008
Posts: 8
Location: Los Angeles
Following your advice. I went to rotate an image and click on the left arrow because I wanted that side to be up and clicked rotate. I was then presented the distored image which at that point I hit the refresh button.

After the refresh the image was upside down! Like if I had chosen the right arrow to be the up side. If rotate the image again to flip it upside down it works fine.

I was able to replicate the problem more than once.

To me this is two bugs because it didn't do this before:

1). Image is distorted after rotation
2). Initial rotation is being misinterpreted.
NSLRACER
Posted: Thursday, November 06, 2008 12:40:45 PM
Rank: Member

Joined: 4/28/2008
Posts: 8
Location: Los Angeles
Another interesting thing which makes me even more sure it's a bug. I had some images to rotate where I had to click the right arrow initially to be the up side. I got the distored image and then I hit the refresh button.

This time the image was actually rotated correctly after the refresh. It looks like the problem is when you select the left arrow to be the up side.

I will present a link with to a site where you can see what is happening. Give me a few minutes.
NSLRACER
Posted: Thursday, November 06, 2008 1:05:12 PM
Rank: Member

Joined: 4/28/2008
Posts: 8
Location: Los Angeles
Well I was only able to replicate it twice and it hasn't happened since. Really weird.

I closed my browser and cleared my temp files/cookies and it hasn't happened to me again so let's put a hold on that one.

But I still don't think that the image should appear distored after the rotation. That wasn't happening before.
Roger Martin
Posted: Thursday, November 06, 2008 1:30:27 PM
Rank: Administration

Joined: 8/3/2007
Posts: 847
Location: Fort Atkinson, WI
Gallery Server 1.0 modified the name of the file when you rotated the image. Since the browser thought it was requesting a new image, it was an effective technique around the browser cache.

However, that is a rather intrusive - and hacky - way to avoid the browser cache, so I removed the renaming function for version 2. So now you must refresh the page (in some browsers).

You didn't say which browser you are using, but note that Firefox 3 is overly aggressive in its caching, and sometimes hitting F5 doesn't even request a new image (but CTRL-F5 works). This has been blogged about and I consider it a bug. Hopefully they address it in the next release.

The reason the image appears distorted is because the cached image is being constrained - through CSS - to the dimensions of the rotated image. If you dig into it, you will notice the image is not actually distorted on the server.

There is probably a way I can trick the browser into requesting a new image after a rotation. I will add it as a feature request to my list.


Roger Martin
Lead Developer for Gallery Server Pro
NSLRACER
Posted: Thursday, November 06, 2008 5:10:17 PM
Rank: Member

Joined: 4/28/2008
Posts: 8
Location: Los Angeles
I use IE 7. I don't use Firefox unless something doesn't work in IE.

Ok, well hopefully it gets fixed in the next release.

Thanks again.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.2 (NET v2.0) - 9/27/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.