Page 1 of 1

[LOL-MOD] Lame way to not stretch the page

PostPosted: Sat Apr 09, 2011 5:49 pm
by Seifer
As mentioned in the forum, I am not a programmer so I have presented is not a good way but it works and can be used until the next update of this script repairing this ugliness.

Open ./styles/Indigo/image_viewer.php and change
Code: Select all
<img src="./<?php echo $path .$id;?>">

to
Code: Select all
<a href="./<?php echo $path .$id;?>"><img src="./<?php echo $path .$id;?>" style="max-width: 200px;"></a>

You can change the max-width: 200px on what you like...


I think the effect is more aesthetic than the current.

Regards,
Seifer

Re: [LOL-MOD] Lame way to not stretch the page

PostPosted: Sat Apr 09, 2011 7:30 pm
by psphacker
Thz =]

Re: [LOL-MOD] Lame way to not stretch the page

PostPosted: Mon Jan 26, 2015 12:17 pm
by robert000
on Admin panel I tested it only makes offline then I'll sit on the days ran again

Re: [LOL-MOD] Lame way to not stretch the page

PostPosted: Tue Jan 27, 2015 2:25 am
by SamEA
Why are you testing this on the AdminCP. This mod applies to. /styles/Indigo/image_viewer.php.