OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
getimagesize for jpg files return empty (error) (0 viewing) 
Joomla Gallery Support
Go to bottom Favoured: 0
TOPIC: getimagesize for jpg files return empty (error)
admin (Admin)
Admin
Posts: 7848
graph
User Offline Click here to see the profile of this user
getimagesize for jpg files return empty (error) 5 Years ago
Karma: 96  
Soem images have EXIF header, and for so images getimagesize - return error.

You need replace

$info = getimagesize("path_to_image", $imageinfo);

to
$exif = exif_read_data("path_to_image", 0, true);

Regards
Andrew
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Go to top