nanostudio-org / nanogallery2

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

Option to disable bottom thumbnails in lightbox? #396

Closed SandroRiz closed 1 year ago

SandroRiz commented 1 year ago

Is there an option to not have the thumbnail in the bottom of a single displayed image? Sometimes on the phone it hides too much of the photo, expecially if the pictures has interisting details i lower part.

Thanks Sandro Screenshot_20230515_100417_Chrome

AntSmith60 commented 1 year ago

I think viewerGallery: none does this as part of the data-nanogallery2-lightbox attribute within the HTML img tag for a single image lightbox, or within the data-nanogallery2 attribute of the containing div of a gallery...

So adding: data-nanogallery2="{"viewerGallery" : "none"}"

to your id="nanogallery2" div

I think will work..! (careful with the quotes though)

SandroRiz commented 1 year ago

Works perfect in the initialization... thanks a lot ` Githubissues.

  • Githubissues is a development platform for aggregating issues.