Support » Plugin: Related Post » Your plugin don’t download thumbnail from the post

  • Resolved matrixpoland

    (@matrixpoland)


    If we don’t have thumbnail set on specific post then your plugin don’t show anything but loading icon. Instead it can download first, last or random image from each post and show it as thumbnail resized to desired resolution

    Hope you implement this option

    • This topic was modified 3 months, 1 week ago by  matrixpoland.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author PickPlugins

    (@pickplugins)

    Can you please send me your post url where i can see the error.

    Regards

    https://swiadomosc-zwiazkow.pl/henryk-viii-despota-paranoik-seryjny-rozwodnik/

    Scroll down for “Wpisy powiązane”

    Options enabled now:

    Type: Grid
    Size: Post thumbnail

    Maybe this is problem with Fast Velocity Minify or Fastest Cache? I’m using few plugins

    • This reply was modified 3 months, 1 week ago by  matrixpoland.
    • This reply was modified 3 months, 1 week ago by  matrixpoland.
    Plugin Author PickPlugins

    (@pickplugins)

    Please check your post has featured image.

    you can set a custom image for default empty thumbnail,
    Please see the option under
    Style & Layout > Layout >
    https://imgur.com/QJIC3Pr

    I just checked the plugin correctly loaded featured image, and empty thumbnail.

    https://imgur.com/gfbTBIo
    Regards

    “Please check your post has featured image. ”

    I don’t have any featured images in my posts. That’s why i wrote about your plugin downloading first, last or random image from post to be thumbnail

    I don’t want to use default/static thumbnail

    • This reply was modified 3 months, 1 week ago by  matrixpoland.
    Plugin Author PickPlugins

    (@pickplugins)

    I understand the issue, but displaying thumbnail from post image isn’t available right now.

    Regards

    Will be added in nearest update? Because i don’t know if it is worth waiting and how much days

    Plugin Author PickPlugins

    (@pickplugins)

    I am not sure it will go with free version, some feature we keep with the only pro version. although pro version still not available.

    Regards

    Ok then we must say bye and delete your plugin.

    Thumbnails are basic option in most of the free related posts plugins.

    • This reply was modified 3 months, 1 week ago by  matrixpoland.
    Plugin Author PickPlugins

    (@pickplugins)

    The feature you are looking for isn’t ready yet. and we are not selling pro version of this plugin currently. I am not sure what should I say.

    Regards

    The feature you are looking for isn’t ready yet.

    But you may add it on new update (few days?).

    Maybe you can try this

      public static function post_first_image() {
    1296	     global $post;
    1297	     $first_img = '';
    1298	     if ($post == NULL)
    1299	       return false;
    1300	     else {
    1301	       $output = preg_match_all('/<img.*?src=[\'"](.*?)[\'"].*?>/i', $post->post_content, $matches);
    1302	       if (isset($matches[1][0])) {
    1303	         // Exclude base64 images; meta tags require full URLs
    1304	         if (strpos($matches[1][0], 'data:') === false) {
    1305	             $first_img = $matches[1][0];
    1306	         }
    1307	       } else {
    1308	         return false;
    1309	       }
    1310	       return $first_img;
    1311	     }
    1312	   }
    1313	   
Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.