PHP function to verify if a given URL is a valid Image/size

We require a simple function to verify that a given URL is a valid image and also that it checks for a valid image size.

A regular expression check is useless as it cannot verify that it is an actual image.

HEAD method check should be done.

Also, it should check for sizes and not exceed 600x400 px.

Simple return:

TRUE: valid image and valid size.

FALSE: not valid image or not valid size.

ATTENTION: Function MUST be provided in less than 10 hours of project winning.

Skills: PHP

See more: php regular expression valid image size, verify given url, php verify image size, regular expression no, regular expression in c, regular expression function, regular expression c, regular expression a, regular expression 0, php verify, php function for, verify, url, php function , function, size function, simple function, php attention, attention php, function check php, php expression, provided url, url check, given, image verify

About the Employer:
( 82 reviews ) Palmetto Bay, Uruguay

Project ID: #1120287

Awarded to:


Can provide it within an hour. Ready to start.

$49 USD in 0 days
(130 Reviews)

6 freelancers are bidding on average $40 for this job


I can do this easily. I'm expert. Please contact if interested.

$45 USD in 0 days
(120 Reviews)

i am ready to do... that

$50 USD in 1 day
(29 Reviews)

Hello, view PMB

$35 USD in 0 days
(12 Reviews)

I can do it now with my team.

$30 USD in 0 days
(0 Reviews)

Hello! I can start immediately. I am a professional PHP-developer.

$30 USD in 0 days
(0 Reviews)