Back to vBulletin 3.5 Styles

vietlyso skin
Mod Version: 1.00, by chanthuyen

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 3
Released: 11 May 2006 Last Update: 13 May 2006 Downloads: 7
Not Supported Code Changes  

demo here

http://www.vietlyso.com/forums

After import xml file

Open include/class_bbcode.php

a. Search for :
PHP Code:
    return '<img src="' .  $link '" border="0" alt="" />'
b. Replace with this :
PHP Code:
$kichthuoc    getimagesize($link);
    if (
$kichthuoc[0]>800)
    {
    return 
'<a class="thumbnail" href="' .  $link '" target="_blank"><img src="' $link '" width="794" style="border: 1px dashed #993333;padding: 2px">
        <span>Image with real size. Click on the image to open in new window...<br /><img src="' 
.  $link '"/></a></span>';
    }
    else 
    {
        return 
'<img src="' .  $link '" border="0" alt="" />';
    } 
c. You can change max-with by what you like (default is : 800).

If you like this mod, you can download the imageresize mod.zip file. ( Work fine in ie,ff and opera)

Download

This modification is archived and cannot be downloaded.

Similar Mods

Vietlyso.com skins pack. vBulletin 3.6 Styles

vblts.ru supports vBulletin®, 2022-2024