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

Type: Pre-Sale
Status: Resolved
HarryVienna
View Replies:
mnakalay replied on at Permalink Reply
mnakalay
Hello,
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.
HarryVienna replied on at Permalink Reply
HarryVienna
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
mnakalay replied on at Permalink Reply
mnakalay
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:
mnakalay replied on at Permalink Reply
mnakalay
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?
mnakalay replied on at Permalink Reply
mnakalay
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...

concrete5 Environment Information

unimportant for this question

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.