Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #216717

    Hi,

    1. When I make a single post it is cropping the image. See here: http://www.lanceblaise.com/289-lance-blaise-jan-28-2014/

    I don’t want the image to be cropped where itis cutting the top and bottom off. Single Post Style is set to “Single post with big preview image.” What do I neet to fix this?

    2. I would like to remove the ability to click on the image inside single post, can I turn that off as well.

    Cheers

    #216823

    Hi tacopimp!

    1.) You can edit functions.php, find this code:

    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 ); // images for fullsize pages and fullsize slider

    You can either change the height or the width base on the image you want to upload or disable the image crop. Replace the code with this:

    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360, 'crop' => false ); // images for fullsize pages and fullsize slider

    Regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    2.) Add this on Quick CSS:

    .single .big-preview.single-big a {
    pointer-events: none;
    }

    Regards,
    Ismael

    #217070

    Ok, and now on the front page where I have the posts slider. Where do I fix that thumbnail to not be cropped?

    http://www.lanceblaise.com/

    Thanks for the help so far!!

    #218465

    Hi!

    I don’t see it cropped:

    Did you regenerate the thumbnails?

    Regards,
    Josue

    #218467

    You are looking in the wrong spot. Look on my home page, the post slider image is cropped. I took a screen shot, look. http://imgur.com/boUXlw9

    You see, not the same this as what my first question was, this is a different request.

    • This reply was modified 10 years, 9 months ago by tacopimp.
    #218470

    Hey!

    I see, try regenerating the thumbnails or setting the thumbnail again for this post http://www.lanceblaise.com/289-lance-blaise-jan-28-2014/

    Regards,
    Josue

    #218472

    I already have tried that. I think it is something that needs to be changed in that “posts slider” part of your page builder. The thumbnail regenerator didn’t work for the post itself. I had to delete the featured image and then upload a new one, so its not a regeneration issue.

    #218479

    Hi,

    Open /config-templatebuilder/avia-shortcodes/postslider.php and look for line 276:

    $thumbnail  = get_the_post_thumbnail( $the_id, $image_size );
    

    Replace it by this:

    $thumbnail  = get_the_post_thumbnail( $the_id, 'full' );
    

    Regards,
    Josue

    #218517

    That seems to have fixed it. Not sure if it is my server or what, but now when you roll over the image there is a delay for the overlay to let you know to click on the thumbnail, and also ther is no animation anymore. Take a look, http://www.lanceblaise.com

    #218528

    Hi!

    Not happening on my end:
    http://screencast.com/t/ghG6PNizHUt

    Try again or from a different computer.

    Regards,
    Josue

    #218536

    interesting. It is only happening in Chrome on this computer. It’s fine in Safari. Let me try a different computer. I will let you know. Thanks!

    #218544

    We looking forward to hearing from you :)

    Regards,
    
Josue

    #218566

    Its just that one computer… sorry abut that. :)

    Thanks for all your help with the customizations.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘BLOG IMAGES : single post’ is closed to new replies.