Quote:
Originally Posted by Barakat
this is the same hack with a small changes....
to resize the picture to a small view and after pressing on it it will open in its original size >
u can increase or decrease the size pic code
PHP Code:
if($NLP[0] > 500)
make it 800 or 400 and it will work perfect .
and about the picture u can do like it and write inside it
press here to view the picture in its original size or what ever u want to wirte inside it <>
you will save you style in a nice way
|
Interesting, i was going to ask how to make the image open in a smaller size. I need to know, exactly where does this little piece of code go?
PHP Code:
if($NLP[0] > 500)
Which template and where? Also, i need to know if you are referring to resizing the image, not the thumbnail?
For instance: My thumbnails are set at 100x100, this is just how i want them, but when i click the thumb, the hack works perfectly, but the image is showing in its original size of 1024x740. I want the image to show as 624x340 and then have an option inside there to view original size. Is this what your code change does? Please inform, and if not, how can i make it do the way i want? Thank you for your help.
Ntfu2, this is indeed the best hack thus far i have seen. I will be voting for it. Thank you -
Lady Divus