Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Расширения / Файлы и медиа / Thumbnailviewer

Plug for automated setup thumbnailviewer script

This is a simple Plug for automated setup thumbnailviewer script

Setup the standard: unpack to plugins folder; in the admin panel install the plugin. This is all! Enjoy

UPD 2010-06-23
Plugin was updated by Alex300. Now with HTML-parsing, (example if you use ckeditor, etc) you don't need to add attribute "rel" to <a> tags any more. The plugin do it automatically using jQuery.


1. pvf1984  10.04.2009 20:32

Thanks: 0

ghjklghljk
2. Boss  20.06.2009 15:37

Thanks: 0

Может пример рабочий есть?
3. urlkiller  13.05.2010 16:15

Thanks: 0

if you want iamges to be resized change

line 55 thumbnailvieer.js

into this
[code=javascript]var imageHTML='<img src="'+link.getAttribute("href")+'" style="max-height:'+(window.innerHeight-100)+'px; max-width:'+(window.innerWidth-100)+'px; '+this.opacitystring+'" />' //Construct HTML for shown image[/code]

Всего: 3, на странице: 3

Добавление комментариев доступно только зарегистрированным пользователям