dimsemenov / PhotoSwipe

JavaScript image gallery for mobile and desktop, modular, framework independent
http://photoswipe.com
MIT License
24.25k stars 3.31k forks source link

Thumbnail captions in PhotoSwipe #1542

Open artfarmer opened 6 years ago

artfarmer commented 6 years ago

desperately looking for a way to (generally) display captions next to PhotoSwipe thumbnails! Wasted already so much time, but didn't find any solution. Newbie (using Drupal, not a coder, only web developer)

Maybe I have just overlooked something?

It would be even better if I could use a text field with formattings... not just Alt or Title. That is how it should work:

photoswipe-issues

Or, differently asked: I don't know any php/jquery coders... where could I find someone who can help me (paid)?

acwolff commented 6 years ago

You could use my jAlbum PhotoSwipe skin, see this test album with thumbnails captions.

artfarmer commented 6 years ago

Thanks, André, I was checking your site and it looks like what I need, but there's no integration into the Drupal CMS except via iFrames.

There must be a workaround, possibly by adding some code into the JS, but I am not able to do this myself.

Can I open PhotoSwipe with a simple link? (no thumbnail page/overview)

acwolff commented 6 years ago

Yes, by setting check-mark ‘Open first Slide automatically’, the thumbnail page is skipped, see here for an example: https://andrewolff.jalbum.net/Vecht_Stegeren_PS_Carousel/

artfarmer commented 6 years ago

Thanks, but is this not only possible in the JAlbum environment? I think I cannot just replace the original PhotoSwipe default skin with your skin in the initial photoswipe library under dist/default-skin (which is made for JAlbum), right? (I'll use it within the Drupal 7 CMS)

acwolff commented 6 years ago

I have no experience with Drupal, but jAlbum is only a program to generate the album code, the final result has no link with a ‘jAlbum environment’.

artfarmer commented 6 years ago

I am using Drupal, and for some reason captions additionally (to Alt & Title) assigned to image fields are not shown. As I have seen during my research it's the same problem everywhere, this 'feature' seems not to be deactivated, it's simply not part of the code/not possible... am I right?