Danny.Domb
👽 Chevereto Freak
When you are on the viewer, when you click on the picture it loads it in a new page, instead, why not have a nice lightbox?
Demo:
First download and extract to the root of your chevereto website:
http://www.mediafire.com/?8k88prq1uhzw756
open INDEX.PHP
find
REPLACE WITH
find
add AFTER
find:
REPLACE WITH
Demo:

First download and extract to the root of your chevereto website:
http://www.mediafire.com/?8k88prq1uhzw756
open INDEX.PHP
find
Code:
<script type="text/javascript">google.load("jquery", "1");</script>
REPLACE WITH
Code:
<script type="text/javascript">google.load("jquery", "1.6.1");</script>
find
Code:
<script type="text/javascript" src="<?php echo PATH_SCRIPT;?>js/jquery_support.js"></script>
add AFTER
Code:
<script type="text/javascript" src="js/slimbox2.js"></script>
<link rel="stylesheet" href="css/slimbox2.css" type="text/css" media="screen" />
find:
Code:
<div id="imagen"><a href="<?php echo PATH_SCRIPT.DIR_IM.$folhost.$name?>"><img src="<?php echo PATH_SCRIPT.DIR_IM.$folhost.$name?>" alt="" <?php if ($ancho>=900) { echo 'width="900" '; } ?>/></a></div>
REPLACE WITH
Code:
<div id="imagen"><a rel="lightbox" href="<?php echo PATH_SCRIPT.DIR_IM.$folhost.$name?>"><img src="<?php echo PATH_SCRIPT.DIR_IM.$folhost.$name?>" alt="" <?php if ($ancho>=900) { echo 'width="900" '; } ?>/></a></div>