Tagged: Blog images, single post
-
AuthorPosts
-
January 30, 2014 at 1:29 am #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
January 30, 2014 at 7:17 am #216823Hi 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,
IsmaelJanuary 30, 2014 at 6:17 pm #217070Ok, and now on the front page where I have the posts slider. Where do I fix that thumbnail to not be cropped?
Thanks for the help so far!!
February 2, 2014 at 7:32 pm #218465Hi!
I don’t see it cropped:
Did you regenerate the thumbnails?
Regards,
JosueFebruary 2, 2014 at 7:37 pm #218467You 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.
February 2, 2014 at 7:42 pm #218470Hey!
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,
JosueFebruary 2, 2014 at 7:45 pm #218472I 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.
February 2, 2014 at 8:00 pm #218479Hi,
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,
JosueFebruary 2, 2014 at 10:04 pm #218517That 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
February 2, 2014 at 11:28 pm #218528Hi!
Not happening on my end:
http://screencast.com/t/ghG6PNizHUtTry again or from a different computer.
Regards,
JosueFebruary 3, 2014 at 12:28 am #218536interesting. 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!
February 3, 2014 at 1:20 am #218544We looking forward to hearing from you :)
Regards,
JosueFebruary 3, 2014 at 3:09 am #218566Its just that one computer… sorry abut that. :)
Thanks for all your help with the customizations.
-
AuthorPosts
- The topic ‘BLOG IMAGES : single post’ is closed to new replies.