Help! getting gallery3 to work with flashyourweb slideshow

Seany-D

Joined: 2014-01-26
Posts: 6
Posted: Sun, 2014-01-26 22:42

I'm trying to get gallery3 to work with flashyourweb but I'm not having much luck - I've managed to get all the gallery 3 items uploaded and the gallery is good to go - I have downloaded mediaRSS.php and amended line 30 to show:-

$ret = GalleryEmbed::init(array('fullInit' => true, 'embedUri' => 'gallery3/index.php', 'g2Uri' => ''));

I have tried this as:-

$ret = GalleryEmbed::init(array('fullInit' => true, 'embedUri' => '/index.php', 'g2Uri' => ''));

as well - I'm trying to get the code working via the EMBED-O-RATOR in the first instance as it's easier that embedding the code in my site

I've been at this all night but I can't fathom where the issue may be - can anyone help?

thanks

Sean

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2014-01-26 23:12

Flash is dead, use the new version instead. http://www.flashyourweb.com/staticpages/index.php?page=minislideshow_redux

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Seany-D

Joined: 2014-01-26
Posts: 6
Posted: Mon, 2014-01-27 19:41

Hi Suprsidr - thanks for the fast reply...

I'm sorry but I'm not used to jquery or jscript - I have tried embedding the three bits of code that may apply from the page you gave me the link to

1. (2nd line edited as I have the jquery scripts in the gallery3 directory)
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="gallery3/jquery.minislideshow.4.0.min.js"></script>
<script>
$('#mini').minislideshow({options});
</script>

2.
<div id="mini-g3json">
<strong>Javascript required to view this content.</strong>
</div>

3. (I have used this script as I am using gallery 3 and I don't have an rss directory as er the only other script that I may feel would apply)
<script>
$('#mini-g3json').minislideshow({
provider: 'g3rest',
url: 'http://suprsidr.com/rest',
g3_itemid: 114,
g3_max_items: 24,
width: 260,
height: 190,
delay: 4,
fontscale: 14,
shuffle: true
});
</script>

the only one that seems to do anything is number 2 - this however doesn't display anything but a turning wheel - a little like a samsonite logo with 5 not 4 things

My gallery 3 is in a directory called /gallery3/ and the jquery files are in this directory as well

May I ask what would you recommend I do to get this working?

thanks

Sean

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2014-01-27 19:49

can you send me a link to the page you are trying to get this working in? and a link to the gallery3 album you want to show

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Seany-D

Joined: 2014-01-26
Posts: 6
Posted: Mon, 2014-01-27 19:57

Sure...

The link to the page I am trying to get working is:-

http://www.sgdltd.com/KWP/Gallery.htm

The link to the Gallery is:-

http://www.sgdltd.com/KWP/gallery3/

Thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2014-01-27 20:13

First, activate the rest module in gallery admin
Then make sure "rest allow_guest_access" is set to 1 in Admin -> Settings -> Advanced
try this:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="/KWP/gallery3/jquery.minislideshow.4.0.min.js"></script>
<div id="mini-g3json"></div>
<script>
$('#mini-g3json').minislideshow({
  provider : 'g3rest',
  url : 'http://www.sgdltd.com/KWP/gallery3/index.php/rest',
  g3_itemid : 1,
  g3_max_items : 24,
  width : 260,
  height : 190,
  delay : 4,
  fontscale : 14,
  shuffle : true
});
</script>

make sure you only have one div with that id.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Seany-D

Joined: 2014-01-26
Posts: 6
Posted: Mon, 2014-01-27 20:35

Hi,

I've set rest allow guest access to 1 in admin settings advanced and I've popped the code into an html page but I'm still not seeing anything...

http://www.sgdltd.com/KWP/Gallery.htm

Thanks so much for your help, I feel like I am so close to getting this correct

Sean

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2014-01-27 21:18

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Seany-D

Joined: 2014-01-26
Posts: 6
Posted: Mon, 2014-01-27 21:25
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2014-01-27 22:01

try my edited code above it worked for me.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Seany-D

Joined: 2014-01-26
Posts: 6
Posted: Mon, 2014-01-27 22:08

Yes!

finally... thank you so much...