Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Is it possible to change thumbnail sizes?
New Landing › How can we help? › Themeforest Theme Support › Dante › Is it possible to change thumbnail sizes?
- This topic has 17 replies, 4 voices, and was last updated 8 years by Rui Guerreiro – SUPPORT.
-
Posted in: Dante
-
September 15, 2016 at 8:00 pm #291978
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.September 16, 2016 at 3:09 pm #292149Hi
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
September 24, 2016 at 11:24 am #293192Hi 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
September 24, 2016 at 3:06 pm #293202And 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.
September 26, 2016 at 7:44 am #293234Go to dante/swift-framework/widgets/widget-posts.php and edit line 74:
$image = sf_aq_resize( $thumb_img_url, 94, 75, true, false);
– Kyle
September 26, 2016 at 8:36 am #293246This 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.September 26, 2016 at 8:44 am #293249You sure you edited widget-posts.php?
– Kyle
September 26, 2016 at 8:48 am #293251September 26, 2016 at 10:43 am #293282I 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
September 28, 2016 at 12:16 pm #293662Hi,
The portfolio thumbs are set just the same, these are located in the portfolio widget:
widget-portfolio.php
.Thanks
September 30, 2016 at 10:38 am #293902Hi,
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
September 30, 2016 at 5:53 pm #293993Can you add your FTP details?
Thanks.
October 3, 2016 at 3:52 pm #294212This reply has been marked as private.October 5, 2016 at 12:07 pm #294492This 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.
October 5, 2016 at 1:11 pm #294500 -
Posted in: Dante
You must be logged in and have valid license to reply to this topic.