Doesn’t show thumb of page?
-
Hello i have pages with images, but when using this plugin, it doesn’t show the thumbnail.
https://prntscr.com/i9jru7
Check picture. Says, no thumbnail…
But all my pages have code with image.
https://prntscr.com/i9jsel
Check.
-
I’ve saw the option “Take the first image”, but it’s getting the wrong one… I’ve tryed the other plugin for popular post, which takes the right, but the options are poor, so i want this, but…
Hi @qnkov,
Please share your site’s URL so I can take a look.
https://otaku.bg/
here test acc, cuz i’ve forbiden view without register and u won’t be able to help me otherwise.
[ redacted ]I’ve used the plugin “Top 10 posts”, which detect my image and shows it, but i don’t really like it. I couldn’t make your plugin work for me.
-
This reply was modified 7 years, 1 month ago by
Jan Dembowski.
Please, for security reasons refrain from sharing access details over here. I’m asking a moderator to remove it for you.
Also, cannot help you if you’re not using the plugin as I won’t be able to check what’s going on.
@qnkov I’ve removed the account information. As Héctor has correctly indicated, that’s going too far. The author could get into real trouble here taking you up on that offer.
There are many ways to get information you need and accessing the user’s site is not one of them. That’s going too far.
- Ask for a link to the https://pastebin.com/ log of the user’s web server error log.
- Ask the user to create and post a link to their
phpinfo();
output. - Ask the user to install the Health Check plugin and get the data that way.
- Walk the user through enabling WP_DEBUG and how to log that output to a file and how to share that file.
- Walk the user through basic troubleshooting steps such and disabling all other plugins, clear their cache and cookies and try again.
- Ask the user for the step-by-step on how they can reproduce the problem.
You get the idea.
Volunteer support is not easy. But these forums need to a safe place for all users, experienced or new. Anyone accessing their system that way is a short cut that isn’t appropriate here.
-
This reply was modified 7 years ago by
Jan Dembowski.
I doesn’t really get why there is problem sharing my test acc in my site, so i can get better help, but if that’s a problem, ok.
I have active the plugin. Set 1 page to show, check right-bottom.Hey @qnkov,
Thanks for replying back.
Could you please share a screenshot of the settings you’re using with the widget? Also:
- Go to Settings > WordPress Popular Posts.
- Append &tab=debug to the URL in the address bar of your browser.
- Share the info displayed on the Debug screen here.
Hello. You can check the picture:
Hey @qnkov!
You forgot to share the settings you’re using with the widget. Please share whenever you have the time.
Sorry. Here are the pics. Even if i use First image on post, it doesn’t takes the right one, cuz the first link with image isn’t the poster of the page.
For example you can check my page’s code. Like i’ve mention before, the other plugin “top 10 popular posts”, doesn’t have problem showing my thumbnail.<span class="su-frame-inner su-frame-align-left su-frame-style-default"><span class="su-frame-inner"><a href="https://otaku.bg/?page_id=67&playid=244" onmouseover="this.getElementsByTagName('img')[0].style.display='block';" onmouseout="this.getElementsByTagName('img')[0].style.display='none';"><img style="display: none; margin-top: 156px; margin-left: 101px; position: absolute; opacity: 0.8;" src="https://otaku.bg/forumpic/playicon.png" alt="" /><img class="alignnone size-full" src="https://otaku.bg/forumpic2/hotarubi.jpg" alt="" width="300" height="410" /></a></span></span>
https://prntscr.com/ibkdv8
https://prntscr.com/ibkchx
https://prntscr.com/ibkcnm
https://prntscr.com/ibkdab
https://prntscr.com/ibkdhqThank you, @qnkov. That helps a lot.
Now, this is what’s going on: when you tell WPP to get the thumbnail from the “Featured Image” it’ll try to find the featured image you set for your pages via the Featured Image functionality.
From your code, it appears that you’re inserting the image directly into the text editor instead of using the featured image functionality. Hence, WPP finds that there’s no featured image assigned to your page and shows the default thumbnail instead.
Now, imagine that you configure WPP to get the thumbnail from the first image found in post content (the “first image on post” option), WPP will then retrieve all images found in post content and use the first one. In your case, the first image WPP will find would be:
<img style="display: none; margin-top: 156px; margin-left: 101px; position: absolute; opacity: 0.8;" src="https://otaku.bg/forumpic/playicon.png" alt="" />
Yes. The Play icon image.
—
There are two ways to solve this:
- You leave the plugin configured as you have it now, and then set a featured image for each of your pages; or,
- You configure WPP to retrieve the thumbnail by using the first image found on post content (“first image on post” option), but then you’ll have to change your code to add the Play icon overlay via CSS (example) and not as an IMG tag as you’re doing now. This of course would require editing all of your pages, which I suppose is a lot of work since it seems you have a lot of pages published already.
The third option is to use another popular posts plugin, but I honestly recommend either option 1 or 2 instead as WordPress Popular Posts is a nice plugin and I’m sure you will like it a lot once you learn how to use it (plus if you need help again you know you can ask for help here).
Thanks for the help mate. I really like the plugin and i have consider editing the pages, but they are really alot. Seriously. I don’t know how the other plugin, similiar to yours, finds the right image.
-
This reply was modified 7 years, 1 month ago by
- The topic ‘Doesn’t show thumb of page?’ is closed to new replies.