New Landing How can we help? Themeforest Theme Support Clique Thumbnail Size on Portfolio Index Page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Clique
  • #48140
    Darkwing Productions
    Member
    Post count: 15

    On the main home page:
    http://themeforest.net/item/clique-ajax-responsive-portfolio-wordpress-theme/full_screen_preview/3187293

    Is 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.3

    #49176
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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].'"  />';
    #50047
    Darkwing Productions
    Member
    Post count: 15

    I 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”?

    #50134
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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 Themes

    #51835
    Darkwing Productions
    Member
    Post count: 15

    Will 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.

    #52456
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi 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

    #52622
    Darkwing Productions
    Member
    Post count: 15

    That did the trick, thanks so much! I’m sure others wouldn’t mind seeing this option built into the theme too, as you said.

    #52657
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Great, glad I could help 🙂

    – Ed

    #52732
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Thanks @Ed . You fixed the issue .
    With Best Regards
    Swift Ideas

Viewing 9 posts - 1 through 9 (of 9 total)

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

License required for one of the following items
Login and Registration Log in · Register