Jump to content


Photo

PHP and images


  • Please log in to reply
1 reply to this topic

#1 Kasuke_Akira

Kasuke_Akira
  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 19 May 2006 - 01:15 PM

Is there any way to analyze an image coming from another website?

Example: Say someone is using an image as a signature in a forum. Is there anyway to analyze that image for width/height, etc, so as to be able to keep people from using images that are too big in width and height so as to not ruin the site layout?

I'm assuming this is probably not going to be possible, but I thought I'd ask since I'm not extremely fluent in PHP.

Thanks.

One must not shed tears. That is the defeat of the body by the heart.
Because this thing called "the heart" can become nothing less than
proof that one's existence is superfluous.

#2 gijs25

gijs25
  • Members
  • Pip
  • Newbie
  • 9 posts
  • LocationNetherlands

Posted 19 May 2006 - 01:35 PM

[a href=\"http://nl2.php.net/manual/en/function.getimagesize.php\" target=\"_blank\"]http://nl2.php.net/manual/en/function.getimagesize.php[/a]







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users