coldtrick/image_enlarger 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

coldtrick/image_enlarger

最新稳定版本:v5.1

Composer 安装命令:

composer require coldtrick/image_enlarger

包简介

Allows images to be enlarged in content. Clicking them will open a lightbox with the image.

README 文档

README

Elgg 6.0 Lint Checks Latest Stable Version License

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.

统计信息

  • 总下载量: 2.5k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2017-05-11