When I insert a “Large” image from the media gallery, the width and height tags are right (set to 700), but the actual img src has the larger 1024 size instead of 700.
It comes out like:
img src=”xxx-1024×467.jpg” alt=”image” width=”700″ height=”319″
while it should have been:
img src=”xxx-700×319.jpg” alt=”image” width=”700″ height=”319″
When I pick the thumbnail or medium sizes the img src is correct i.e. xxxx-300×300.jpg.
Any idea?
Also, sometimes the width and height numbers are not the same as the actual resized image.
For instance I just uploaded an image of 1200×747, and when inserting the large image width and height tags were 700 and 435, while the actual resized image was -700×436, so there’s a problem with rounding off I guess…
Hi,
We will have a look into this, I’ll add this on our todo list for further testing.
For the source image issue please make sure that you regenerate thumbnail then empty all caches, purge files if you use cdn host then check again: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
Thanks
Hi,
This image/thumb source: http://screencast.com/t/QXXmSalERTT ..is actually the large image/thumb which you set from WordPress media settings: http://screencast.com/t/ZgNVOTffQO so when you add a “large” image thumb the image called on your post will be the thumb you have set as “large” in the media settings but because the theme’s width post content is 700px the width attributes generated for the image tag is 700px so gathering all this you will end up with the result from your case.
To set this right you need to set the large image thumbnail size form WordPress media settings to 700px then regenerate thumbnails to create the 700px width thumbnails which will be used on posts: http://screencast.com/t/gcJxko6F
Thanks
