Viewing 30 results - 1 through 30 (of 10,029 total)
  • Author
    Search Results
  • Hi,

    At first, it’s probably a trade-off between quality and performance when it comes to images. The filter we suggested above was added to balance the two and give users the option to adjust them based on their requirements. If we’re not mistaken, setting the quality to the maximum didn’t previously result in thumbnails with overly large file sizes, or we would never have set it as the default. It’s only recently that this has been happening or reported. Please keep the quality around 70 for now, then use an image compression plugin (Smush, Shortpixel etc) to further optimize the images.

    We’ll forward this thread to our channel.

    Best regards,
    Ismael

    Hi,

    Thanks for reaching out.

    The theme automatically increases the image quality to 100%, but the WordPress default is only 82%. This can be adjusted by using the following filters in the functions.php file:

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); 
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); 
    function avf_set_quality_mod($quality) { $quality = 60; return $quality;}
    

    We recommend setting this to 70 or lower, then install an image compression plugin such as ShortPixel or Smush to further reduce file size and optimize the images. You may need to regenerate the thumbnails after the quality adjustment.

    https://wordpress.org/plugins/force-regenerate-thumbnails/

    Best regards,
    Ismael

    #1485051

    Hey!

    As mentioned earlier, the theme is configured to set a higher image quality than the WordPress default, which explains why the generated thumbnails are larger in file size. It’s also worth clarifying that image uploading and compression are handled entirely by WordPress, not the theme. This should be the same across all WordPress installations, so what you’re seeing isn’t specific to this theme.

    Have you tried adjusting the default compression level to 60 or lower? This should help further lower the file size of generated thumbnails and optimize them.

    After lowering the quality value to 60 or below, you can further enhance site performance by installing an image optimization plugin such as ShortPixel, Imagify, or Smush. This is a fairly standard practice in WordPress optimization, so it’s a bit surprising it wasn’t already suggested by your technical team.

    For more information on site optimization, please feel free to refer to the following links.

    https://gtmetrix.com/wordpress-optimization-guide.html
    https://wpengine.com/resources/improve-wordpress-site-speed/

    Regards,
    Ismael

    #1484993

    Hi,

    Thank you for the update. We were able to reproduce this on our end. To lower the file size, you can reset the default image quality back to 82 or lower by using the filter that we mentioned above.

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); 
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); 
    function avf_set_quality_mod($quality) { $quality = 82; return $quality;}
    

    After adding this code, the file size of the largest thumbnail decreased by more than half. If you want to make it smaller, use a lower quality value.

    View post on imgur.com

    For more info about the filter, please check this link: https://developer.wordpress.org/reference/hooks/jpeg_quality/

    Best regards,
    Ismael

    #1484956

    Hi,


    @soniavoice
    : Would you mind providing the original source of the image so we can upload it on our end? When we uploaded a 4.8MB PNG image directly to an Image element using the Advanced Layout Builder, the resulting full-size thumbnail is only 2MB — less than half the original size. It’s possible that is a plugin or custom script interfering with the WordPress media uploader on your installation.

    Best regards,
    Ismael

    #1484892
    This reply has been marked as private.
    #1484848

    Hey Sonia,

    Sorry for the delay. The theme automatically sets the quality of uploaded images to 100%, but this should not be the reason why the generated files are larger than the originals. Did you install any plugins related to images or compression?

    If necessary, you can reset the image quality to the WordPress default by adding this code to the functions.php file.

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) { $quality = 70; return $quality;}
    

    You may need to regenerate the thumbnails afterward.

    https://wordpress.org/plugins/force-regenerate-thumbnails/

    Make sure to create a site backup or restore point before regenerating the thumbnails.

    Best regards,
    Ismael

    #1484787

    Hi,
    With the child theme you don’t need the WP Code plugin as you could just add the code snippets into your chid theme functions.php file. But it doesn’t cause any issues to use the plugin. So you can use both.
    the plugins:
    Disable XML-RPC
    BETTER SEARCH AND REPLACE
    REGENERATE THUMBNAILS
    you probably don’t need now, since you don’t remember why you installed them.
    When I check your page: https://www.survivalfoodngear.com/long-term-food/
    the titles are using “p” not any “H” heading, so it seems to be working as you wish.
    Shall we close this thread now?

    Best regards,
    Mike

    #1484780

    GOOD DAY… UPDATE: I have successfully installed the child’s theme. One thing to note is that it did not save my theme settings, but I changed them back to my liking.

    Do I need the plug in now? It’s hard to tell what the product type size is now. My goal was to not have it an H2 or H3. The update has the type back to a larger size so it may still be an H size. Not sure how to check this??? CAN YOU ADVISE HOW I CAN BE SURE OF NO H2 OR H3 ON PRODUCTS?
    Since I have this childs theme now, does the code you give me go elsewhere instead of the plug in?

    Is there a link to help me understand the child’s theme and how my changes will not disappear on updates now? I do need to learn this.

    SORRY, I AM DOING THINGS BACKWARDS.

    If you don’t mind, I have one more question about the new theme. Over the years, you guys have helped with plugins and issue settings.

    WITH THE CHILD’S THEME NOW INSTALLED, ARE THESE PLUG-INS STILL NECESSARY?

    Disable XML-RPC – I don’t know what this does, and it says not tested for compatibility.
    BETTER SEARCH AND REPLACE. – Years ago you guys put in… dont remember what it does.
    REGENERATE THUMBNAILS – again, your team put in years ago..

    THANK YOU IN ADVANCE FOR ALL OF YOUR GREAT HELP!!!!

    • This reply was modified 1 week, 2 days ago by extraeyes.
    • This reply was modified 1 week, 2 days ago by extraeyes.
    • This reply was modified 1 week, 2 days ago by extraeyes.
    #1484555

    Hey Bob,

    Thank you for the inquiry.

    If you want the default configuration (Appearance > Customize > WooCommerce) to apply to product images, you can add the following code to the functions.php file:

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }

    Let us know the result.

    Best regards,
    Ismael

    #1484537
    cmactv
    Participant

    This is a continuation of this thread: https://kriesi.at/support/topic/tab-section-height-problem-3/

    Sorry to revisit this after so long. I was initially using this code successfully, but then had a strange problem and forgot to follow up with you on a solution.

    The problem… the text and thumbnails inside the tab section look like they are “pulsating”, slightly moving around. When I remove your code, then the “pulsating” stops. Not sure what is causing it. I’ve included a screening recording below (YouTube link).

    #1484536

    Thank you. I am working on setting up staging so I can convert to the child theme.

    IN THE MEANTIME.. I noticed my other website does not have the font so big, and after all this, I remember years ago I wanted the images bigger, so you gave me this code to put in the QUICK CSS…

    THERE ARE A FEW THINGS YOU GAVE ME IN HERE. CAN WE CHANGE THE PART FOR THE MAGAZINE TO HAVE A SMALLER FONT SIZE USING THIS CODE?

    I am giving you the whole section because I don’t know for sure which part is magazine and which is something else.

    THANK YOU IN ADVANCE FOR HELPING !!!

    THIS IS EVERYTHING IN THE QUICK CSS:
    p strong{
    color:#000!important;
    }

    #top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
    color: white!important;
    }

    .av-magazine-thumbnail {
    min-height: auto;
    }

    #top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
    color: white!important;
    }

    .av-magazine-thumbnail {
    min-height: auto;
    }
    div .slideshow_caption h2 {
    text-transform: none;
    }

    .av-magazine-thumbnail {
    width: 135px;
    height: auto;
    }

    @media only screen and (min-width: 768px) and (max-width: 1024px) {
    h2.avia-caption-title {
    font-size: 30px !important;
    }
    .avia-caption-content p {
    font-size: 22px !important;
    line-height: 24px;
    }
    }

    @media only screen and (max-width: 767px) {
    h2.avia-caption-title {
    font-size: 20px !important;
    }
    .avia-caption-content p {
    font-size: 14px !important;
    line-height: 16px;
    }
    .slideshow_caption {
    padding-top: 20px !important;
    }
    }

    #header_meta .menu li a {
    color: #fff !important;
    }
    .av-burger-overlay-scroll #av-burger-menu-ul a {
    color: #fff;
    }

    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {
    color: #fff;
    }

    .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after {
    background-color: #fff;
    }

    #header_meta .sub_menu .menu li a {
    color: #030303 !important;
    }

    .avia_textblock a strong {
    color: blue !important;
    }

    #1484423
    a_edemirci
    Participant

    Hello,

    I am adding Youtube videos and when I move cursor over the video thumbnails, an overlay appears and push the video title down. Is there a way to remove this overlay. I have disabled the linked image overlays but it did not work. I am not using any caching plugin. Attached you can see the overlay I wish to remove. Thank you….

    #1484196

    Hey Helmut,

    Thank you for the inquiry.

    Those are the thumbnails registered by the theme. If you need to remove them, be sure to create a site backup, then use the remove_enfold_image_sizes function provided in this thread: https://kriesi.at/support/topic/prevent-auto-multi-image-generation/#post-1431800

    Best regards,
    Ismael

    #1484140

    In reply to: Lightbox settings

    Hello,
    for the thumbnail size i managed it, thanks

    But for the scroll, it doesn’t work for me with you code.

    i put this instead and it seams to be OK:

    .mfp-wrap.mfp-gallery.mfp-close-btn-in.mfp-auto-cursor.avia-popup.mfp-zoom-in.mfp-ready {
    top: 0 !important;
    position:fixed!important;
    }

    What do you think about it?

    #1484127

    In reply to: Lightbox settings

    Hey Pierre,

    Thank you for the inquiry.

    You can add this filter to the functions.php file to adjust the thumbnail size used in the lightbox container.

    function avf_alb_lightbox_image_size_mod($size) {
      return "full";
    }
    add_filter('avf_alb_lightbox_image_size', 'avf_alb_lightbox_image_size_mod', 10, 1);

    To disable scrolling when lightbox is active, use this code in the Quick CSS field.

    .mfp-zoom-out-cur {
        height: 100vh;
        overflow: hidden;
    }
    
    .mfp-bg {
        height: 100vh !important;
    }

    Best regards,
    Ismael

    #1483928
    Cristian Andres Tissera
    Guest

    Hi,

    I’m Cristian from http://www.davidibiza.com , an Academy and YouTube channel specialized in WordPress and Online Marketing in Spanish with more than 165.000 subscribers:
    https://www.youtube.com/@davidibiza .

    I am writing to offer you the opportunity to create a fully sponsored video about Enfold – Responsive Multi-Purpose Theme.

    The video will be published on our YouTube channel, and I will also share it with the paying subscribers of our Academy, where there are currently around 2.500 people subscribed.

    Additionally, I will send an email to our mailing list, which currently consists of nearly 3.000 people. On another note, I always share on our Udemy account, where we have almost 46.000 students enrolled in our courses: https://www.udemy.com/user/davidkaos/.
    Similarly, I will also publish the video on our social media platforms (X and Facebook).

    We’re talking about a highly targeted Spanish-speaking audience, and there are certainly many chances that they might be interested in the product you offer.

    I forgot to mention that we can also provide English subtitles for the video so that you can promote it through your marketing campaigns.

    I believe that our YouTube channel resonates deeply with your target audience, making a collaboration between us a natural fit. We’re confident that together, with this video, we can offer something truly valuable to our audience.
    If you’d like to collaborate with us, here’s the plan:
    1. Once we receive the payment, we’ll need access to the premium version of the tool to test it.

    2. After analyzing it, we’ll ask if you have any specific guidelines regarding the video style, how you want to approach it, whether you’d like to offer a discount, key points to highlight, important details for the video description, thumbnail style, etc. If you don’t have this info, we’ll handle it based on the style of our latest videos: https://www.youtube.com/@davidibiza/videos.

    3. Once we have all the details, we’ll send you a content outline for your review.

    4. After you approve it, we’ll start recording the video.

    5. When the video is ready, we’ll send you a private URL so you can review it.

    6. Once you confirm everything is good to go, we’ll publish the video and promote it to reach as many people as possible, making this collaboration a success!

    Would you be interested in discussing the collaboration details?

    Please feel free to reach out if you have any questions or inquiries.

    P.S: I apologize, and please forgive me if I have any errors in English. It’s not my native language, and I might have expressed myself incorrectly in certain parts of this message.

    All the best,
    Cristian Andrés Tissera
    (Email address hidden if logged out)

    https://www.youtube.com/@davidibiza

    #1483735

    Hi,

    Thank you for the update.

    We added this filter in the functions.php file:

    add_filter('avf_wc_before_shop_loop_item_title_img_size', function($thumb) {
    	return 'large';
    }, 10, 1);
    

    A larger version of the product image is now loaded on the shop page.

    View post on imgur.com

    This may vary across different screen sizes due to the srcset attribute and how the browser selects the appropriate thumbnail based on the current screen size.

    Best regards,
    Ismael

    #1483723

    Hey waveseven,

    Thank you for the inquiry.

    The screenshot is not displaying on our end. To make sure the items in the blog grid are the same size, you may need to resize the featured images before uploading them, making sure they have the same dimensions and aspect ratio. Please note that the uploaded images are not cropped or resized exactly based on the specified width and height of the registered thumbnails — aspect ratio of the original image is also taken into consideration. So, two images with different dimensions and aspect ratios may produce different “Portfolio” thumbnails.

    Best regards,
    Ismael

    #1483582

    Hey Dzimnikov,

    Thank you for hte inquiry.

    You may need to adjust the settings under Appearance > Customize > WooCommerce > Product Images. Set the Thumbnail Cropping option to Uncropped, then adjust the width and height values as needed.

    Best regards,
    Ismael

    Hi Ismael.
    First of all, I apologize for the delay in responding, but I have had health problems that have kept me away from work.
    The code you suggested is the optimal solution. In fact, the grid is now perfect! Thanks.
    The initial problem for which this thread was opened remains (Portfolio grid displays thumbnails incorrectly if they are odd).
    Considering the fact that you are always very effective and timely when the reports are effectively documented, I attach a video that I made on the PC simulating what happens on some resolutions.
    Thanks for your time and support too.

    #1481948
    mcbusta
    Participant

    Hi!

    I was trying to create a custom layout containing a section with a dynamic background (Custom Field Image) value: {wp_custom_field:_thumbnail_id}

    It works OK for one post, but background image is being cached and displayed for all other posts as well.

    I dag into the av_section code to find that attribute is being rendered nicely, but the dynamic CSS class (avia-section.av-m8303wih-f038c6badb9db50289ff3c9a39d18731) that defines section background does not update.

    A quick workaround for this scenario:

    // Force bg for secion as it does not update when dynamic avia element is used
    // Enfold forces CSS bg, but it is cached and does not update for different posts
    //  although it is calculated OK for secion atts
    add_filter('avf_sc_section_before_close', function($output, $atts) {
    	if (!$atts['src_dynamic'] ?? false || !$atts['src'] ?? false)
    		return $output;
    
    	$style_attr = ' style="background-image: url('. esc_url($atts['src']) .') !important;"';
    
    	return substr_replace($output, $style_attr, 4, 0);
    }, 999, 2);
    kalla77
    Participant

    Liebes Enfold Team,

    in unserem WooCommerce-Shop werden manche Produktbilder im Grid bzw. in der Produktübersicht quadratisch (also zugeschnitten) dargestellt, während andere Bilder ihr ursprüngliches Seitenverhältnis behalten:
    https://woo.gwup.org/shop/?avia_extended_shop_select=yes&product_order=date&product_count=48
    Bitte runterscrollen!

    Unter Customizer > WooCommerce > Produktbilder haben wir bereits die Einstellung “Nicht zuschneiden: 600 x 300” gewählt, damit Bilder im Originalseitenverhältnis angezeigt werden. Zusätzlich wurde auch “Regenerate Thumbnails” vollständig ausgeführt.

    Trotzdem bleiben die Darstellungen uneinheitlich – einige Bilder erscheinen weiterhin quadratisch.

    Woran könnte das liegen? Gibt es eventuell zusätzliche Enfold-spezifische Einstellungen oder Zwischenspeicherungen, die beachtet werden müssen?

    Ich wäre sehr dankbar für Ihre Unterstützung bei der Klärung dieses Problems.

    Mit freundlichen Grüßen
    Andrè

    English:

    Dear Enfold Team,

    In our WooCommerce shop, some product images in the grid (or product overview) are displayed as squares (i.e., cropped), while others keep their original aspect ratio.
    https://woo.gwup.org/shop/?avia_extended_shop_select=yes&product_order=date&product_count=48
    Scroll down, pllease!

    Under Customizer > WooCommerce > Product Images, we have already selected the option “Uncropped: 600 x 300” to display images in their original proportions. Additionally, we have run “Regenerate Thumbnails” completely.

    However, the display remains inconsistent – some images still appear square.

    Could you please advise what might be causing this issue? Are there any additional Enfold-specific settings or caches that we should take into account?

    I would be very grateful for your assistance in resolving this matter.

    Best regards
    Andrè

    • This topic was modified 1 month, 3 weeks ago by kalla77.
    • This topic was modified 1 month, 3 weeks ago by kalla77.
    #1481131

    Hi again.

    Ok I did like mentioned with Thumbnail Gallery:

    Only issue now: How can I deactivate the transition rotation effect on h:over?
    I did like this:
    animation:
    avia_pop_small 0.0s 1 !important;
    }
    Is there another way to deactivate hover animation?

    Thank you
    Steve

    #1481129

    Hi Mike

    I ask because ENFOLD offers a funtion in VIDEO Mask «Video Steuerung ausblenden» but that unfortunately does not work:
    enfold-Video-player-controls-HIDE

    Any other ideas? If not, I’m considering to create an IMAGE gallery for the Video thumbnails and link them to the Original Youtube videos in lightbox as I only need Video thumbnail with PLAY Button centered.

    What you think?
    Steve

    #1481039

    Hey mosaic,

    Thank you for the inquiry.

    Try to add this css code to adjust the aspect ratio of the thumbnails:

    #top .av-related-style-full .related_image_wrap, #top .av-related-style-full .related_image_wrap img, #top .av-related-style-full .related_image_wrap .related_posts_default_image {
        object-fit: cover;
    }

    Best regards,
    Ismael

    ballindigital
    Participant

    How do I remove the thick black border and dark overlay from the gallery media element?

    View post on imgur.com

    #1480989
    mosaic
    Participant

    Hi, I recently posted about changing the featured image size on my blog posts here: https://kriesi.at/support/topic/blog-post-featured-image-size-4/

    I don’t know if it’s related, but the thumbnails on the related entries element at the bottom of my blog posts are stretched.

    #1480507

    Hi,

    Thank you for the update.

    The image size settings were not being applied because of the post_thumbnail_size filter in the functions.php file. We adjusted the condition a bit.

    if( !is_singular('post') && is_page(1307) ) {
    

    (removed screenshot)

    Best regards,
    Ismael

    Hey mosaic,

    Thank you for the inquiry.

    Try to add this filter in the functions.php file to adjust the default magazine thumbnail size:

    function avf_magazine_defaults_mod( $defaults ) {
        $defaults['image_size']['small'] = 'portfolio';
    
        return $defaults;
    }
    add_filter( 'avf_magazine_defaults', 'avf_magazine_defaults_mod' );
    

    Best regards,
    Ismael

Viewing 30 results - 1 through 30 (of 10,029 total)