How to embed Gallery3 into web page
Dannyo
Joined: 2013-11-13
Posts: 8 |
Posted: Wed, 2013-11-13 21:59 |
Hi All, Newbie here feeling pretty stupid .... I have looked at the following thread and other discussions but cannot figure out what code to add to my html page. http://galleryproject.org/node/106581 I am using Dreamweaver. Thanks in advance |
|
Posts: 8
Hi All,
Regarding the sample code below -
Questions...
1) Is this the only way to embed Gallery3 into a html page ?
is there an easier way , such as inserting a link to : http://yourwebsite.com/gallery3/index.php ?
2)
I presume I just change this to :
url: 'http://www.yourwebsite.com/gallery3/rest' ?
3)
It references Gallery 2 ...Why Gallery 2 ? do I need this?
What do I need to change to display my Gallery3 images?
Posts: 8339
Gallery3 currently has no external embed API.
http://www.flashyourweb.com/gallery2/embed_samples/ just happens to be where I was hosting the code directory that you get from unzipping the archive you download from here. So my code directory is http://www.flashyourweb.com/gallery2/embed_samples/code
if you are utilizing G3's rewrite module then yes. otherwise it would be http://www.yourwebsite.com/gallery3/index.php/rest
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 8
Thank you for the response -
It works if I point to your url: 'http://www.flashyourweb.com/gallery3/rest',
However it doesn't work if I use my own url.
I have selected the Rest API Module in the Gallery Modules.
Is there anything else I need to do to install /rest ?
Posts: 8339
you need to set rest allow_guest_access to 1 in gallery admin -> advanced
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 8
Thank you so much for your help !
Gallery is now appearing on webpage - It is slow to load - is there a way to speed this up ?
now to play with settings and do more reading !)
Kind Regards,
Dan
Posts: 1
Hey Dannyo,
Did you ever find a resolution to the speed issue?