Does the gallery have event hooks?
Permalink Browser Info Environment
Hello,
I use colorbox at the moment and think about changing to touch gallery. One important features I need are Javascript event hooks that are called when an image is displayed. I need this to tracking which images are seen for google analytics.
Does you gallery suport this?
And is there any development documentation available before buying it?
Thanks
Harald
I use colorbox at the moment and think about changing to touch gallery. One important features I need are Javascript event hooks that are called when an image is displayed. I need this to tracking which images are seen for google analytics.
Does you gallery suport this?
And is there any development documentation available before buying it?
Thanks
Harald
Type: | Pre-Sale |
---|---|
Status: | Resolved |
Hello,
Thanks for you response! Unfortunatly the href Link is not enough. It works for the first click, but when you scroll through the gallery, there is no onclick event for the image... So I need the event when the image is loaded.
Colorbox works fine, but only for desktop. There is no fullscreen support for mobile devices...
Cheers,
Harald
Thanks for you response! Unfortunatly the href Link is not enough. It works for the first click, but when you scroll through the gallery, there is no onclick event for the image... So I need the event when the image is loaded.
Colorbox works fine, but only for desktop. There is no fullscreen support for mobile devices...
Cheers,
Harald
I didn't think of that. Could you give me a few days? I think it would be a
good thing to implement. I'll let you know how it goes.
On Jun 2, 2016 9:41 PM, "concrete5 Community" <discussions@concretecms.com>
wrote:
good thing to implement. I'll let you know how it goes.
On Jun 2, 2016 9:41 PM, "concrete5 Community" <discussions@concretecms.com>
wrote:
Hello Harald,
I just wanted to let you know that I implemented an event whenever a full screen image is shown.
It allows to get the relative url to the image, its title and description, if set.
Would that work for you?
Anyway, I will upload it on Monday, along with 10 new templates for the gallery.
Would you like me to message you when it's available?
I just wanted to let you know that I implemented an event whenever a full screen image is shown.
It allows to get the relative url to the image, its title and description, if set.
Would that work for you?
Anyway, I will upload it on Monday, along with 10 new templates for the gallery.
Would you like me to message you when it's available?
Hi again,
Just a word to let you know that I implemented an event hook and it's now available.
You can see a tutorial here:https://www.concrete5.org/marketplace/addons/touch-gallery1/keep-tra...
Just a word to let you know that I implemented an event hook and it's now available.
You can see a tutorial here:https://www.concrete5.org/marketplace/addons/touch-gallery1/keep-tra...
Thank you for your interest in Touch Gallery.
There are no events or development docs are it is really very simple and can be easily used with google analytics.
The gallery thumbnails are links and their href is the url to the image. To use with GA you probably could just use the click and touch events of the links and get their href to know what image is going to show.
Out of curiosity, may I ask why you want to switch? I hear colorbox is pretty good.