I just checked Regenerate Thumbnails plugin and it generates the same file with the wrong dimensions in the meta data.
What is happening? I am asking you because I believe you have more experience with the subject =).
Hi there,
The generating (and meta updating) process is made by WordPress. These kind of plugins basically triggers some WordPress functions to “force update”. I’ll check this issue in the next few hour.
Okey, a related update coming next week 😉
After the 1.3 update the following image meta was generated by WordPress:
http://onetdev.com/projects/onet_regen_thumbs/debuginfo.png
The file dimensions are the same from me in the filenames, database meta and the file. If you still have the issue we should arrange a real time chat so I can create a patch for that.
I found out that when using $content_width in a theme the wp_get_attachment_src can return invalid meta data. Actually the meta data is good for the theme width, but it does not reflect the correct image sizes.
Therefor I suggest to use wp_get_attachment_metadata. Which returns the meta data as saved in the wordpress database without any filters applied.
Thank you for your efforts. I hope the above will help your plugin (if you didnt incorporate it yourself yet (didnt check source)).