New Landing How can we help? Themeforest Theme Support Dante Is it possible to change thumbnail sizes?

Viewing 15 posts - 1 through 15 (of 18 total)
  • Posted in: Dante
  • #291978
    Joanna
    Member
    Post count: 185

    Hello,

    I would like to kindly ask you if it is possible to change the thumbnail sizes of posts?

    I would like them to be squared (because the featured image is squared) in the size of 250×250 for example for the home page and 100×100 for the blog sidebar.

    I would not like them to have a fixed width that will not resize on mobile. Unless there is a way to make it responsive?

    I have this on 2 pages:

    Favourite thoughts on the home page: http://www.varrojoanna.com/
    Sidebar on the blog page: http://www.varrojoanna.com/thoughts/

    Attached the screenshot from the home page.

    Thank you for your time,

    Joanna

    Attachments:
    You must be logged in to view attached files.
    #292149
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Open up dante/swift-framework/page-builder/builder/shortcodes/recent-posts.php and edit line 173:

    
    $image = sf_aq_resize( $thumb_img_url, 420, 315, true, false);

    Make both the values the same if you want the image to be square

    – Kyle

    #293192
    Joanna
    Member
    Post count: 185

    Hi there,

    Super, that worked. And how would I do the same thing for the thumbnails on this page: https://varrojoanna.com/thoughts/ I have in the sidebar favourite thoughts and colours inspiration post categories that I would like to achieve the same.

    Thank you,

    Joanna

    #293202
    Joanna
    Member
    Post count: 185

    And the same I would like to achieve for the thumbnails on https://varrojoanna.com/thoughts/ under: Join me on my journey as…

    Basically, for anywhere the recent posts appear if that would be possible.

    #293234
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Go to dante/swift-framework/widgets/widget-posts.php and edit line 74:

    $image = sf_aq_resize( $thumb_img_url, 94, 75, true, false);

    – Kyle

    #293246
    Joanna
    Member
    Post count: 185

    This did not work as it also changed the thumbnail on portfolio items. Please see o the screenshot. And I would like please to change 2 thumbnail sizes as marked on the screenshot with numbers 1 and 2.

    Attachments:
    You must be logged in to view attached files.
    #293249
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You sure you edited widget-posts.php?

    – Kyle

    #293251
    Joanna
    Member
    Post count: 185

    Yes.

    Attachments:
    You must be logged in to view attached files.
    #293282
    Joanna
    Member
    Post count: 185

    I have removed the code you have provided. But for some reason, the portfolio thumbnails are still squared… Any idea how that got there?

    In short, how do I make all the recent posts thumbnails squared and keep all portfolio thumbnails rectangle as it was…? I am looking at this page: https://varrojoanna.com/thoughts/

    Thank you,

    Joanna

    #293662
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    The portfolio thumbs are set just the same, these are located in the portfolio widget: widget-portfolio.php.

    Thanks

    #293902
    Joanna
    Member
    Post count: 185

    Hi,

    OK, I opened up the widget-portfolio.php and on the line I found this code:$image = sf_aq_resize( $thumb_img_url, 94, 75, true, false);
    Which seems correct to me. But the portfolio thumbnail displays at 75×75. I have found this thumbs in another file: widget-portfolio-grid.php but when I changed the same code line to something squared it just stretched the picture.

    Also, how do I change the thumbnail marked on the screenshot? It is not a widget. It is a blog carousel so I don’t know where to find it.

    Joanna

    #293993
    David Martin – Support
    Moderator
    Post count: 20834

    Can you add your FTP details?

    Thanks.

    #294212
    Joanna
    Member
    Post count: 185
    This reply has been marked as private.
    #294492
    David Martin – Support
    Moderator
    Post count: 20834

    This is getting slightly confusing.

    Are you using the Portfolio Widget or Portfolio Grid Widget?

    Lastly where are you seeing this discrepancy, please provide another screenshot to clarify the size difference.

    – David.

    #294500
    Joanna
    Member
    Post count: 185

    I am using: Swift Framework Portfolio Grid: Portfolio
    Marked on the attached screenshot what should or should not be square.

    Please let me know if you need any more clarification.

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register