Closed tonyAndr closed 7 years ago
Hi there!
When retrieving the thumbnails WPP expects the full URL -as you already noticed- because this is the standard behavior in WordPress. Yours is an edge-case so it's not really an issue caused by WPP.
With that being said, here are a couple of ideas to work around the issue:
UPDATE wp_posts SET post_content = replace(post_content, '<img src="/wp-content/uploads/', '<img src="http://www.your-domain.com/wp-content/uploads/');
Change http://www.your-domain.com
to your actual domain (and get a backup of your DB before trying this just in case something goes wrong / you change your mind.)Yeah... Anyways nice plugin, so probably I'll convert them. Thanks for the query.
When I'm trying to get fisrt image as a thumbnail in the side widget, I get placeholder instead.
The reason is that my html code looks like this:
<img src="/wp-content/uploads/YY/MM/img.jpg" />
I don't use full address of an img.Some posts have full src with domain like
<img src="http://site.com/wp-content/uploads/YY/MM/img.jpg" />
and thumbnails work fine with them.How can I fix this issue? Most of my posts don't have full address and I'm not gonna change them all manualy.