![]() |
Restrict image size, Don't stretch tables!
Many attempts have been made at creating a hack like this and I've tried them all and none of them just resize the image onlyif if it's over a certain size.
I thought I'd use the getimagesize function to accomplish this. I don't want any images with a width of over 550 pixels showing in my postbits. Well, I want to show them, but I want them resized proportionately with a width of 550. Here's what I've done in functions.php and I'm getting a parse error: PHP Code:
|
Are you missing } right at the bottom to close the first if { ?
|
Do you realize how much you are going to slow your forum down if you call getimagesize on remote images? Not to mention the bandwidth involved in transferring images for every view of showthread.
|
id love to see this but i think overgrow has a great version of this working for them
|
All times are GMT. The time now is 09:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|