MOD Name: Auto Image Resizer
MOD Version: 1.3.0 Beta
Author: darkera13
MOD Description: This mod fix the bug of
Change log:
2007-07-05 - Version 1.0.1
Code: Select all
* Add lang variable to common.php
* Change file: styles/*/templates/over_header.html
* Change file: styles/*/templates/imageResize.js
Code: Select all
* Optimize script auto image resize(reduce size) and combine with Lytebox. Seperate language variable.
* And the error of method "onload" call on tag "img" solved when you check your site by W3C validate tool.
Code: Select all
* Updated Lytebox library from 3.1.0 to 3.2.0.
Code: Select all
* Updated Lytebox library from 3.2.0 to 3.2.2.
* Add ACP control
PROSILVER
OPEN
Code: Select all
styles/prosilver/template/attachment.html
Code: Select all
<dt><a href="{_file.U_DOWNLOAD_LINK}">
Code: Select all
<dt><a href="{_file.U_DOWNLOAD_LINK}" rel="lytebox">
Code: Select all
<dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>
Code: Select all
<dt><a href="{_file.U_INLINE_LINK}" rel="lytebox" class="image-resize"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" /></a></dt>
OPEN
Code: Select all
styles/subsilver2/template/attachment.html
Code: Select all
<!-- IF _file.S_THUMBNAIL -->
<a href="{_file.U_DOWNLOAD_LINK}">
Code: Select all
<!-- IF _file.S_THUMBNAIL -->
<a href="{_file.U_DOWNLOAD_LINK}" rel="lytebox">
Code: Select all
<!-- IF _file.S_IMAGE -->
<img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" />
Code: Select all
<!-- IF _file.S_IMAGE -->
<a href="{_file.U_INLINE_LINK}" rel="lytebox" class="image-resize"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" /></a>
LYTEBOX BBCODE :
Group Images :
Code: Select all
[glytebox={TEXT2}]{TEXT1}[/glytebox]
Code: Select all
<a href="{TEXT1}" rel="lytebox[{TEXT2}]" title="" class="image-resize"><img src="{TEXT1}" alt=""
/></a>
{TEXT1} is link to image
Slide Show Images:
Code: Select all
[slytebox={TEXT2}]{TEXT1}[/slytebox]
Code: Select all
<a href="{TEXT1}" rel="lyteshow[{TEXT2}]" title="" class="image-resize"><img src="{TEXT1}" alt="" /></a>
{TEXT1} is link to image
Frame:
Code: Select all
[flytebox={TEXT2}]{TEXT1}[/flytebox]
Code: Select all
<a href="{TEXT2}" rel="lyteframe" title="{TEXT2}" rev="width: 700px; height: 500px; scrolling: yes;">{TEXT1}</a>
{TEXT1} is title
Frame Group:
Code: Select all
[fglytebox={TEXT3},{TEXT1}]{TEXT2}[/fglytebox]
Code: Select all
<a href="{TEXT3}" rel="lyteframe[{TEXT2}]" title="{TEXT3}" rev="width: 700px; height: 500px; scrolling: yes;">{TEXT1}</a>
{TEXT2} is group name
{TEXT1} is title