Viewing 30 results - 1 through 30 (of 10,073 total)
  • Author
    Search Results
  • #1491318

    Hi,

    Yes, if the thumbnail size is disabled, the default thumbnail with that dimension will no longer be generated and all images will be regenerated without it. It’s IMPORTANT to create a full site backup or restore point before proceeding with any of these steps.

    If you’re comfortable with scripting, you can also remove specific thumbnails in batch if the regeneration process fails to remove them.

    Best regards,
    Ismael

    #1491303
    finchkelsey
    Participant

    Hello,
    Looking to install an image view like this one.

    Has multiple thumbnail sliders on the right with conditional color options. The color slider changes depending on which door is chosen. And the door image thumbnail is different from the door image that displays, so lots of options. Can you suugest something that may work within enfold or a plugin?

    https://www.chiohd.com/homeowners/garage-doors/accents

    Thank you

    #1491293

    If I regenerate the thumbnails will all the srcset definitions be changed to remove the’ xyz x 400.jpg’ references?

    #1491259

    Hi,

    When portrait format images were uploaded originally, Enfold portfolio size image (495x400px) was enabled.

    You may need to regenerate the thumbnails to delete the disabled thumbnails. Have you tried any of these plugins?

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

    Make sure to create a site back up before using the plugins.

    I also know that I’ve got some uploaded images with an original width of 400px so just targeting “400” in srcset isn’t an option,

    Unfortunately, this is not possible without manually targeting each image. You may need to keep the thumbnails with a 400px height. As mentioned above, the file size difference between these thumbnails is very negligible, so it won’t really make much difference whether they are enabled or disabled.

    Best regards,
    Ismael

    #1491212

    Hi,

    Thank you for the info.

    The leaflet image is not displaying, even on desktop view. There’s not much difference in file size or page loading impact between the 170×400px and 64×150px thumbnails, so I wouldn’t worry about that. Which thumbnails have you removed so far?

    function avf_wp_calculate_image_srcset_mod( $sources ) {
        foreach ( $sources as $width => $image ) {
            if ( $width == 170 || $width == 400 ) {
                unset( $sources[$width] );
            }
        }
        return $sources;
    }
    add_filter( 'wp_calculate_image_srcset', 'avf_wp_calculate_image_srcset_mod' );
    

    Also, why are you using gif as the image format? for non-animated images, it’s better to use jpg, png or webp.

    Best regards,
    Ismael

    #1491141

    a function like this to remove the image-sizes enfold likes to have:

    function remove_enfold_image_sizes() {
    // do NOT remove widget size, is used in backend portfolio items!
    // remove_image_size('widget');
      remove_image_size('square');
      remove_image_size('featured');
      remove_image_size('featured_large');
      remove_image_size('portfolio');
      remove_image_size('portfolio_small');
      remove_image_size('gallery');
      remove_image_size('magazine');
      remove_image_size('masonry');
      remove_image_size('entry_without_sidebar');
      remove_image_size('entry_with_sidebar');
      remove_image_size('shop_thumbnail');
      remove_image_size('shop_catalog');
      remove_image_size('shop_single'); 
      remove_image_size('shop_gallery_thumbnail');
    }
    add_action('init', 'remove_enfold_image_sizes');

    i guess does only influence the calculation of newly uploaded images.
    The former uploads are not influenced on that. So these sizes are still in your uploads folder. (have a look by ftp inspection if this is the fact)
    the use of Force Regenerate Thumbnails – removes those already calculated image-sizes that are not registered.

    #1491138

    @Guenni007 – refresh and re-enable didn’t work.

    If I regenerate the thumbnails will that force a code change to all the srcset definitions? That’s what I need, something to force the HTML on each page to “regenerate” and only pick up the image sizes that now remain in the Media Library, removing all the references to the deleted sizes. I don’t understand why Updating a page doesn’t force such a reset/regeneration.

    #1491135

    Did you try to disable temporarly on performance the option : Responsive Images
    then refresh all cachings and reenable the option again.
    Maybe that will do the job.

    Next: have you regenerated the thumbnails – best is Force Regenerate Thumbnails plugin for that

    #1491128
    zimbo
    Participant

    I need some help please to tweak a function you supplied to me in this thread last year.

    The function removes 495px wide images from srcset: these images were originally created on upload but then deleted as they were no longer used anywhere but unfortunately were still included in srcset definitions and didn’t display.

    function avf_remove_specific_image_size_from_srcset( $sources, $size_array, $image_src, $image_meta, $attachment_id ) {
        if ( isset( $sources[495] ) ) {
            unset( $sources[495] );}
        return $sources;
    }
    add_filter( 'wp_calculate_image_srcset', 'avf_remove_specific_image_size_from_srcset', 10, 5 );

    The image URL in srcset was …image-name-495×279.jpg, …image-name-495×335.jpg etc i.e. landscape images.

    I have now discovered a problem that portrait images that were uploaded as 400px tall but then also deleted are referenced in srcset and not being displayed, e.g. …image-name-170×400.gif and …image-name-268×400.gif as two examples.

    The above filter appears to work just on the first part of the image size URL specified in srcset, i.e. if I change 495 to 170 then the deleted 170×400.gif reference gets removed from srcset. I’ve tried $sources[x400] but that just crashes the site… :-)

    Is there a function/filter, or modification to the above, that can remove all the 400px tall portrait references as well as 495px wide?

    #1491090

    Hi,

    Did you regenerate the thumbnails using the plugins suggested above? You could also try re-uploading the featured images.

    Best regards,
    Ismael

    #1490967

    PS : you should use for the thumbnails in the grid recalculated smaller images e.g.

    you are now using the full image (no-scaling).

    #1490886

    Hi,

    Thank you for the update.

    Try to add this code to the functions.php file to adjust the size of the thumbnails used in posts.

    function avf_modify_thumb_size_mod( $size_array ) {
        $size_array['entry_without_sidebar'] = array('width' => 9999, 'height' => 9999);
        $size_array['entry_with_sidebar'] = array('width' => 9999, 'height' => 9999);
        return $size_array;
    }
    add_filter( 'avf_modify_thumb_size', 'avf_modify_thumb_size_mod', 10, 1 );

    After adding the filter, make sure to create a site backup, then use one of the following plugins to regenerate the thumbnails.

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

    Best regards,
    Ismael

    #1490502

    In reply to: Monster Thumbnails

    The Problem is solved!

    I used the filter hook ‘post_thumbnail_size’ to “persuade” WordPress not to use cropped image sizes in the archive of the “Organisation” post type.

    But how do I set this correctly? These are just logos, and now they’re cropped again in an ugly way. Can you please help me to, how to to achieve this.

    Sorry for wasting your time with a problem of my own making!
    Günter

    #1490494

    In reply to: Monster Thumbnails

    Hi Ismael,
    sorry, I forgot to unlock the file editor in admin, now you can see for yourself what modifications I made in the child.

    All file sizes for all images are present in the upload folder. I’m afraid simply replacing the current images with newly generated ones won’t help Enfold find the correct format. Normally, thumbnail image tags have the classes “attachment-widget size-widget.” In my case, it’s just “attachment- size-“.

    I don’t know where Enfold gets the string “widget” from. I think I destroyed this necessary value somehow. Perhaps the value of this required meta or option entry can be restored using some filter like ‘admin_post_thumbnail_size’ or directly in the database. Or am I wrong?

    Best regards
    Günter

    #1490488

    In reply to: Monster Thumbnails

    Hey Günter,

    Thank you for the inquiry.

    Did you make any modifications to the child theme’s functions.php file? You can try regenerating the thumbnails using any of the plugins listed below.

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

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

    Best regards,
    Ismael

    #1490470

    Topic: Monster Thumbnails

    in forum Enfold
    günter
    Participant

    I exported pages using WP-All Import and then reimported them as portfolio entries. I must have made a mistake with the image settings.

    In any case, the thumbnails in the post and portfolio listing lists don’t appear at 60 x 60 px, but at full size. The image also displays a strange class with spaces.. WP-Allimport support told me I needed to contact you.

    You’ll find screenshots and admin access in the private section. Could you please help me get everything back to normal.

    Regards
    Günter

    #1490163

    Hey monsterdmkt,

    Thank you for the inquiry.

    It’s possible that the gallery is set to use a specific thumbnail in a different format, usually jpg or png, which is the WordPress default when generating thumbnails. Try to edit the horizontal gallery, go to the Styling > Gallery panel, then set the Image Size settings to No scaling to use the original image source.

    Screenshot-2025-10-14-at-12-28-22-PM

    If the issue persists, please create a test page and provide the URL in the private field.

    Best regards,
    Ismael

    hostworks
    Participant

    My problem is that the full width easy slider is not seen as accessible by our Accessibility vendor, as it presents as a list item.

    https://www.integralrecoveries.com/leadership-copy/

    Per the team:

    Lists: Remove List HTML
    Content that does not function as a list should not be coded as such.
    The header thumbnail image is coded as being a part of a list when it should not be.

    Remediation Recommendation
    Ensure this content is not coded as a list. Generally, this will mean removing <ol>, <ul>, <dl>, <dt>, <dd>, or <li> elements that are holding this content.

    Here is a snippet of the code displaying the Full width easy slider:

    Here is the code snippet I'm referring to '''<li class="avia-slideshow-slide av-juo9jzkl-8700c68c0f38de355eb6ad66836a0d85__0 av-single-slide slide-1 slide-odd next-active-slide active-slide" style="visibility: visible; opacity: 1; transition: none; transform: translateZ(0px);"><div data-rel="slideshow-1" class="avia-slide-wrap "><img decoding="async" fetchpriority="high" class="wp-image-621 avia-img-lazy-loading-not-621" src="https://www.integralrecoveries.com/wp-content/uploads/2019/06/Header_About2000x300.jpg" width="2000" height="300" title="Header_About2000x300" alt="" itemprop="thumbnailUrl" srcset="https://www.integralrecoveries.com/wp-content/uploads/2019/06/Header_About2000x300.jpg 2000w, https://www.integralrecoveries.com/wp-content/uploads/2019/06/Header_About2000x300-300x45.jpg 300w, https://www.integralrecoveries.com/wp-content/uploads/2019/06/Header_About2000x300-768x115.jpg 768w, https://www.integralrecoveries.com/wp-content/uploads/2019/06/Header_About2000x300-1030x155.jpg 1030w, https://www.integralrecoveries.com/wp-content/uploads/2019/06/Header_About2000x300-1500x225.jpg 1500w, https://www.integralrecoveries.com/wp-content/uploads/2019/06/Header_About2000x300-705x106.jpg 705w, https://www.integralrecoveries.com/wp-content/uploads/2019/06/Header_About2000x300-450x68.jpg 450w" sizes="(max-width: 2000px) 100vw, 2000px" style="left: 0px;"></div></li>'''

    I’ve tried several options:

    The image is set as 2000px x 300px btw.

    1) Displaying as an image (no scaling, original width & height) – why doesn’t this work, it would solve many problems.

    2) Color section – I’ve tried all options under Section Height including – Minimum Custom height in % based on browser windows width (responsive). However, it is not responsive (using 15% custom height for example). When you minimize for phone, it just blows up the left portion of the image height and does not adjust horizontally.

    3) full width easy slider – This is what I’ve been using on all pages, which is responsive and is being rejected by the accessibility team as it uses a list element to display.

    I’ve setup the following test page to show the differences of the three approaches with text headers

    https://www.integralrecoveries.com/leadership-copy/

    Inspect the page and display as an iphone 14 Max and you will see what happens. See attachment below

    Three options in mobile

    How can I fix this? I’m just trying to display a page header that is not coded as a list.

    Thank you very much in advance!

    • This topic was modified 1 month ago by hostworks. Reason: Forgot to present code per your editing window requirements

    Hi Ismael

    I have already tried all if the above suggestions. The execution time is set to 2048M for memory limit, execution time upload file size and the above thumbnails are already removed. And only the minimum file sizes are being created

    ;+StackCP
    asp_tags = 1
    auto_append_file = 
    auto_prepend_file = 
    display_errors = 0
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    file_uploads = 1
    max_execution_time = 300
    max_file_uploads = 16
    max_input_time = 60
    max_input_vars = 2500
    memory_limit = 2048M
    output_buffering = 0
    post_max_size = 2048M
    short_open_tag = 1
    upload_max_filesize = 2048M
    zlib.output_compression = 1
    ;-StackCP
    #EOF

    The site is with 20i. Would there be something in the server setup that needs turning off/on that is clashing with the enfold theme?

    SERVER
    Server architecture	Linux 5.14.0-570.25.1.el9_6.x86_64 x86_64
    Web server	Apache
    PHP version	8.3.26 (Supports 64bit values)
    PHP SAPI	fpm-fcgi
    PHP max input variables	2500
    PHP time limit	300
    PHP memory limit	2048M
    Max input time	60
    Upload max filesize	2048M
    PHP post max size	2048M
    cURL version	8.1.2 OpenSSL/1.1.1t-fips
    Is SUHOSIN installed?	No
    Is the Imagick library available?	Yes
    Are pretty permalinks supported?	Yes
    .htaccess rules	Custom rules have been added to your .htaccess file.
    robots.txt	Your site is using the dynamic robots.txt file which is generated by WordPress.
    Current time	2025-10-06T07:39:04+00:00
    Current UTC time	Monday, 06-Oct-25 07:39:04 UTC
    Current Server time	2025-10-06T08:38:59+01:00
    
    DATABASE
    Database Extension	mysqli
    Server version	10.6.18-MariaDB-log
    Client version	mysqlnd 8.3.26
    Database username	W7-RUgbyB0aTs-1724-353037373107
    Database host	wpdb-32.hosting.stackcp.net
    Database name	W7-RUgbyB0aTs-1724-353037373107
    Table prefix	gko86fse9kn6r_
    Database charset	latin1
    Database collation	
    Maximum allowed packet size	134217728
    Maximum connections number	1024
    
    IMAGE HANDLING
    Active editor	WP_Image_Editor_Imagick
    ImageMagick version number	1809
    ImageMagick version string	ImageMagick 7.1.1-43 Q16-HDRI x86_64 22550 https://imagemagick.org
    Imagick version	3.7.0
    File uploads	Enabled
    Maximum size of post data allowed	2048M
    Maximum size of an uploaded file	2048M
    Maximum effective file size	2 GB
    Max simultaneous file uploads	16
    Imagick Resource Limits	
    area: 502 GB
    disk: 9.2233720368548E+18
    file: 768
    map: 251 GB
    memory: 126 GB
    thread: 1
    time: 0
    ImageMagick-supported file formats	3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVCI, AVI, AVIF, AVS, BAYER, BAYERA, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FFF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, JXL, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MDC, MEF, MIFF, MKV, MNG, MONO, MOS, MOV, MP4, MPC, MPEG, MPG, MPO, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, RWL, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, SRW, STEGANO, STI, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCBCR, YCBCRA, YUV
    GD version	2.3.3
    GD supported file formats	GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
    Ghostscript version	9.54.0

    Regards
    Colin

    Hi,

    We are not encountering this issue on our end, and there have been no similar reports from other users, so this is probably related to your server configuration or specifications. Where is the site hosted, and what are the server specs?

    If you have access to your PHP configuration or php.ini, try to add the following options:

    max_execution_time = 300
    memory_limit = 512M
    upload_max_filesize = 20M
    

    You can also add it in the .htaccess file in the root directory of your WordPress installation.

    php_value max_execution_time 300
    php_value memory_limit 512M
    php_value upload_max_filesize 20M
    

    Another thing you could try is disabling the thumbnails generated by the theme using this filter in the functions.php file:

    
    add_action('init', 'ava_remove_enfold_image_thumbnails');
    function ava_remove_enfold_image_thumbnails() {
      remove_image_size('square');
      remove_image_size('featured');
      remove_image_size('featured_large');
      remove_image_size('portfolio');
      remove_image_size('portfolio_small');
      remove_image_size('gallery');
      remove_image_size('magazine');
      remove_image_size('masonry');
      remove_image_size('entry_without_sidebar');
      remove_image_size('entry_with_sidebar');
      remove_image_size('shop_thumbnail');
      remove_image_size('shop_catalog');
      remove_image_size('shop_single'); 
      remove_image_size('shop_gallery_thumbnail');
    }
    add_filter( 'intermediate_image_sizes_advanced', 'ava_intermediate_image_sizes_advanced_mod' );
    function ava_intermediate_image_sizes_advanced_mod( $sizes ) {
     unset( $sizes['large']);
     unset( $sizes['medium_large']);
     return $sizes;
    }
    

    We recommend reaching out to your hosting provider for additional assistance.

    Best regards,
    Ismael

    #1489783

    Here we are again. We updated the theme and now the blog images aren’t working correctly. I added the code you gave me last time to the custom css, but it’s still not working. Here’s what I added:

    #top.single-post .fullsize .template-blog .big-preview img {
    width: 1200px;
    min-height: 630px;
    }

    I tried regenerating thumbnails, but no change.

    Why isn’t this working?

    #1488786

    Hey waveseven,
    This is due to the default image compression settings, Enfold unpacks the original file and generates new thumbnail sizes without applying compression, resulting in larger file sizes, especially for larger dimensions like “featured”, “featured_large”, and “extra_large”. This occurs because the theme sets the default JPEG quality to 100, which is higher than the typical WordPress default of 80, and the generated files are not compressed during the resizing process.
    To change the compression of new thumbnail sizes, add this code to the end of your child theme functions.php file in Appearance ▸ Editor and adjust to suit.

    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;}

    For thumbnails already created you will need to regenerate the thumbnails

    Best regards,
    Mike

    #1488701

    Hi,

    Since we adjusted the size of the thumbnail, the aspect ratio changed. To address that, please add this css code:

    .big-preview img, .small-preview img {
        object-fit: cover;
        height: 82px;
    }

    Please review the css code above to eliminate the dotted line and make the featured image full width on mobile view. You can also post the login details in the private field so we can check the modification.

    Best regards,
    Ismael

    #1488456

    Hey Taha,
    Thanks for your patience, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_filter('avf_modify_thumb_size', 'custom_modified_thumb_sizes', 10, 1);
    function custom_modified_thumb_sizes(array $sizes) {
        $sizes['tab_thumb'] = array('width' => 260, 'height' => 80, 'crop' => true);
        return $sizes;
    }

    then upload a new image, then add your image to the image element:
    Screen Shot 2025 08 23 at 3.46.38 PM
    then go to the style tab and select the new size:
    Screen Shot 2025 08 23 at 3.49.34 PM
    the backend may show the full uncropped image, but the frontend will show the new image size.
    After testing, if you want all of your images to have this new size, install the Regenerate Thumbnails plugin and run it.
    Since your new size won’t work will for most images changing 'crop' => true); in the code to 'crop' => false); won’t help, unless you are uploading a image that is already 260×80, or a multiple of that aspect ratio without cropping.
    For example, this image was a very large image, and after Regenerate Thumbnails it shows the in the new size:
    Screen Shot 2025 08 23 at 4.05.24 PM

    Best regards,
    Mike

    #1488420

    Hi Ismael.
    Thanks for your time.

    “To increase the size of the thumbnail, please add this filter in the functions.php file…” Unfortunately, I don’t see any differences from before, even by clearing the device cache.

    “Then, include this CSS code inside the CSS media query to remove the dotted line…” The dotted line does indeed disappear, but unfortunately, the images are no longer visible either.

    Regards.

    #1488334

    Hi,

    Thank you for the update.

    To increase the size of the thumbnail, please add this filter in the functions.php file:

    function avf_post_featured_image_link_mod( $image_link, array $current_post, $size ){
      $image_link = get_the_post_thumbnail( $current_post['the_id'], 'full' ); 
      return $image_link;
    }
    add_filter( 'avf_post_featured_image_link', 'avf_post_featured_image_link_mod', 10, 3 );

    Then, include this css code inside the css media query to remove the dotted line:

    .responsive #top #main .sidebar, .responsive .post_author_timeline, .responsive .template-blog .blog-meta {
        display: none;
    }

    Best regards,
    Ismael

    #1486953

    Hi,

    We added the filter in the functions.php file. To adjust the size of the shop thumbnails, you can configure the options in the Appearance > WooCommerce > Product Images panel.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    It might be due to the srcset attribute, which allows the browser to select different versions of the image from the available thumbnails based on the current screen size and the device’s DPI. DPI is an important point here, because the browser will not necessarily pick the smallest version on a small phone if the device’s DPI is around 2.5, for example. It will recalculate and compensate for the high-resolution screen and select a larger version of the image, in the case of the first slide, the original version of the image, which is 1335×1333px.

    https://html.com/attributes/img-srcset/

    Best regards,
    Ismael

    #1486238
    extraeyes
    Participant

    Good morning,

    You helped me fix this last time. I have now uploaded the child’s theme, and your settings have disappeared. I entered the code in the custom code field, and, as before, it did not work. AND THERE IS ANOTHER BIG ISSUE WITH THE NEW INSTALL. On the phone the products are majorly out of wack! Type is all over the place. Can you help with this then check on a phone to see if it appears right?? THANK YOU IN ADVANCE!! I uploaded the old Enfold theme settings with the new install but maybe because you changed it at the Php level it did not transfer.

    I HAVE COPIED AND PASTED WHAT YOU DID THE LAST TIME. HERE IT IS. YOU ADDED IT TO MY PHP FUNCTION, WHICH I DO NOT KNOW HOW TO DO.

    Hi,Thank you for your patience, on the page /fine-art-limited-editions/ I see the images are cropped to 450px square:
    Enfold_Support_3642.jpeg

    and your original images are in a 4:3 layout:
    Enfold_Support_3644.jpeg

    I couldn’t find the snippet that Ismael provided above anywhere, so I added it to th end of youe functions.php and now the images look like the original layout:
    Enfold_Support_3646.jpeg

    please clear your browser cache and check.
    I see you are not using a child theme and so this customization will be lost when you update next, I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets so your customizations won’t be lost.

    Best regards,
    Mike

    HERE IS THE SNIPPET THAT THE THREAD SAID YOU ADDED.

    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’;

    • This topic was modified 4 months, 2 weeks ago by extraeyes.
    • This topic was modified 4 months, 2 weeks ago by extraeyes.
    • This topic was modified 4 months, 2 weeks ago by extraeyes.

    Hello Ismael,
    thank you for your suggestion, but neither blog posts, content slider etc. would work for our content. Those thumbnails in the horizontal gallery ARE images, that are linked to external press articles. They are not intended to be readable, but they should not be cropped. If you click on them, then the article (all from external newspapers) show the full content.
    So no post or content slider would work.
    I do not understand, why the horizontal gallery has no possibility to show its images in full size, without cropping. Who wants their images to be cropped in mobile view??
    I really do not understand, why there is so much CSS code needed to make them show correctly… in my opinion this element is NOT CODED RESPONSIVE.

    Best regards
    Bettina

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