Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Clique › Thumbnail Size on Portfolio Index Page
New Landing › How can we help? › Themeforest Theme Support › Clique › Thumbnail Size on Portfolio Index Page
- This topic has 8 replies, 3 voices, and was last updated 10 years by Mohammad – SUPPORT.
-
Posted in: Clique
-
February 12, 2014 at 12:29 am #48140
On the main home page:
http://themeforest.net/item/clique-ajax-responsive-portfolio-wordpress-theme/full_screen_preview/3187293Is it possible to increase the size of thumbnails? I’d like to upload my 1920*1080 screenshots as thumbnails, but the closest multiple that retains the proper aspect ratio would be 512*288. Do I need to regenerate thumbnails after I make the changes?
The way it is now (www.DarkwingProductions.net), my thumbnails get cut off on the sides.
Wordpress version 3.8.1
Clique 1.5.3February 15, 2014 at 4:53 pm #49176Hi,
We always ready to provide best support and some customization . But It is not possible due to bad layout after increase image thumbnail sizes .
You may try only one solution to save thumbnails get cut off on the sides .Please open to edit /themes/clique/includes/standard.php Find this code at line 73 $item_figure .= "<li><a {$link_config}><img src='{$image['url']}' width='{$image['width']}' height='{$image['height']}' alt='{$image['alt']}' /></a></li>"; Replace with $item_figure .= "<li><a {$link_config}><img src='{$image['url']}' alt='{$image['alt']}' /></a></li>"; Find this code at line 80 $image = aq_resize( $thumb_img_url, $thumb_width, $thumb_height, true, false); Replace With $image = aq_resize( $thumb_img_url, $thumb_width, true, false); Find this code at line 86 $item_figure .= '<img src="'.$image[0].'" width="'.$image[1].'" height="'.$image[2].'" />'; Replace With $item_figure .= '<img src="'.$image[0].'" />';
February 18, 2014 at 7:51 pm #50047I don’t understand what you mean by “But It is not possible due to bad layout after increase image thumbnail sizes”. Are you saying you guys designed the layout poorly?
Then you said “try only 1 solution” but listed several. Am I supposed to do everything in the black box, or only one instance of “replace with”?
February 19, 2014 at 7:57 am #50134Hi,
I am very sorry for any inconvenience . Bad layout mean that i tried to put your image size and got page layout very bad and need to code from scratch .
I meant that if you use black box code then your images will not cutoff . You need to follow all instruction defined at blackbox .Hope you will understand .
With Best Regards
Swiftideas ThemesFebruary 25, 2014 at 9:31 pm #51835Will this allow me to use a custom size like http://deniskornilov.com? I notice his thumbnails are 400 x 375. I’d even accept getting mine to display as 600 x 375 since that’s closer to 16:9 aspect ratio.
February 27, 2014 at 1:30 pm #52456Hi Darkwing,
Apologies, this is actually much simpler to change. All you need to do is edit /includes/sf-functions.php lines 231 & 232:
$thumb_width = 500; $thumb_height = 375;
That will change the size for you. Will see if I can get these added to the theme options for the next update.
– Ed
February 27, 2014 at 6:28 pm #52622That did the trick, thanks so much! I’m sure others wouldn’t mind seeing this option built into the theme too, as you said.
February 27, 2014 at 8:31 pm #52657Great, glad I could help 🙂
– Ed
February 28, 2014 at 3:46 am #52732Hi,
Thanks @Ed . You fixed the issue .
With Best Regards
Swift Ideas -
Posted in: Clique
You must be logged in and have valid license to reply to this topic.