vvvmax / unitegallery

Unite Gallery - Responsive jQuery Image and Video Gallery Plugin. Aim to be the best gallery on the web on it's kind. See demo here:
http://unitegallery.net
MIT License
530 stars 158 forks source link

How can i make a clickable Link inside a Description or Title. #95

Closed skerbis closed 4 years ago

skerbis commented 8 years ago

How can i make a clickable Link inside a Description or Title? Is there an option to disable the class .ug-tile-clickable?

vvvmax commented 8 years ago

HI, you have option: "tile as link" that do this.

On Wed, Jul 27, 2016 at 4:52 PM, Thomas Skerbis notifications@github.com wrote:

How can i make a clickable Link inside a Description or Title? Is there an option to disable the class .ug-tile-clickable ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vvvmax/unitegallery/issues/95, or mute the thread https://github.com/notifications/unsubscribe-auth/AC_K_vT9Drrgv6XXSUjvNMo9OCjarI-eks5qZ2K5gaJpZM4JWNjR .

anisvora commented 8 years ago

I added links inside description/title and it is working perfect on desktop browsers but when it came to mobile device .. link is not clickable .. user can see link but nothing happens when they click on that .. any help here ?

skerbis commented 8 years ago

Ok the script i wankt to use needs specific data-attributes for the links. Is it possible to give the links some further Attributes or Parameters?

skerbis commented 8 years ago

@anisvora put the description/title outside the Tile, than the links should be clickable on mobile devices too

anisvora commented 8 years ago

@skerbis , Thanks for reply. But can you please explain more ? like with some sample tag ?

are you are asking me to wrap complete tag under A tag ? , I think I can't do that as having multiple links in description.

let's say .. I am defining as below

<img alt="Preview Image 7" src="http://www.sanantonioweddings.com/admin/files/vendorprofolio2/Horzi_5934_Adv_DSC_0095.jpg" data-image="http://www.sanantonioweddings.com/admin/files/vendorprofolio2/Horzi_5934_Adv_DSC_0095.jpg" data-description='<p class="img-credit">Photo &copy; <a target="_blank" href="http://www.sanantonioweddings.com/vendor-profile?w=225"> Advertiser Name</a> this is second link for google <a href="http://google.com">Click here for google</a></p>'>

This both link works perfect on desktop browser , but on mobile device you can see links but can't click on that.

Can you please explain more about placement ?

Regards, Anis

vvvmax commented 8 years ago

HI, if it's inside the thumb then it won't work, because I take over the link event, it's not a gallery feature. If it's inside default / compact gallery types it should work.

anyway, if you want help, could you please write me to valiano.ticksy.com just mention that you have js verison and not wp. Maybe I could help you somehow.

On Thu, Aug 4, 2016 at 10:20 AM, Anis notifications@github.com wrote:

<img alt="Preview Image 7" src=" http://www.sanantonioweddings.com/admin/files/vendorprofolio2/Horzi_5934_Adv_DSC_0095.jpg " data-image=" http://www.sanantonioweddings.com/admin/files/vendorprofolio2/Horzi_5934_Adv_DSC_0095.jpg " data-description='

Photo © <a target="_blank" href="http://www.sanantonioweddings.com/vendor-profile?w=225"> Advertiser Namesecond link a.com

'>

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vvvmax/unitegallery/issues/95#issuecomment-237473167, or mute the thread https://github.com/notifications/unsubscribe-auth/AC_K_jA3eFk3rtB9OuMBLePzpJAYHDiDks5qcZKtgaJpZM4JWNjR .

criostap commented 8 years ago

HI, I have the same problem. Everything works fine, but it is necessary to add a link in the text above the picture in lightbox, how can I do it correctly? Thanks very much for your help.

vvvmax commented 8 years ago

HI. I don't have this option right now built in. you can try doing so, insert a link in the description, but I don't sure it will work on all the devices. There is built in option to insert link on the thumbnail, and it should work always.

On Thu, Sep 1, 2016 at 2:31 AM, criostap notifications@github.com wrote:

HI, I have the same problem. Everything works fine, but it is necessary to add a link in the text above the picture in lightbox, how can I do it correctly? Thanks very much for your help.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vvvmax/unitegallery/issues/95#issuecomment-243933811, or mute the thread https://github.com/notifications/unsubscribe-auth/AC_K_q9F67usvleQQsxgVbgkRZyAEsKsks5qlg7ogaJpZM4JWNjR .

jennifermkay99 commented 3 months ago

yukigfujujg