Hi,
Thanks for the info. I will have a look at that function.
Thinking further about this, I’ve realised that I will need to show only preview images in the website while storing the full resolution images somewhere like an Amazon S3 bucket. Therefore the file size and resolution of the preview in the WordPress media library would not be relevant to the end user.
So taking that a step further I’ve used Advanced Custom Forms to create some additional meta (manually added) relating to the original, full resolution version of the file stored in S3, and then edited the product template page to display those fields.
So in summary, I’ve realised over the past few days that I don’t need to extract that information from the (preview size) image uploaded to WordPress, either via your plugin or otherwise.
Nevertheless, thank you again for the plugin and for getting back to me ??
Cheers,
Steve.