Menu
I’ve looked through the manual and see no easy solution, most of the tutorials pertain to a file/image being uploaded. What is the easiest way I can display image info. I have thumbnails on one page and want all the image info underneath it.
$file = location/file.jpg
echo $mime // in format like JPG, GIF, BMP, etc
echo $size // In 123KB or 2.5MB format
echo $dimension_width // In pixel ratio 1234pixels
echo $dimension_height // In pixel ration 1234pixels
Can anyone help?