PHPackages                             ivopetkov/image-gallery-bearframework-addon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. ivopetkov/image-gallery-bearframework-addon

ActiveLibrary[Image &amp; Media](/categories/media)

ivopetkov/image-gallery-bearframework-addon
===========================================

Image gallery addon for Bear Framework

v2.11.1(4d ago)02.5k1MITPHPPHP 8.0.\*|8.1.\*|8.2.\*|8.3.\*|8.4.\*|8.5.\*

Since Apr 26Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/ivopetkov/image-gallery-bearframework-addon)[ Packagist](https://packagist.org/packages/ivopetkov/image-gallery-bearframework-addon)[ Docs](https://github.com/ivopetkov/image-gallery-bearframework-addon)[ RSS](/packages/ivopetkov-image-gallery-bearframework-addon/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (23)Versions (80)Used By (1)

Image Gallery
=============

[](#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](https://github.com/ivopetkov/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.

[![Build Status](https://camo.githubusercontent.com/ef91c0d5b6f1eac7e6b50f6bce1c99533efd4354599405f490dcfe7371fe8e4c/68747470733a2f2f7472617669732d63692e6f72672f69766f7065746b6f762f696d6167652d67616c6c6572792d626561726672616d65776f726b2d6164646f6e2e737667)](https://travis-ci.org/ivopetkov/image-gallery-bearframework-addon)[![Latest Stable Version](https://camo.githubusercontent.com/3b56585395055b8cc6c25f4e08b5e12a66fc88ca108f5c98aaca0ea2cb672692/68747470733a2f2f706f7365722e707567782e6f72672f69766f7065746b6f762f696d6167652d67616c6c6572792d626561726672616d65776f726b2d6164646f6e2f762f737461626c65)](https://packagist.org/packages/ivopetkov/image-gallery-bearframework-addon)[![codecov.io](https://camo.githubusercontent.com/3790a86179c4e015fae0d89c4cba810482ed1b6c067be002dacfe09c23f22895/68747470733a2f2f636f6465636f762e696f2f6769746875622f69766f7065746b6f762f696d6167652d67616c6c6572792d626561726672616d65776f726b2d6164646f6e2f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/ivopetkov/image-gallery-bearframework-addon?branch=master)[![License](https://camo.githubusercontent.com/5a89942a72d25fd509b7dfbf81ec2aaaa0200ab71498d0b98eedbe6a6dd75f42/68747470733a2f2f706f7365722e707567782e6f72672f69766f7065746b6f762f696d6167652d67616c6c6572792d626561726672616d65776f726b2d6164646f6e2f6c6963656e7365)](https://packagist.org/packages/ivopetkov/image-gallery-bearframework-addon)[![Codacy Badge](https://camo.githubusercontent.com/9ce8b0dd0ebde40e18fd30325dd3206e721647b3ad5281db43cf1a90245563d7/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3266353832353737373965643435366261376634643961323636376334653336)](https://www.codacy.com/app/ivo_2/image-gallery-bearframework-addon)

Download and install
--------------------

[](#download-and-install)

**Install via Composer**

```
composer require ivopetkov/image-gallery-bearframework-addon
```

**Download an archive**

Download the [latest release](https://github.com/ivopetkov/image-gallery-bearframework-addon/releases) from the [GitHub page](https://github.com/ivopetkov/image-gallery-bearframework-addon) and include the autoload file.

```
include '/path/to/the/addon/autoload.php';
```

Enable the addon
----------------

[](#enable-the-addon)

Enable the addon for your Bear Framework application.

```
$app->addons->add('ivopetkov/image-gallery-bearframework-addon');
```

Usage
-----

[](#usage)

```

```

### Attributes

[](#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

[](#examples)

3 columns of square images that will be opened in fullscreen when clicked

```

```

License
-------

[](#license)

Lazy image addon for Bear Framework is open-sourced software. It's free to use under the MIT license. See the [license file](https://github.com/ivopetkov/image-gallery-bearframework-addon/blob/master/LICENSE) for more information.

Author
------

[](#author)

This addon is created by Ivo Petkov. Feel free to contact me at [@IvoPetkovCom](https://twitter.com/IvoPetkovCom) or [ivopetkov.com](https://ivopetkov.com).

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance84

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity96

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~93 days

Total

79

Last Release

4d ago

Major Versions

v0.1.17 → v1.0.02021-01-02

v1.13.0 → v2.0.02022-12-22

PHP version history (7 changes)v0.0.1PHP &gt;=5.5.0

v0.1.0-beta.2PHP &gt;=7.1.0

v1.0.1PHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.0.\*

v1.7.0PHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.0.\*|8.1.\*

v2.3.0PHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.0.\*|8.1.\*|8.2.\*|8.3.\*

v2.8.0PHP 8.0.\*|8.1.\*|8.2.\*|8.3.\*|8.4.\*

v2.10.0PHP 8.0.\*|8.1.\*|8.2.\*|8.3.\*|8.4.\*|8.5.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/c06ddc5a1d8a94abf93b332db93ae6d03cbe97c1f2a4acf18450c7fbb25a4316?d=identicon)[ivopetkov](/maintainers/ivopetkov)

---

Top Contributors

[![ivopetkov](https://avatars.githubusercontent.com/u/13205385?v=4)](https://github.com/ivopetkov "ivopetkov (116 commits)")

---

Tags

galleryBear Framework addonresponsive image

### Embed Badge

![Health badge](/badges/ivopetkov-image-gallery-bearframework-addon/health.svg)

```
[![Health](https://phpackages.com/badges/ivopetkov-image-gallery-bearframework-addon/health.svg)](https://phpackages.com/packages/ivopetkov-image-gallery-bearframework-addon)
```

###  Alternatives

[classic-o/nova-media-library

Tool and field that will let you managing files and add them to the posts

154177.4k](/packages/classic-o-nova-media-library)[nicolafranchini/venobox

Responsive JavaScript modal window plugin, touch swipe gallery

7117.1k](/packages/nicolafranchini-venobox)[jolicode/media-bundle

A media management bundle for Symfony applications, with Easyadmin and SonataAdmin integrations.

11210.3k](/packages/jolicode-media-bundle)[webplusm/gallery-json-media

a filament media storing in a Json field

196.7k](/packages/webplusm-gallery-json-media)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
