Error Class="td-post-featured-image" with width="1" and height="1"

Posted in: Newspaper
Post count: 12

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

Post count: 35449

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!

Post count: 12

Hi! I have deactivated all the plugins, saved the permalinks and deactivated any CDN. I’m getting something like this:

name of alt text correctly shown

Image width, height and src are empty.

Best regards

Post count: 12

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!

Post count: 35449

Hi,
Please provide a link to your website to see what can be the problem, in this way I will be able to make further suggestions.
Thank you!

Post count: 12
Post count: 35449

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!

Post count: 12

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.

Post count: 12

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.

Post count: 35449

Hi, I’m glad that you manage the situation, if you have any questions, let me know!
Have a nice day!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.