Hi everybody,
after a website migration, td-post-featured-image class in the new posts has width and height equal to 1. So, the featured image is not correctly shown.
How can I correct this error?
Best regards
Hi,
Most of the time when the featured image has the width=”1″ and height=”1″ is from a plugin, usually some plugins for cache, image compress.
Please make a test, disable all non theme plugins, re-save the permalinks and make sure that you do not have any cache or CDN.
If there is still a problem, please provide a link to your website.
Let me know the results!
Hi! I have deactivated all the plugins, saved the permalinks and deactivated any CDN. I’m getting something like this:
Image width, height and src are empty.
Best regards
Here is the code
img width=”” height=”” class=”entry-thumb” src=”” alt=”alt name ok” title=”title name ok”
ps. I posted the message in the wrong section. I’m currently using Newspaper. If you can move it to the appropriate section would be great.
Best!
-
This reply was modified 5 years by
albertomarini.
-
This reply was modified 5 years by
albertomarini.
-
This reply was modified 5 years by
albertomarini.
Here is the link: https://opinionitech.com/2020/11/09/mediaworld-anticipa-black-friday-2020-offerte/
Best!
Hi,
I just checked your website and that extra inline html is add by a plugin, please disable all plugins except tagDiv plugin, also disable the cdn, make sure that all cache is clear and the featured image should be display. After that you need to enable the plugins one by one to find the one that is setting this inline html.
Let me know the results!
Thank you!
Hi! I have tried your solution. Right now the website is without any plugin but the problem is still there. Older posts don’t show the same problem.
Hi! I have found out which was the plugin. In the meanwhile, I have to re-upload all the corrupted images.
Thank you so much.
-
This reply was modified 5 years by
albertomarini.