Possible Duplicate:
php get all the images from url which width and height >=200 more quicker
I am writing a PHP script to fetch images from URL. But I only want to display images if they are above a certain size/ or [length/width]. I tried getimagesize()
, but it is very slow, especially with multiple images.
I read about using cURL. But not sure, how to get the file size or dimensions of images, when the input is a url string. I read these and more.
http://forums.phpfreaks.com/topic/232507-faster-solution-to-check-image/
Output external image with cURL, but how do you change the width of the image?
Get image dimensions with Curl
Would appreciate help, to get image size/ dimensions.