vue-gallery icon indicating copy to clipboard operation
vue-gallery copied to clipboard

support for caption ?

Open vesper8 opened this issue 4 years ago β€’ 6 comments

Hi there, love your plugin and am using it in multiple projects. Many other gallery plugins have support for adding some content below the image when browsing in gallery mode.. such as caption or anything really.. html links.. etc

Is there any way to accomplish this with your gallery plugin currently?

vesper8 avatar May 01 '20 15:05 vesper8

I see that it's possible to set a title and description.. now I just need to be able to insert html in the title and/or description so I can have it be clickable. It would have been nice to be able to position it centered below the image instead of the top left corner.. I suppose this maybe can be fixed with css alone.

This PR https://github.com/RobinCK/vue-gallery/pull/116 appears that it would allow for the use of html inside the title and/or text.. this is just what I would need.. any chance you could merge or implement it please?

Thank you

vesper8 avatar May 01 '20 15:05 vesper8

hi vesper8, all, fwiw: https://codesandbox.io/s/vue-blueimp-gallery-y8b77

calaoa avatar Jul 07 '20 08:07 calaoa

@calaoa thanks for the demo, so just to be clear.. in order to get this to work you have to use vue-blueimp-gallery instead of using this library here (vue-gallery) ?

vesper8 avatar Jul 07 '20 09:07 vesper8

@vesper8, indeed it's a distinct package, with the goal to also add other interactive features to the gallery, any feedback or requirement welcome.

calaoa avatar Jul 07 '20 09:07 calaoa

@calaoa nice of you to make it. A shame that @RobinCK couldn't merge your PR.. it's hard to get recognition as a new package with no stars, but this is a must-have feature for me so I will certainly consider switching over to your newly released library and if it does everything vue-gallery does and more than great! it's just what I need! Thanks for taking the initiative on this and reporting back here

vesper8 avatar Jul 07 '20 10:07 vesper8

Thank you @vesper8 and thumbs up to @RobinCK for paving the way. Blueimp gallery shines in its area, so having one or several Vue implementations of it is a must have! Let's see how it goes.

calaoa avatar Jul 07 '20 15:07 calaoa