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

Support for galleria.io

Open schilke opened this issue 11 years ago • 0 comments

While Galleria already plays good with WP galleries (there are also a few plugins like MarcTV Galleria, Fullscreen Galleria or Galleria for ex.) there's one major thing I can't get to work: Galleria supports 3 image sizes (thumbnail, image, full) and to make it run out of the box for a third size you only need to add a data-attr to the image like so

<a href="/img/medium.jpg"><img src="/img/thumb.jpg" data-big="/img/full.jpg" data-title="My title" data-description="My description"></a>

(Source: add a separate larger image for fullscreen using the data-big attribute) While I'm still having no success to get it working I know it shouldn't be too hard and I thought it would be worth to put a feature request as Galleria is a robust, popular and partly unique script and most probably worth to include.

Oh and yes: I'd be really thankful for any hint how to add the data-attr to the img tag the WordPress way -.-

schilke avatar Aug 19 '14 11:08 schilke