What I need is some function to echo file name of image used in post like "image-file-name.jpg", or just "image-file-name".
Also it would be great to be able to have even more information about image like:
- image width,
- image height,
- image mime type / format,
- image file size,
- image extension.
Also this may be helpful, I have custom field named 'image_full_url' which contains full url address of image used in post. For example content of custom field named 'image_full_url' is:
http://www.example.com/wp-content/uploads/2012/12/image-file-name.jpg
I am using that custom field to echo that URL when I need it, and it would be nice to have something similar to echo other data about image.