Post Reply 
Integration with Gallery2 & displayed in lightbox
18-Oct-2010, 03:50 AM
Post: #1
Integration with Gallery2 & displayed in lightbox
hi community,

I have two questions -
  • Is it possible to integrate commentics into Gallery2 ? Any documentation would be helpful as each photo will its own comments section.
  • Is it possible to wrap it and display within lightbox ?


Thanks
Find all posts by this user
Quote this message in a reply
18-Oct-2010, 11:50 PM
Post: #2
RE: Integration with Gallery2 & displayed in lightbox
Hello, callingrohit, and welcome to the forum!

As I personally don't have any any experience with Gallery 2, and I don't know how it works in terms of file structure, I can't really say whether or not it can or can't. This should be easily determined though. If the URL changes when you click on a photo (even an anchor change should work), then it is most likely possible. You can take a look at a the tutorial I wrote for dynamic links, or try the "Arbitrary ID" add-on which makes things easier. If the URL doesn't change at all, then it probably isn't possible, unless you know a little bit of php and some of the variables from the Gallery 2 script.

As for lightbox, though it may require some changes to lightbox itself, it should be possible. A good idea might be wrapping the comments box into a hidden DIV element, and then modifying part of lightbox so that the comments section is moved into lightbox via javascript.

After I looked at an example of Gallery 2, I can say that it is quite possible and probably simple to implement. . If you run into trouble with lightbox and javascript, I might work on a solution.

I'm giving you three guesses...
Find all posts by this user
Quote this message in a reply
19-Oct-2010, 04:37 AM
Post: #3
RE: Integration with Gallery2 & displayed in lightbox
Thanks for your reply static.

Yeah I had seen that tutorial for Dynamic Links but wasn't quite sure if it will work for a dynamic website with SEO friendly URLs enabled.

Will it work with SEO friendly URLs ?

Each photo will have its own section of comments - display of old ones and addition of new ones. Will this scenario work ?

For display in lightbox, I will be providing another link to click beneath the photograph which will then be wrapped in a lightbox div.

Thanks for providing your guidance.
Find all posts by this user
Quote this message in a reply
20-Oct-2010, 05:02 AM
Post: #4
RE: Integration with Gallery2 & displayed in lightbox
Any update, static ?

Thanks
Find all posts by this user
Quote this message in a reply
25-Oct-2010, 05:38 PM
Post: #5
RE: Integration with Gallery2 & displayed in lightbox
Sorry, I've been really busy lately. You will need to visit each page and insert the script manually in each one (eg. http://www.example.com/gallery/v/picture.jpg.html). You will also either have to rename each html page to php, or make it so that the html pages parse as php pages. Unless you know of a different way to do it from within the script, I can't suggest anything else. Stephen might, but he hasn't been online for a while now. I don't understand what you plan on doing with lightbox though. I'll provide an example that works with lightbox soon. I'm still busy at the moment, so it might take a while. Sorry for the delay...

I'm giving you three guesses...
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Custom Integration with TNG - advice needed Tom C. 12 191 01-May-2013 04:10 AM
Last Post: Tom C.
  Integration in html page Huldrich 32 5,661 24-Dec-2012 03:01 AM
Last Post: 3hoursLater
  Integration trials CommiC 7 456 21-Aug-2012 01:31 AM
Last Post: CommiC
Shocked integration in my site sitiodomatoweb 1 428 12-Jun-2012 05:23 PM
Last Post: Steven
  Database error upon integration angeljs 7 600 21-May-2012 02:58 PM
Last Post: angeljs
  Where is the integration code? Hobittual 1 433 30-Mar-2012 02:37 PM
Last Post: Hobittual
  Problem with dynamic page integration het 6 929 19-Sep-2011 07:42 PM
Last Post: het
  No comment image displayed? callisch 14 1,338 29-Apr-2011 04:40 PM
Last Post: callisch

Forum Jump:


User(s) browsing this thread: 1 Guest(s)