nanostudio-org / nanogallery2

a modern photo / video gallery and lightbox [JS library]
https://nanogallery2.nanostudio.org
754 stars 110 forks source link

Possible to add watermark/overlay on top of thumbnail? #298

Open PA-ThePhilosopher opened 3 years ago

PA-ThePhilosopher commented 3 years ago

Hello, I would like to add a "play" icon on top of all my movie thumbnails (see below). Is this possible with nanogallery, or do I need to manually create each thumbnail?

La alegria de ser Monja THUMB2

Thank you,

Davide

PA-ThePhilosopher commented 3 years ago

It looks like I might be able to get something close with the custom icon function (see below), and replacing the image with a play button image (maybe?). I just need to figure out how to add icons in HTML, as I do not see any examples (only javascript).

ice_screenshot_20201029-143303

Kris-B commented 3 years ago

Is this still relevant ?

ajmeese7 commented 1 year ago

@PA-ThePhilosopher worst case, if thumbnail support isn't added to the lib, you can add it via GitHub Actions when pushing to your repo. I use this one right now to generate my thumbnails, it shouldn't be too hard to cobble together a method of doing that at build time if you really want to.