Javascript slideshow hack

msillence

Joined: 2013-04-03
Posts: 3
Posted: Wed, 2013-04-03 21:45

Hi,

I've put together a quick slideshow in javascript that runs off the rss feed.
I haven't done any php and didn't have much time so it's really just a html file hooked in using a copied helper/event from an existing slideshow.
Anyone care to advise how best to integrate?

I've uploaded the "module" to the ticket on this https://sourceforge.net/apps/trac/gallery/attachment/ticket/1365/

The main thing I want to enhance is have an option to use different resolutions if your feed has them.
I was toying with the idea of adding in the thumbnails at the bottom but it's low on my list.

Is this worth uploading to github?

Thanks,
M

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-04-04 00:46

how about this
or this
or this
or most especially this

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
msillence

Joined: 2013-04-03
Posts: 3
Posted: Thu, 2013-04-04 06:36

doh!

Then why is there an open ticket on this and nothing on the list of supported modules?

 
shwebstart

Joined: 2013-04-18
Posts: 2
Posted: Thu, 2013-04-18 19:51

Minislideshow jQuery plugin is nice, but based on jQuery JavaScript Library v1.9.1, which is a very higher version than G2/G3 .

G3 based on jQuery JavaScript Library v1.3.2 and Minislideshow break with errors, that functions not known in this very old version v1.3.2 from 2009! Simply overload jQuery v1.9.1 like shown in G3 builtin examples is not possible. That simply fact costs my hours of trial and error.

Rewriting Minislideshow jQuery plugin with v1.3.2 known functions would be nessecary. Its for sure, that rewriting that plugin in G3 compatible jQuery that upgrade G3 to an newer jQuery Version.

Thanks to msillence for doing a great job.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-04-18 20:06

G3.1 has already been upgraded to jQuery 1.9 and the minislideshow should work w/ jQuery 1.7.x+

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
shwebstart

Joined: 2013-04-18
Posts: 2
Posted: Fri, 2013-04-19 10:06

Yes, on Latest experimental release on Github, but not on Latest stable release 3.0.6 on galleryproject.org. This would be usefull information for people, who are not involved in development process. Anyway, thanks for the jQuery update information and further development!
Is there a release plan for G3.1? Until then minislideshow does not work.
Will themes on http://codex.galleryproject.org/Category:Gallery_3:Themes also be updated, if they uses an own different jQuery version?

For non developers, who want to know, which jQuery is active - having a look at your gallery installion folder:
/lib/jquery.js

Excerpt....
/*
* jQuery JavaScript Library v1.3.2
.....

OR theme specific jQuery Version:
/themes/<theme>/js/jquery-<version>.min.js

Excerpt ...
/*! jQuery v1.7.1 jquery.com | jquery.org/license */
.....

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2013-04-19 14:04

This minislideshow was not written to work from within any version of Gallery it was written for external use. The tagline was "Your gallery anywhere"

If you want to integrate it w/ gallery than have at it.

Gallery user rWatcher created the first G3/minislideshow module with my older flash minislideshow feel free to do the same with this version.

I actually spent a few minutes and reworked his module to use the new mini http://www.suprsidr.com/ but have not looked at it since.

-s
________________________________
All New jQuery Minislideshow for G2/G3