Download the PHP package ivopetkov/image-gallery-bearframework-addon without Composer
On this page you can find all versions of the php package ivopetkov/image-gallery-bearframework-addon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ivopetkov/image-gallery-bearframework-addon
More information about ivopetkov/image-gallery-bearframework-addon
Files in ivopetkov/image-gallery-bearframework-addon
Package image-gallery-bearframework-addon
Short Description Image gallery addon for Bear Framework
License MIT
Homepage https://github.com/ivopetkov/image-gallery-bearframework-addon
Informations about the package image-gallery-bearframework-addon
Image Gallery
Addon for Bear Framework
This addon enables you to easily create lazy-loaded image galleries that are SEO friendly. It's based on the popular library Responsively Lazy. Multiple versions with different sizes are created on the fly for each image and only the best ones are loaded. This saves bandwidth and loads the website faster.
Download and install
Install via Composer
Download an archive
Download the latest release from the GitHub page and include the autoload file.
Enable the addon
Enable the addon for your Bear Framework application.
Usage
Attributes
onclick
Defines the behaviour on image click. Available values: fullscreen, url, custom, none
image-aspect-ratio
The proportional relationship between the width and the height of every image. It is useful for cropping and resizing the images. Example values: 1:1, 1:2, 1.5:1, etc.
columns-count
The number of columns that will be filled with the images
imageSize
The size of the images, if columnsCount is not specified. Available values: tiny, small, medium, large, huge
image-loading-background
The type of background shown while the image is loading. Available values: none and checkered.
spacing
The spacing between the images. Example values: 10px, 1rem, etc.
class
HTML class attribute value
Examples
3 columns of square images that will be opened in fullscreen when clicked
License
Lazy image addon for Bear Framework is open-sourced software. It's free to use under the MIT license. See the license file for more information.
Author
This addon is created by Ivo Petkov. Feel free to contact me at @IvoPetkovCom or ivopetkov.com.
All versions of image-gallery-bearframework-addon with dependencies
bearframework/bearframework Version 1.*
ivopetkov/html-server-components-bearframework-addon Version 1.*
ivopetkov/lazy-image-bearframework-addon Version 2.*
ivopetkov/js-lightbox-bearframework-addon Version 1.*
ivopetkov/touch-events-js-bearframework-addon Version 1.*
ivopetkov/html5-dom-document-php Version 2.*
ivopetkov/server-requests-bearframework-addon Version 1.*
ivopetkov/encryption-bearframework-addon Version 1.*
ivopetkov/client-packages-bearframework-addon Version 1.*
ivopetkov/html5-dom-document-js-bearframework-addon Version 1.*
ivopetkov/responsive-attributes-bearframework-addon Version 1.*