Viewing 30 results - 901 through 930 (of 10,101 total)
  • Author
    Search Results
  • #1344568
    joschro
    Participant

    Hello,

    I am using the Gallery on one page, and there are gaps in it. Why is that happening, and how do I get the gaps to go away? That is happening in Firefox on my MacBook Pro.

    On mobile phone, there are still gaps for that same gallery, and there are still four columns of thumbnail images, although it would be better if there was one column for mobile phone, and probably two for small tablet and three for large tablet. How can I get that to happen?

    Regards,
    Jonah

    #1344558

    Hi,

    Thank you for the clarification.

    For the single post page, you have to modify the includes > loop-index.php file and define a different thumbnail in this code around line 85.

    /*
    		 * retrieve slider, title and content for this post,...
    		 */
    		$size = strpos( $blog_style, 'big' ) ? ( ( strpos( $current_post['post_layout'], 'sidebar' ) !== false ) ? 'entry_with_sidebar' : 'entry_without_sidebar' ) : 'square';
    

    The current thumbnail that is being used is called “entry_without_sidebar” which has a maximum size of 1210x423px. You can replace the current thumbnail with another image with a different size. This is a list of available thumbnails and their corresponding dimension.

    $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
    

    Best regards,
    Ismael

    #1344333

    Hi,

    The size of the product image in your screenshot above is actually 512x512px. Maybe it is the closest size to the specified width value and the only available thumbnail. As we mentioned above, it will not exactly display images with the exact width value.

    Please note that the catalogue images will not exactly display in the specified size. It will only display a thumbnail or image size that is closest to the specified width value.

    Best regards,
    Ismael

    #1344218

    Hey Ivana,
    I would recommend using the plugin Simple Image Sizes and placing a zero in sizes that you don’t need, including the basic WordPress sizes.
    While you could make a function from the thumbnail sizes in functions.php starting at line 211 for your child theme, using this plugin is easier, don’t worry about the age of the plugin, it is very basic and reliable.
    Please note that typically you would use the regenerate thumbnails option to correct the existing thumbnails, but in your case you want to “remove” them so I don’t know if the plugin will remove them, you may need to delete them via FTP, but future image uploads will not create thumbnails for the ones you make zero.

    Best regards,
    Mike

    #1344152

    Hi Mike,

    Thank you for your response. Yes, the only issue now is that the next video plays automatically and I don’t want this?

    I “think” I’ve disabled any auto continuous play setting, but maybe I’m overlooking it.

    Here is a link to my test page: https://kingdomlearners.com/youtube-embed-plus-test-page/ I also provided my credentials below.

    I have the plugin-in working as Contained Playlist at the top of my test page, which displays one video and after this video plays, the next ordered video in the Playlist starts, etc. However, the second test on this page I have a Gallery from the Playlist. The top video is the most recent. When it plays, at the end it stops and displays other relevant videos. If I could keep this and remove the other videos, this would be perfect. I think this is what @guenni007 was eluding to, but just not clear to me on how to implement it (e.g. “All these thumbs are in a unique container ( class: epyt-gallery-list ) if you set this to display none – you will have on top the newest video link.”)

    “you see that there is on top the last added video and beneath the thumbnails of the older videolinks in that playlist” and “All these thumbs are in a unique container ( class: epyt-gallery-list ) if you set this to display none – you will have on top the newest video link.”

    Thank you and others @guenni007 for your help.

    Best Regards,
    Julio

    • This reply was modified 4 years, 1 month ago by Jules.
    #1344139

    Hi,
    I have not used this plugin before but looking at the plugin page it says:

    YouTube gallery auto continuous play – embed a playlist or channel gallery and allow it to play one video after the next without requiring viewers to click a thumbnail.

    so I assume that if you don’t want the next video to play there is a setting auto continuous play that you can disable, check for this.
    If you don’t see this please include an admin login in the Private Content area so we can check.
    As I understand the only issue now is that the next video plays automatically and you don’t want this?

    Best regards,
    Mike

    #1344066

    but i think if you show the gallery – you see that there is on top the last added video and beneath the thumbnails of the older videolinks in that playlist.
    All these thumbs are in a unique container ( class: epyt-gallery-list ) if you set this to display none – you will have on top the newest video link.


    @Guenni007
    THANK YOU so much for your CONTINUED SUPPORT and WILLINGNESS to HELP ME!!!

    I have Embed Plus setup with a YouTube API v3. I’m not sure I totally follow “you see that there is on top the last added video and beneath the thumbnails of the older videolinks in that playlist” and “All these thumbs are in a unique container ( class: epyt-gallery-list ) if you set this to display none – you will have on top the newest video link.

    Can you show me in the plug-in with a screenshot and explain a little further – please. This is new to me and I’m trying to follow along. THANK YOU!!!

    I’ve created a test page: https://kingdomlearners.com/youtube-embed-plus-test-page/ and it plays, but the problem is that once the latest video plays, it continues into the next Daily Word video from the Playlist, etc. etc. I’m pretty sure it’s because I didn’t fully understand your generous instructions.

    Any and all assistance is GREATLY APPRECIATED!

    Best Regards,
    Julio

    #1344050

    but i think if you show the gallery – you see that there is on top the last added video and beneath the thumbnails of the older videolinks in that playlist.
    All these thumbs are in a unique container ( class: epyt-gallery-list ) if you set this to display none – you will have on top the newest video link.

    #1343968

    I haven’t tried that. but should it only work with the parent theme? :-)

    you can see the set up here: https://snipboard.io/KJFz92.jpg

    We don’t use a thumbnail and we styled the video background transparent. Maybe that creates the problem

    #1343760

    Hi,

    What is the original size of the product images that you are using? Try to set the Thumbnail width value to 705 to display the “masonry” thumbnail, which has a maximum dimension of 705x705px.

    You can find the list of available thumbnails or image sizes in the functions.php file around line 211.

    $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
    

    As you can see, the $avia_config[‘imgSize’][‘masonry’] or the masonry thumbnail is set to have a maximum width of 705px and height of 705px.

    Best regards,
    Ismael

    #1343739
    evanh_
    Participant

    Curious if there is a way to make the thumbnails scroll below the featured image, rather than in a large grid for an Ajax Portfolio item? Like a FilmStrip View. I can’t find any settings other than how many columns. Would love to not use another plugin. Any Thoughts?

    #1343676
    This reply has been marked as private.
    #1343567

    Hi,

    Thank you for the update.

    You may need to adjust the size further to display a larger image. Please note that the catalogue images will not exactly display in the specified size. It will only display a thumbnail or image size that is closest to the specified width value. Unfortunately, there is no registered thumbnail with the size 512x512px.

    Best regards,
    Ismael

    #1343564

    Hey luiseheine,

    Thank you for the inquiry.

    You can actually select a specific thumbnail or image size in Blog Posts element. Set the Styling > Appearance > Preview Image Size settings to the second option, then select a thumbnail from the next dropdown. Let us know if that helps.

    Best regards,
    Ismael

    #1343475

    Hi Marco,

    You can adjust the size of the catalogue images in the Customize > Woocommerce > Product Images panel. Look for the Thumbnail width field and adjust its value. Default image width is set to 300px.

    Best regards,
    Ismael

    #1343281

    Hey marcusss,
    Thank you for your patience and the links, when I look at your category image above description example and compare it to the direct 512×512 image file the quality looks the same,
    but when I compare the 512×512 to the original there does seem to be a difference.
    I also see that your images in your media library are jpg but are webp on the frontend, perhaps this is related to your EWWW Image Optimizer plugin or perhaps some quality is lost when WordPress generates thumbnails from webp?
    Try disabling your image plugin and upload a new different image to test with, in a good quality jpg format and check again.

    Best regards,
    Mike

    #1343188

    Topic: Issue with video

    in forum Enfold
    Jak73
    Participant

    Hi,

    1.) i added a video to my site.
    If you click on the 3rd video in a row, it opens with popup. The video is in a 1:1 ratio, but it opens with dark borders. Please see screenshot.

    2.) in responsive view the same video will be opened in thumbnail size. Please see screenshot 2.

    How can i fix that?

    kind regards

    Jak

    • This topic was modified 4 years, 1 month ago by Jak73.
    #1343096

    hm Nikko – and if she does not want to specify a context – ( for masonry or slideshow etc.) – her code seems to be ok.
    But my test only influences image lightbox. Even if i try to change it for slideshow by:

    add_filter("avf_alb_lightbox_image_size", function($size, $context) {
        if($context = "avia_slideshow") {
            $size = "full";
        }
        return $size;
    }, 10, 2);

    And also even if i switch off the lightbox responsive option. No change

    it has no effect.

    the old snippet still works for it:

    function change_lightbox_size() {
        return "full";
    }
    add_filter('avf_avia_builder_helper_lightbox_size','change_lightbox_size', 10);

    for masonry i still take:

    function avia_change_masonry_thumbnail_lightbox_image($size){
      return "full";
    }
    add_filter('avf_avia_builder_masonry_lightbox_img_size', 'avia_change_masonry_thumbnail_lightbox_image', 10, 1);
    #1343049

    yes – it is because the portfolio_small is a cropped size
    try instead f.e.: medium_large ( that is a wordpress file-size ) or
    masonry ( you see on functions.php line 220 that crop is set to false.
    or if you like – generate a new file-size that is not croped

    add_image_size( 'news_size', 175, 260, false );
    
    function my_custom_sizes( $sizes ) {
        return array_merge( $sizes, array(
            'news_size' => __( 'News Size' ),
        ));
    }
    add_filter( 'image_size_names_choose', 'my_custom_sizes' );

    in combination then with the code above:

    function my_avf_newsbox_image_size( $image_size, array $args, array $instance ){
      if( $args['widget_id'] == ( 'portfoliobox-3' || 'newsbox-2' || 'newsbox-5' ) ){
        $image_size = 'news_size';
      }
      return $image_size;
    }
    add_filter( 'avf_newsbox_image_size', 'my_avf_newsbox_image_size', 10, 3 );

    but in this case you had to regenerate the thumbnails on existing images.
    f.e.: with https://en-gb.wordpress.org/plugins/regenerate-thumbnails-advanced/
    See results with news_size on: https://webers-testseite.de/#footer

    Reset your css settings in this case first and see what happens.
    _________________________
    the last part ( my_custom_sizes ) is only to have that image size as a choice in media-library insertion :

    #1343044
    Vera
    Participant

    Hi,
    I have a similar question to the thread #1334473. I would like to have the lightbox always open with the thumbnail size “full”. It worked fine with this code but not anymore. `add_filter(“avf_alb_lightbox_image_size”, function($size) {
    $size = “full”;
    return $size;
    }, 10, 2);`
    Do I have to adjust this somehow?
    Thank you.
    Best regards,
    Vera

    #1343005

    @Yigit and @Guenni007, Thank you very much for the input!

    I placed the code provided by Guenni007 in my functions.php of the child theme.

    After that, I changed the previous css code to:

    .news-thumb {
        padding: 0px;
        float: none;
        margin-top: 0px;
    	  margin-bottom: 8px;
    	  border-width: 0px;
    	  height: 116px;
        display: block;
    }
    
    #top .news-thumb img {
        float: none;
        padding: 0px;
        height: 116px;
    	  display: inline;
    	  width: 100%;
    }

    The thumbnail image is now in a good resolution, but my first 2 points are not yet resolved:
    1. The complete image has to be visible
    2. The proportions have to be right. I would like the height to be around 116 px and the width to scale automatically

    Unfortunately, I don’t have any PHP skill except for placing/deleting some code.

    Hey eduardodelat,

    Thank you for the inquiry.

    The theme automatically generates different thumbnails or sizes for each image, which is why there are multiple versions of the image in your server. These thumbnails are used on different areas or elements in the site instead of loading the original image, which could improve the loading speed.

    We do not recommend removing or disabling those thumbnails but it is possible. Please check this thread for more info.

    // https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1271808

    Best regards,
    Ismael

    #1342755

    you can influence the source of the thumbnail used for the widget by this snippet in your child-theme functions.php:

    function my_avf_newsbox_image_size( $image_size, array $args, array $instance ){
      if( $args['widget_id'] == ( 'portfoliobox-3' || 'newsbox-2' || 'newsbox-5' ) ){
        $image_size = 'portfolio_small';
      }
      return $image_size;
    }
    add_filter( 'avf_newsbox_image_size', 'my_avf_newsbox_image_size', 10, 3 );

    ( the two “pipes” : || means “or” as logical operator )

    Looking to your page i see that this widget in your footer is in newsbox-5
    now choose an image-size ( above it is portfolio_small ) which fits to your needs ( see parent functions.php on lines : 211ff )

    you see on the example code that the filter avf_newsbox_image_size is not only for newsbox images – but for the portfolioboxes too.

    PS: you had to style it with that new image source again – a bit different to that from your code above

    #1342743

    Hey,

    Thanks for contacting us!

    Please use this plugin – https://wordpress.org/plugins/simple-image-sizes/ and increase the image size of “widget” which is 36x36px by default. Please do not forget to regenerate thumbnails after changing them.

    Best regards,
    Yigit

    #1342719
    pelgrimrat
    Participant

    Dear members of the support forum,

    My website is:
    https://hendrickhamelmuseum.nl/

    In the 4th column of the footer, I have placed the widget called “Latest News”, so the latest exhibition is showing up here.
    I have tried to style the thumbnail of the featured image, using this CSS code:

    .news-thumb {
        margin-right: 0px;
        padding: 0px;
        float: none;
        margin-top: 0px;
        border-width: 0px;
        height: 116px;
        width: 175px;
        display: block;
    }
    
    #top .news-thumb img {
        display: block;
        float: left;
        border: none;
        padding: 0;
        margin: 0;
        width: 175px;
        height: inherit;
    }

    There are 3 things I still want to accomplish, but I don’t know how:

    1. The complete image has to be visible
    2. The proportions have to be right. I would like the height to be around 116 px and the width to scale automatically
    3. I would like the image to be in a proper resolution, In Chrome the image is showing up all blurry.

    Any help will be much appreciated!

    #1342641

    Hey orianos,

    Thank you for the inquiry.

    You have to modify or override the woocommerce/templates/content-widget-product.php file and define a custom thumbnail for the get_image function in this code around line 32.

    <?php echo $product->get_image(); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    

    Please check this documentation for more info on how to override a Woocommerce template file.

    // https://woocommerce.com/document/template-structure/

    Best regards,
    Ismael

    #1342582
    orianos
    Participant

    In the “Product list” widget the thumbnails are cropped :(
    How can I prevent the thumbnails from being cropped?
    Also, how can I get the thumbnails of the “Product list” widget larger?
    Please see link in Private content.

    Best regards
    Oriano

    #1342500

    Hi,
    Thanks for the login, it seems like the Regenerate Thumbnails was not working correctly, because when I used the Regenerate Thumbnails option in the Simple Image Sizes plugin the thumbnails were resized. Then I noticed that while the image sizes were correct they were show at full width on the blog page, so I added this css to your child theme stylesheet:

    #top.blog .big-preview.single-big {
    	max-height: 580px;
    	max-width: 845px;
    	margin: auto;
    }

    now the featured images on your blog page /news/ are showing correctly.
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1342448

    Mike,

    many thanks for this I have tried adding the new code and removing the one you think could conflict in child theme functions.php but still does not work after using the regenerate thumbnails plugin…

    Can you help

    Many thanks

    Pete

    #1342444

    Mike,

    many thanks for this I have tried adding the new code and removing the one you think could conflict in child theme functions.php but still does not work after using the regenerate thumbnails plugin…

    Can you help

    Many thanks

    Pete

Viewing 30 results - 901 through 930 (of 10,101 total)