coldtrick / image_enlarger
Allows images to be enlarged in content. Clicking them will open a lightbox with the image.
Fund package maintenance!
ColdTrick
www.paypal.me/ColdTrick
Installs: 2 220
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Language:JavaScript
Type:elgg-plugin
Conflicts
- elgg/elgg: <6.0
README
Allows images to be enlarged in content. Clicking them will open a lightbox with the image
How it works
All images in the content of a page will be checked if they can be enlarged in a lightbox.
The following conditions must apply:
- The image is not inside a link
- The image must have a
src
attribute
High resolution alternative
If you have a high resolution alternative of the image you wish to show in the lightbox, you can set a data attribute with the high resolution URL.
Set the URL in the attribute data-highres-url
on the img
tag.