So for every video I have to create a new portfolio item instead of putting them all into one portfolio item?
And I have to create a thumbnail for everyone instead of it pulling from the video iFrame?
If both of those are true that really sucks!
-
This reply was modified 11 years, 1 month ago by
envisageiam.
Hey!
Are you sure you uploaded a new image to check it? It’s not going to change your existing images but you can regenerate them with this plugin, https://wordpress.org/plugins/regenerate-thumbnails/.
Regards,
Elliott
Hey!
The Masonry does not automatically create thumbnails for your videos. You need to set the “featured image” of each post and that is the image that gets displayed. Right now you have it set to a red camera dot it looks like.
If I am misunderstanding what your trying to do then please take a screenshot and highlight your intentions so we can get a better idea.
Best regards,
Elliott
Yes Andy the image on my blog (without head). I installed the plugin you suggested but I want to make sure I activate the resizing for the correct images. I read on the plugin page that this plugin destroyed so many people sites by resizing all their images that they’d customized already to look correct.
Do know have any suggestion to help me through this process?
PROBLEM: When I make a blog post and select Featured Image, if the image is very large, when I post the blog the heads are cut off. If the image is originally a small image I see the entire image.
GOAL: To have any large Featured Image to display cropped smaller but see the entire image.
How to I setup this plugin so when I add a Featured Image it display the full image even if it’s cropped to a smaller size then the original?
KEEP IN MIND: I’ve done a lot of customizing to get my site and thumbnails to look the way they do and don’t want run resize and mess up everything.
Admin access is already in private data section.
Hi!
The thumbnail is not available for that specific image. Try to regenerate the thumbnails by using this plugin: https://wordpress.org/plugins/simple-image-sizes/
Go to Settings > Media, click regenerate thumbnails.
Best regards,
Ismael
Hello,
Thanks for your reply, I tried this and i think i have forgot something.. lol, the gallery is displayed but there is only title with no thumbnail and no link to open the lighbox popin…
I tried the same operation with a Masonry portfolio, and there is the link and the video is well opened in the lightbox popin but… there is no thumbnail..
So for the Portfolio Grid is there something more needed ? And for the thumbnails ? is it automatic or should i have to upload it ? (if yes, where ?)
Thanks a lot young Sean Penn ;) !!!
Hi!
I was referring to this – http://screencast.com/t/h9Xs98HN
Regarding the thumbnail, the file you need to edit is /template-builder.php, it is located at the root of the theme directory.
Cheers!
Josue
Hey Josue – thanks for this – almost have it working
1 – the feed for ‘Places’ is a slug generated by the Custom post types – so I can’t actually edit the page
2 – where do you mean ‘make sure to set the the (show excerpt) in blog elements?
3 – I can get the ‘places’ feed with the blog featured image and excerpt working with the ‘read more’ tag, but is there a way to get the featured image to automatically show in my post type when I’m using the layout editor?
see here http://sdtest.info/ntq/places/queen-victorias-statue-in-queens-park/
4 – I tried editing and adding the template-buider.php to my child theme directory and added this code but it didn’t show the post featured image
require_once( dirname(__FILE__) . ‘/php/template-builder.class.php’ );
the_post_thumbnail()
$builder = new AviaBuilder();
//activates the builder safe mode. this hides the shortcodes that are built with the content builder from the default wordpress content editor.
//can also be set to “debug”, to show shortcode content and extra shortcode container field
$builder->setMode( ‘safe’ );
Hi davidchristensen!
You could try placing the magazine inside our content slider element. The code would look something like this.
[av_content_slider heading='' columns='1' animation='slide' navigation='arrows' autoplay='false' interval='5' font_color='' color='']
[av_content_slide title='Slide 1' link='' linktarget='']
[av_magazine link='category' items='5' offset='0' tabs='true' thumbnails='true' heading_active='' heading='' heading_link='' heading_color='theme-color' heading_custom_color='#ffffff' first_big='' first_big_pos='top']
[/av_content_slide]
[av_content_slide title='Slide 2' link='' linktarget='']
test
[/av_content_slide]
[/av_content_slider]
You can do this, http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/, to enable the debug view for the avia layout builder. That will let you see the shortcodes used for each element.
Best regards,
Elliott
I am creating a portfolio for an artist. She wants all the thumbnails to be Not Cropped. She would also like all the painting thumbnails to be in proportion to one another, meaning looking at the thumbnails would look a little like seeing the paintings on a wall in a gallery.
I am using the Masonry grid, but I have two issues:
1 – Thumbnails do not represent proper proportion. Very tall paintings look too long, while wide paintings get compressed into whatever size column I’m using. At the moment I’m using a three column layout because the difference between tall and wide does not look as disproportional.
2 – The very tall paintings do not fit into their “frames” – meaning the box that holds the caption is too wide for the very tall paintings – or the painting is not filling up the full width of the column for some reason. See the painting titled: “Monarch Code” near the top of the page as an example.
http://2c1.f0b.myftpupload.com/paintings/
It seems that all the other ways to display art with thumbnails and a light box always crops the painting’s thumbnails. Is there any way to get a grid with non-cropped thumbnails, even without the Masonry grid – more like an old fashioned Table layout, but where I don’t have to custom make all the thumbnails beforehand?
Thanks for your help, and once again, THANKS FOR MAKING SUCH A WONDERFUL THEME!
Im only able to get the first video to show up in the masonry gallery. I can get still images to show fine. Once I can get the video thumbnails to show than I would like to know how to get them to pop open in a light box, but I need to get them to show up first.
Hi Snerp!
To change image sizes, please go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs
$avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider
$avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns
$avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines
$avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries
$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
and change the sizes as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
Yigit
hi if you go to http://www.codecreative.uk/our-work/seo/
There are some things I need to know for portfolio items. Firstly is why are my thumbnails distorted? Can I fix this?
Also if you click on the DKB portfolio item. Its first image shows a google serp but in the middle of the image how can I have it show from the top?
Or is the only solution to crop?
Hi all
After i updated my WooCommerce yesterday, these thumbnails popped up (once on top):
http://thelasttouch.dk/shop/
I want to only display the two products, but in the page-editor, there is nothing that displays how i can remove these thumbnails.
I hope some of you may know what the problem is.
Thank you ind advance
// TheLastTouch.dk
Hi Phet!
Thank you for using Enfold.
You can set a specific a thumbnail size for the portfolio grid element. Set the Portfolio Grid Image Size to manual then select the image size. Best option will usually depend on the number of columns and the common uploaded featured image size.
Best regards,
Ismael
Hi!
If you set the Slideshow Image Size to 1500x430px, you need to upload images that are larger than that specification. WordPress can’t increase the size of the images uploaded. It can only create smaller version of the thumbnails.
Best regards,
Ismael
Andy,
I think you have misinterpreted what I meant please look at the link http://www.psweb-test1.com/wp-content/uploads/2015/02/related-product-alteration.jpg. On the detailed products page only we want to have the “related products section” to be reduced in width keeping the same amount of thumbnails and in the right hand column, underneath the additional information section with the widget section on the left hand side.
Please see current page as it is now. http://www.psweb-test1.com/?product=merle-morrisesme please can you help.
Hey!
so you want to add a purple background to the related product images, right? Add this code to your Quick CSS field for a workaround:
li.product.type-product.status-publish.has-post-thumbnail {
border-color: purple;
border-style: solid;
border-width: 25px;
margin-left: -7px;
}
and adjust as needed.
Hope this helps.
Regards,
Andy
Hi!
Try adding this to your custom CSS.
.ls-bottom-nav-wrapper, .ls-below-thumbnails { bottom: 20px !important; }
Regards,
Elliott
Hey guys,
I’m having this issue where if my feature image is not the same size for all the items in either a Post Slider or a Portfolio Grid. Making it a bit unbalance.

Portfolio Grid
Would would be the best solution for this? I do not want to format the pictures them selfs, because eventually I will be switching to a Masonry style grid. Can I crop them by CSS? Or maybe it’s an option I didn’t see…
Thanks!
-
This topic was modified 11 years, 1 month ago by
Phet.
Hi!
1. Make sure to set that (Show Excerpt) in the Blog element settings.
2. Edit template-builder.php and put the_post_thumbnail() somewhere before the content gets rendered.
Cheers!
Josue
Hi!
I don’t know why this started but AviaPointer class is giving notices on ajax calls and media functionality breaks on wp-admin/upload.php. Ajax loader icon just keeps rolling and media thumbnails won’t appear.
PHP Notice: Trying to get property of non-object in …/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/pointer.class.php on line 52, referer: …/wp-admin/post.php/wp-admin/upload.php
This notice is also firing on other pages but doesn’t seem to cause any problems.
The problem is that AviaPointer calls get_current_screen() function which returns null.
$screen = get_current_screen();
$this->screen_id = $screen->id;
The second line gives the error because $screen is null on ajax calls.
It seems that this code is executed on every ajax call. Is this really necessary? Pointers should be a one time thing, right?
A relevant stack trace:
pointer.class.php:51, AviaPointer->__construct()
template-builder.class.php:296, AviaBuilder->call_classes()
template-builder.class.php:97, AviaBuilder->admin_init()
template-builder.class.php:84, AviaBuilder->Init()
I could fix the issue by adding the following check:
$screen = get_current_screen();
if(isset($screen)) {
$this->screen_id = $screen->id;
}
I’m not sure if this is the best way to do it. I don’t see the point in running the pointer code on ajax calls.
Could you fix this?
-
This topic was modified 11 years, 1 month ago by
jiv_e. Reason: Fix code formatting
Hi LarryLayouter!
Open up /enfold/config-templatebuilder/avia-shortcodes/gallery.php and change line 202 from this.
$class = $counter++ % $columns ? "class='$imagelink $custom_link_class'" : "class='first_thumb $imagelink $custom_link_class'";
To this.
$class = $counter++ % $columns ? "class='noLightbox $imagelink $custom_link_class'" : "class='noLightbox first_thumb $imagelink $custom_link_class'";
And line 218 from this.
$output .= "<a class='avia-gallery-big fakeLightbox $imagelink $crop_big_preview_thumbnail $custom_link_class' href='".$link[0]."' data-onclick='1' title='".$description."' ><span class='avia-gallery-big-inner' $markup_url>";
To this.
$output .= "<a class='avia-gallery-big noLightbox fakeLightbox $imagelink $crop_big_preview_thumbnail $custom_link_class' href='".$link[0]."' data-onclick='1' title='".$description."' ><span class='avia-gallery-big-inner' $markup_url>";
Regards,
Elliott
Hello,
I am having problems with the easy slider. I have two sites and both have problems with the images in the sliders.
I want to display images either 1500 x 430 or 300 x 300 and if the images are not exactly those sizes it won’t resize them. It shows the image without scaling and when they are different sizes it looks terrible!
What can I do?
I tried the regenerate thumbnails plugin and it dowsn’t work.
My sites are lares.tailanian.com and emisivo.tailanian.com
Thanks for your help
Hey!
You can do that with this CSS.
.portfolio-preview-image img {
width: auto !important;
height: 400px !important;
margin: 0px auto;
}
But that will effect all of the preview images. It would probably be best to create a thumbnail of the image and use that.
Cheers!
Elliott
Hi!
I didn’t do much testing with it but you could try adding this to the bottom of your child theme functions.php file.
function avia_backend_add_thumbnail_size() { return; }
There is not really a good reason to remove them though. Just remember that you have done this in case your wondering in the future how to size your images with the Masonry shortcodes, etc etc. Your sizes are limited because of this customization.
Best regards,
Elliott
Hi!
I was not able to reproduce the issue on an emulation as well but please try this on the Quick CSS field to fix the thumbnails:
.small-preview img {
max-height: 100% !important;
}
Can you see any error the console when you check the site? I don’t have any idea why the scroll position issue occurs though. Is this also happening on the enfold demo?
Regards,
Ismael
Hi eyammine!
Try adding this to a codeblock element in the page to hide the thumbnails.
<style type = "text/css">
.blog-meta, .blog_meta, .big-preview, .big_preview { display: none !important; }
</style>
Best regards,
Elliott
Hi!
If you’d like you can change lines 118 – 144 in the functions.php file to this.
$avia_config['imgSize']['base'] = [];
$avia_config['selectableImgSize'] = [];
Or just delete the image sizes that you do not need. If it was me though I would just leave them alone. If you have a bunch of 1200 x 1200 images loading on your page then that is going to take a long time for the user to download them all so it makes sense to let WordPress create small thumbnail versions to use. You will run out of bandwidth a lot faster than storage space.
Also, nowadays hosting providers give you lots of GB’s of server space so even if you upload 5000 pictures (plus all of the thumbnails) your probably not going to fill up the space (but double check with your hosting provider to be sure). If for some reason they are not giving you a lot of space then they will probably give you an option to upgrade your hosting package. But really I do not think that is going to be an issue at all. I’m on the cheapest hosting package with my provider for $25 a year and they give me 25 GB’s which can hold around 25,000+ photos (I crop mine before uploading so they are roughly 500KB each excluding the thumbnails).
EDIT: I double checked and the 25GB for my hosting provider was two years ago. Now they provide me 100GB for the same price. :)
Regards,
Elliott
-
This reply was modified 11 years, 1 month ago by
Elliott.
Hey absurdity69!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.slide-meta {
display: none!important;
}
To change image sizes, please go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs
$avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider
$avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns
$avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines
$avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries
$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
and change the sizes as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Regards,
Yigit