Hi!
You can use Magic Zoom and add following code at the very bottom of wp-content/themes/replete/config-woocommerce/woocommerce-mod.js
(function($){
$(document).ready(function()
{
$('.single-product-main-image>.images .MagicScroll a').attr('rel','zoom-id: MagicZoomImage_Main;');
});
})( jQuery );
to overwrite the lightbox effect with the zoom effect. Then go to the Magic Zoom option panel and select “Scroll thumbnails” – “yes” and the thumbnails should be linked to the zoom plugin.
Cheers!
Peter
Hi
I’d like to increase the thumbnail size of my sidebar content – particularly the portfolio widget. I understand I can edit functions.php and then regenerate thumbnails, but this gets a little tedious after each update. Is it possible to change using the custom CSS editor without actually modifying functions.php?
Thanks!
Hey!
You can edit config-woocommerce > config.php file, find the product image code on line 111:
function avia_woocommerce_thumbnail($asdf)
{
global $product, $avia_config;
$rating = $product->get_rating_html(); //get rating
$id = get_the_ID();
$size = 'shop_catalog';
echo "<div class='thumbnail_container'>";
echo avia_woocommerce_gallery_first_thumbnail( $id , $size);
echo get_the_post_thumbnail( $id , $size );
if(!empty($rating)) echo "<span class='rating_container'>".$rating."</span>";
if($product->product_type == 'simple') echo "<span class='cart-loading'></span>";
echo "</div>";
}
Cheers!
Ismael
Hi!
Glad you figured it out. You can also specify a minimum or max height for the portfolio thumbnails if necessary. :)
Cheers!
Ismael
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
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
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.
Hi!
I don’t see it cropped:

Did you regenerate the thumbnails?
Regards,
Josue
Dear Support
i’m trying to edit the Product Archive Page Template.
What i need :
- Replace the Thumbnail pulled from the featured image of the product with the content of a custom field in the product.
- I am able to do this when i use a static HTML copy of the Archive content and pull the custom field with my shortcode
See Example = Article Nr. 1 with the Audioplayer instead of the Thumbnail
i tried to do it with quick css i.e. .thumbnail_container {display:nzs_page_section_custom_attach, !important}
Any help would be highly appreciated
-
This topic was modified 12 years, 1 month ago by
SonicCube.
Hello
When i insert an image into a post, yes i can chose the size (medium, small, thumbnail, and yours)
Okay, i chose the “featured” size, but that size do not sastisfy me so i try to change the image size there :

and try to choose, 90%, 60%,… but the image still at the same size?
Thanks
Hey msfoto!
Edit functions.php, find this code:
$avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column)
Change the height then regenerate the thumbnail using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/
Regards,
Ismael
Hi!
Strange – please try following code instead – it just uses one filter:
add_filter( 'the_excerpt_rss', 'inoplugs_insertThumbnailRSS' );
function inoplugs_insertThumbnailRSS( $content ) {
global $post;
$img = get_the_post_thumbnail($post->ID, 'thumbnail');
$content = '<div>' . $img . '</div>' . $content;
return $content;
}
Regards,
Peter
Wow cool, that worked perfectly, well almost :)
1) I am now getting the images returned as thumbnail size (80×80), is it possible to specify the size, like “full” or “large” with this code?
2) Also I noticed that when using this code, all items that dont have this image get the image from the previous item/id that did have it. Before, it was working well, it showed the word “Array” or the id number when the post had the custom image added, if it didnt it showed the title and excerpt.
thanks,
Thomas Borkent
Also, now everywhere on the site the portfolio grid is not working, ie, none of the thumbnails are clickable at all. I have also just built a team member component and that link isn’t working either, so it’s messed up on both the portfolio grid and the team element!!!!
Hi!
In WordPress dashboard, please go to Settings > Media and increase Thumbnail size 142x142px then regenerate thumbnails using this plugin http://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
Yigit
works great.
And how to improve the quality of the thumbnails?
because in the blog is poor, and in portfolio very good.
Hi Giles!
1) Yes, go to Enfold > General Settings and select another “Single Post Style”. If you do not want to change the style open up wp-content/themes/enfold/includes/loop-index.php and replace
$current_post['slider'] = get_the_post_thumbnail($the_id, $size);
with
$size = 'square';
$current_post['slider'] = get_the_post_thumbnail($the_id, $size);
You can also replace ‘square’ with another thumbnail size like ‘entry_with_sidebar’ or ‘entry_without_sidebar’.
2) Insert following code into the quick css field
#top.single .big-preview, #top.single .small-preview{pointer-events: none !important;}
3) Can you post a link to the page with the images please?
Regards,
Peter
Hi Support Team,
I would like to use your Grid Style Blog Page without having any of the body content displayed beneath the thumbnail & Title. Please visit arashdibazar.com/admin to bypass maintenance mode and then visit the blog to see what I am referring to. It is displaying the link to the youtube videos I am featuring in the posts and I would like to remove that and just show the title and post date.
Thanks
Asasd
Hi fjrichart!
Use the “excerpt” option and use following code to include the featured image
add_filter( 'the_excerpt_rss', 'inoplugs_insertThumbnailRSS' );
add_filter( 'the_content_feed', 'inoplugs_insertThumbnailRSS' );
function inoplugs_insertThumbnailRSS( $content ) {
global $post;
$img = get_the_post_thumbnail($post->ID, 'thumbnail');
$content = '<div>' . $img . '</div>' . $content;
return $content;
}
Best regards,
Peter
Hi there, I have looked through your thread and it seems quite a few people are struggling with Portfolio and Masonary Portfolio Building.
Firstly I have the newest and updated version of Enfold and there is NO Masonary Shortcode
Also building a simple portfolio seems overly complicated. Why with all these issues is there not a Step by Step guide Video.
It does not seem a big ask for the amount of sales you have and the amount of people with this issue to do a simple Video…!!!!
Also If I am using portrait pictures I cannot seem to choose which part of the picture shows up as the thumbnail?
-
This topic was modified 12 years, 1 month ago by
luvie.
Hey frawer!
You can change the thumbnail size on Settings > Media. Change the Large Size value then regenerate the thumbnails using this plugin.
Cheers!
Ismael
I’m using FeedBurner for subscriptions. If I send the entire post the e-mail sent by FeedBurner includes the feature image and any other image in the post. But If I send an excerpt it doesnt’ send any image.
I’ve tried a solution given by Dude some months ago:
// THIS INCLUDES THE THUMBNAIL IN OUR RSS FEED
add_filter( ‘the_excerpt_rss’, ‘inoplugs_insertThumbnailRSS’ );
add_filter( ‘the_content_feed’, ‘inoplugs_insertThumbnailRSS’ );
function inoplugs_insertThumbnailRSS( $content ) {
global $post;
$slides = avia_post_meta($post->post_id, ‘slideshow’);
if ($slides){
$postimage = avia_image_by_id($slides[0][‘slideshow_image’],’thumbnail’);
$content = ‘<div>’ . $postimage . ‘</div>’ . $content;
return $content;
}
}
I also tried changing the word “thumbnail” with “featured”.
I tried inserting it at the begining of the functions.php and also at the very end. In both cases it didn’t send the image but it didn’t even send the text of the excerp.
Any idea why it didn’t work?
Hi dziesmer!
Can you post the link to your website so we can take a look? They should be center aligned
Best regards,
Yigit
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!!
When i share an Enfold-websitelink (EG: http://kriesi.at/themes/enfold/ ) on Facebook there is no choice for a logo-thumbnail. Facebook only gives three options which are images from the sliders?
So my questiuon is to ‘promote’ the logo image in a way that Facebook sees it as the image to show as a thumbnail.
Image-example of what i mean:
http://s8.postimg.org/ooquozpit/Prt_Scr_capture_9.png
Hi Ismael,
Yes but please see the first post:
“If I put the blog shortcode in a 75% width segment and the page template with no sidebar, then insert a 25% width section with the widget shortcode, I encounter two problems. The first: the blog element style changes and forces me into a center justified layout with thumbnail on top. The second is that although the widget appears, there is no vertical dividing line between the blog content area and the sidebar.”
I already tried that and the blog style change and the sidebar line disappeared. Just to clarify, I’d like the thumbnail to remain on the left side not go up and center, and would like the grey line that separates the blog and widget area to remain visible. Is that doable?
Thanks!
Karl.
-
This reply was modified 12 years, 1 month ago by
karlbaz.
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
Amazing! I fixed it! Thanks to Ricardo – Drop Web answer:
The problem starts with uploading images.
Sometimes when uploading an image wordpress shows error.
But the image upload is completed on FTP.
I noticed that the images showing error in uploading lacked thumbnail in the media center of wordpress.
When a gallery was created with these images, the gallery was showing wrong images.
To fix, delete all the images without thumbnail in wordpress media center.
Sorry ащк disturbing!
Hi saundra!
1.) Are you talking about the image placeholder? You can edit config-templatebuilder > avia-shortcodes > postslider.php, find this code on line 305:
$thumbnail = "<span class=' fallback-post-type-icon' ".av_icon_string($format)."></span><span class='slider-fallback-image'>{{thumbnail}}</span>";
2.) Edit js > avia.js, find this code on line 54:
//activates the prettyphoto lightbox
$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});
Replace it with:
//activates the prettyphoto lightbox
//$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});
3.) This is possible but it won’t look as good as the original layout. Edit postslider.php again, find this code on line 366:
$output .= $thumbnail ? "<a href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";
Cut it then place it below this code on line 388:
$markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false));
Cheers!
Ismael