How to embed Gallery3 into web page
Dannyo
Joined: 2013-11-13
Posts: 8 |
![]() |
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 |
|
Dannyo
Joined: 2013-11-13
Posts: 8 |
![]() |
Hi All, Regarding the sample code below - Quote:
$(document).ready(function(){ Questions... 1) Is this the only way to embed Gallery3 into a html page ? 2) Quote:
url: 'http://www.flashyourweb.com/gallery3/rest', I presume I just change this to : 3) Quote:
code: http://www.flashyourweb.com/gallery2/embed_samples/' It references Gallery 2 ...Why Gallery 2 ? do I need this? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Quote:
1) Is this the only way to embed Gallery3 into a html page ? Gallery3 currently has no external embed API. Quote:
It references Gallery 2 ...Why Gallery 2 ? do I need this? 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 Quote:
I presume I just change this to : if you are utilizing G3's rewrite module then yes. otherwise it would be http://www.yourwebsite.com/gallery3/index.php/rest -s |
|
Dannyo
Joined: 2013-11-13
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 ? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
you need to set rest allow_guest_access to 1 in gallery admin -> advanced -s |
|
Dannyo
Joined: 2013-11-13
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, |
|
mccphoto
Joined: 2013-12-01
Posts: 1 |
![]() |
Hey Dannyo, Did you ever find a resolution to the speed issue? |
|