The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Reject large images
I know there are a lot of hacks to resize large images. I heard that this is stressfull for the server.
I was wondering if it's possible to reject large images. Example: The max size of an image on my board is 700px. If a user wants to link an image from another location that is 1000px it gives an error message. Is this possible and would this option be less stressfull for the server? |
#2
|
|||
|
|||
Anybody?
|
#3
|
||||
|
||||
There are some PHP.net functions to get the image size of an image - You could then just reject the image if it exceeds the dimensions you specify
http://uk.php.net/manual/en/function.getimagesize.php Satan |
#4
|
||||
|
||||
This sounds like it would be perfect for you https://vborg.vbsupport.ru/showthrea...messing+design
~curt |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|