Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Scrolling through preview images fails
msroedel
#1 Posted : Monday, 17 October 2011 1:03:12 AM(UTC)
Rank: Member

Joined: 25/03/2011(UTC)
Posts: 13
Location: Germany

Hi Roger, hi all,
when trying to scroll through the images in an album in the preview area by clicking the next/previous picture arrows I receive a skript error after the first (successful) image skip. The cursor then shows the sandclock and no further action is possible. The effect occurs under IE and Firefox. Version is 2.5.0 with the latest patch, running on w2k8R2.
Can be tested here: http://fve.de/pictures

Any idea if this is a bug or something that's wrong on my side?

Many thanks and best regards,

Markus



Roger Martin
#2 Posted : Monday, 17 October 2011 7:53:47 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I think this happens when you are using a version of jQuery earlier than 1.6. Check the setting in the site admin area.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
msroedel
#3 Posted : Monday, 17 October 2011 8:00:21 AM(UTC)
Rank: Member

Joined: 25/03/2011(UTC)
Posts: 13
Location: Germany

My jQuery settings are:

//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js

AFAIK the /1/ should reference the most recent version, right?

Best,
Markus
Roger Martin
#4 Posted : Monday, 17 October 2011 8:13:17 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

When I look at your page, the jQuery script file isn't even referenced in the source. The only reason I can think of that would cause this is if the jQuery path is empty in site admin, but you said it had a value, so I am not sure what is going on.

Tell you what: For $100 I can take a deeper look at your site. If it turns out to be a bug, I'll refund the money. Contact me offline if you want to pursue this.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
msroedel
#5 Posted : Monday, 17 October 2011 8:57:51 AM(UTC)
Rank: Member

Joined: 25/03/2011(UTC)
Posts: 13
Location: Germany

Thanks for the offer!
I saved you some work and the Paypal fee:
The solution is that the paging feature does not work if the image transition mode is set to 'none' instead of 'fade'. Just found this out by comparing the settings of my test system with the one that shows the problem.
I'd consider this a bug ;-)
However, I'll talk to the board of my (non-profit) club if they are willing to invest a donation for your really superb gallery software.

Thanks again and keep up the good work,

Best,
Markus

Roger Martin
#6 Posted : Monday, 17 October 2011 9:14:11 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

You are right - that is a bug. It'll be fixed in the next release (in fact, it already is, since 2.6 will use jQuery on all pages, and thus does not conditionally check to see if it is required).

Meanwhile, you can fix it yourself in the source code by looking for this line in the InitializePage function of GalleryPage.cs (in WebSite\CodeFiles\):

Code:
JQueryRequired = ((PageId == PageId.mediaobject) && (GallerySettings.MediaObjectTransitionType == MediaObjectTransitionType.Fade));


Change it to this:

Code:
JQueryRequired = (PageId == PageId.mediaobject);


Note that this change requires the source code version of GSP, and you must recompile the code into a new GalleryServerPro.Web.dll.

Thanks for reporting it!
Roger Martin
Creator and Lead Developer of Gallery Server Pro
msroedel
#7 Posted : Tuesday, 18 October 2011 1:06:34 AM(UTC)
Rank: Member

Joined: 25/03/2011(UTC)
Posts: 13
Location: Germany

Thanks for the feedback, Roger!
I am sure that I will get along leaving the transition setting on 'fade' until the release of v 2.6.
Best,
Markus

Rss Feed  Atom Feed
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.