Lytebox Attachment Mod
Posted: 30 Jul 2011, 23:05
Title: Lytebox Attachment Mod
Version: 1.0.0
Author: Stoker
Description: The Lytebox Attachment Mod for phpbb3 makes attached images open in a nice popup layer. Large images fits screen (resized) superfast with the lytebox script.
There is only 3 file edits per style and one folder to upload - very easy to install.
Demo: The script homepage, you can see how nice the images is viewed in a layer.
http://www.dolem.com/lytebox/
Attached file:
Install instructions
The same edits goes for all styles.
Open styles/your_style/template/overall_header.html
Find:
After add:
Find:
After add:
Open styles/your_style/template/attachment.html
Find:
Inline find:
Inline add:
Then it will look like this:
Version: 1.0.0
Author: Stoker
Description: The Lytebox Attachment Mod for phpbb3 makes attached images open in a nice popup layer. Large images fits screen (resized) superfast with the lytebox script.
There is only 3 file edits per style and one folder to upload - very easy to install.
Demo: The script homepage, you can see how nice the images is viewed in a layer.
http://www.dolem.com/lytebox/
Attached file:
Install instructions
The same edits goes for all styles.
Open styles/your_style/template/overall_header.html
Find:
Code: Select all
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
Code: Select all
<script type="text/javascript" language="javascript" src="{ROOT_PATH}lytebox/lytebox.js"></script>
Code: Select all
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
Code: Select all
<link rel="stylesheet" href="{ROOT_PATH}lytebox/lytebox.css" type="text/css" media="screen" />
Find:
Code: Select all
<!-- IF _file.S_THUMBNAIL -->
<a href="{_file.U_DOWNLOAD_LINK}">
Code: Select all
<a href="{_file.U_DOWNLOAD_LINK}"
Code: Select all
rel="lytebox"
Code: Select all
<a href="{_file.U_DOWNLOAD_LINK}" rel="lytebox">