![]() |
restricting dimensions of linked images
Hi I want to restrict how big someone can link an avatar (I'm using a hack that lets you link off another website rather than upload)
however it places no restrictions on file size, is there any way to set up a thing that checks a file's size/dimension when it is put in a form? |
Hi,
the the PHP function getimagesize() you can get the dimentions of an image. Try this: PHP Code:
whizkid |
All times are GMT. The time now is 12:22 AM. |
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:
|