How to display some information of featured image in post.
I need to display:
a. Image file size (in kb or MB)
b. Image type (.jpg,.gif...),
c. Bare image name, with and/or without image extension (some-image-file-name.jpg).
Also, if it possible it would be nice to show this too:
d. orientation of image (landscape, portrait)
Maybe it will be helpful if I say that I do not have any image in post content, only as featured image.
It would be great to have separate functions to display that info of "medium" and image in "full" size, or at least of "full" size.
Could you please give me some functions which I can put in my theme files to display that info of featured image?
I managed to show image title, caption and description of featured post image with:
But, how to show image alt ("Alt Text") of featured image?