Support » Plugin: Top 10 - Popular posts plugin for WordPress » After update plugin can’t put the right thumb size!

  • Resolved akhbarelyaom

    (@akhbarelyaom)


    Hi,

    i updated tptn plugin to last version and it load only the original featured attachment not the tptn_thumbnail !! .. i regenerated and sure tptn_thumbnail sizes created .. before update all things were fine .. could you help please.

    thumbs settings screenshot: https://i.ibb.co/Sw9jqY1/55555.png

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • any update please? πŸ™‚

    Plugin Author Ajay

    (@ajay)

    Could you please try using OTF Regenerate Thumbnails to see if the correct ones get created/pulled.

    Also, which was your older version?

    i’m sure the correct size is available as i used bulk regenerate by wp-CLI

    example: https://i.ibb.co/3FqPF7y/image.png

    awaiting your feedback πŸ™‚

    old version was 2.5.4

    if i used wp rollback plugin to downgrade the plugin version, i will lose database entires for post views counter or not? as we can give it a try!

    waiting your kind help.

    Regards,

    downgraded to v2.5.4 .. same problem :/ .. any advice ?

    can we request the correct size by edit in the plugin files?

    • This reply was modified 1 month, 3 weeks ago by  akhbarelyaom.
    Plugin Author Ajay

    (@ajay)

    Could you please point me to the exact posts and the images which aren’t correct so I can take a look.

    Hi πŸ™‚

    the posts is in the widget only as in this screen shot: https://i.ibb.co/9r795RR/image.png

    in the home page it self: https://www.akhbarelyaom.com

    also i downgraded wordpress to v5.1 and to v5.0.3 whit no success :/

    awaiting your feedback πŸ™‚

    any update please? πŸ™‚

    any code of function can we add in the theme to force the plugin use the correct size ?

    Plugin Author Ajay

    (@ajay)

    I realised one thing – can you check if you activated the setting Generate thumbnail sizes along with selecting tptn_thumbnail

    One image I looked at is https://static.akhbarelyaom.com/wp-content/uploads/2019/08/789.jpg Does it have the 145×145 image size as well created?

    Hi, good day Ajay πŸ™‚

    no this image is the original size as the editor uploaded this size πŸ™‚

    i try to edit the plugin files to get the correct size by i still couldn’t get some good news!

    waiting your feedback πŸ™‚

    • This reply was modified 1 month, 2 weeks ago by  akhbarelyaom.
    Plugin Author Ajay

    (@ajay)

    The issue is the images are not being created. Can you please install OTF Regenerate as this will create those images on the fly. If an image size (in this case 145×145) doesn’t exist, then the plugin defaults to pulling out the full image.

    Good news, it worked with the otf plugin and created 140×140 size!

    but please i want to know how can i edit this image file size as in the widget and top 10 settings i use 130×130 … and in css i use tptn_thumb{max-width:100%;height:120px;width:128px}

    and please dose otf plugin just work on missed used images or on all old images in the site?

    also i tried to use another custom image size in the theme with 120×100 without creating tptn images but the plugin used the full image size and i don’t know why!!

    last thing … as i have huge images in the site, can i unset the tptn_thumb size and just use the otf plugin ? .. as it will save unused space!

    awaiting your feedback.

    Sorry for taking long and Thank you for helping me!

    • This reply was modified 1 month, 2 weeks ago by  akhbarelyaom.
    • This reply was modified 1 month, 2 weeks ago by  akhbarelyaom.
    Plugin Author Ajay

    (@ajay)

    I’m confused as to the various sizes you’ve mentioned to me. To limit the number of images, there is only one tptn_thumb image that the plugin creates and that is based on the setting you put.

    You need to keep OTF activate always and it will create images that do not exist if any plugin or theme asks for that specific image size. I think it only does it for the ones that were registered but not for any image, but I am not sure.

    It’s not just for Top 10. I usually use it when I’m switching themes.

    To unset tptn_thumb sizes you can just deselect the Create images option in the settings page.

    Agree with you and thanks for the otf plugin it’s working good.

    Thank you and have a good day. πŸ™‚

    • This reply was modified 1 month, 1 week ago by  akhbarelyaom.
Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.