OK so I tried to find this problem in whole web but didn't got any solution. . basically. I have set in my Options > Media Settings :
Medium size : Max Width : 500px| Max height : 500px
When I upload images of different size to my media library it upload and creates 3 versions.
like if I upload :
roses.png of size 700px X 800 px
it creates
roses500x500.png
roses200x200.png
and the original : roses.png
I want to insert original image roses.png with size 500x500 px. .
means
<img class="aligncenter" src="http://somesite/wp-content/uploads/roses.png" width="500px" height="500px" />
but when I am inserting it in post with selection 500x 500 px
It is adding this :
<img class="aligncenter" src="http://somesite/wp-content/uploads/roses-500x500.png" width="500px" height="500px" />
Which is not the original image, but modified by wordpress image.
Any solutions?? I want that, when i insert image in wordpress post with size 500x500px. by clicking [Add Media]
It should give me output
<img class="aligncenter" src="http://somesite/wp-content/uploads/roses.png" width="500px" height="500px" />
. If there is any plugin or anything just let me know..