Viewing 30 results - 1,351 through 1,380 (of 10,101 total)
  • Author
    Search Results
  • #1273154

    In reply to: Static related post.

    Hi Ismael

    In the end I have succeeded, I added a new image size, regenerated the thumbnails, and I put this css:

    #top .av-related-style-full .related_image_wrap, #top .av-related-style-full .related_image_wrap img {
        width: 115px !important;
        height: 60px !important;
    }

    it worked but I would like to deactivate the plugin. Is it correct to put it in functions.php child the following code and then desactivate the plugin?

    /* add  related post new size*/
    function ava_image_sizes() { 
    add_image_size('related_post_mini', 115, 60, array('center', 'center'));
    }

    is it correct? oO
    thanks!!!

    • This reply was modified 5 years, 3 months ago by Astrobiologic.

    Hi,
    Sorry for the very late reply and thanks for the links, video, and login.
    I was able to copy the test page shortcode to my localhost and I found that your shortcode is missing the image attachment ID:
    2021-01-16_153349.jpg
    This information is required, it looks like your WP All Import is missing it somehow. In my tests I found that the color section retained the URL to the image in the shortcode, but there is no attachment ID for the image, and this is what WordPress is looking for. Yet because this image doesn’t exist on my server, there is no correct attachment ID to use, thus the image won’t show.
    If I then open the color section and click on the image thumbnail and upload that image to my localhost the shortcode is updated with the correct attachment ID and the image shows.

    So I don’t know if your WP All Import is missing the attachment ID, or if during the import the actual attachment ID for the newly imported image is different and the error results in the ID being removed, or if your not importing the images and are relying on the URL to include the image, which would not work because you will also need the correct attachment ID.

    Best regards,
    Mike

    #1272899

    Hi Rikard, thanks for your help. I’ve installed the plugin and set the jQuery version to 1.12.4-wp but it hasn’t had any noticeable effect. The galleries still aren’t creating thumbnails properly. The same errors are still in the console.

    Cheers,
    Chris MacLeay

    #1272808

    In reply to: Static related post.

    Hey,

    Yes, the thumbnails are already regenerated at 345×180, and I’ve also seen them on the FTP.

    But I don’t know why they keep showing square.

    Now the code does call the 345×180 images correctly. But it shows them square and squashed.:

    Best regards and thanks!!!

    #1272678
    Manuel Curatolo
    Participant

    Good morning,
    Help!! I’m a bit panicked.
    I made the update of the Theme and the site started to work badly or in an anomalous way in the home in the frontend some images have disappeared, in the other pages the thumbnails of the photos are very transparent, in the backend a block of code appeared before of the standard composer.
    I don’t know what to do.

    Give me a hand

    #1272615

    Hi,

    Glad to know that the solution that we provided above works.

    To delete unused images, you could either do it manually by deleting the image from the Media > Library panel — this will also delete the thumbnails for that particular image — or use the following plugin.

    // https://wordpress.org/plugins/media-cleaner/

    Again it is very IMPORTANT that you have a site backup or a restore point before using the plugin.

    Best regards,
    Ismael

    #1272604

    In reply to: Static related post.

    Hi,

    Thank you for following up.

    Did you regenerate the images after adjusting the thumbnail size? You could also upload the images again manually, but regenerating the images is probably much faster and easier. The thumbnail regeneration option is in the same panel as the thumbnail adjustment options. But if you cannot find it in the same panel, try to install this plugin instead.

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

    Best regards,
    Ismael

    #1272576
    cmacleay
    Participant

    I recently started managing a site that had been created with your theme. It hadn’t been updated in quite a while so I purchased a new license for the theme and then cloned the site to a development server to apply the update in a test environment to make sure it would work. Mostly looks great but the image gallery layout doesn’t seem to be working at all and doesn’t seem to be responding when I try to change it to the Big image with smaller thumbnails underneath option.

    The production site is running Enfold 4.3.1

    This page is a good example of how the galleries should look.

    The upgraded development site in now running Enfold 4.7.6.4

    This page is a good example of how the galleries are broken.

    Thanks for your help.

    #1272513

    Yes, now the lightbox shows the images in the original Dmensions, but now i CANT upload pictures.
    YES, i checked several times, sometimes it works, sometimes not.
    But when i remove your code uploads work always

    `function avia_change_masonry_thumbnail_link($size) {
    return “full”;}
    add_filter(‘avf_avia_builder_masonry_lightbox_img_size’, ‘avia_change_masonry_thumbnail_link’, 10, 1);

    Die Verarbeitung des Bildes ist fehlgeschlagen. Der Server ist möglicherweise ausgelastet oder hat nicht genügend Ressourcen zur Verfügung. Eventuell hilft es, wenn Sie ein kleineres Bild hochladen. Die vorgeschlagene Maximalgröße ist 2500 Pixel.
    .

    #1272507

    Hi,

    We just realized that most of the thumbnails generated by the theme are scaled instead of cropped, so the size of those thumbnails might differ depending on the size of the original images. Fortunately, there is a thumbnail called “Shop Catalog” with the crop parameter enabled, so we selected that thumbnail from the Styling > Appearance > Preview Image Size settings to keep the height of the images the same.

    FYI, the login info above is incorrect.

    Best regards,
    Ismael

    #1272506

    In reply to: Error message

    This reply has been marked as private.
    #1272253

    In reply to: Enfold Theme broken

    This reply has been marked as private.
    #1272168

    Hey!

    Alright. The large thumbnail is set as the default size for the lightbox script, and currently the width is set to 1030px. You have to adjust the width and height of the large thumbnail in the Settings > Media panel, and as suggested above, you have to regenerate the thumbnails or upload the images again afterwards.

    Now if you want to decrease the file size of the generated thumbnails or images, please refer to our suggestions above. Just use the filter in the functions.php file, refresh the page and once again, regenerate the thumbnails or upload them again.

    However, if you want to use a different thumbnail size other than the default large thumbnail, try to use the provided filter in the previous thread.

    // https://kriesi.at/support/topic/thumbnail-size-in-galleries-2/#post-1142492

    This should set the lightbox thumbnail size to full instead of large.

    Best regards,
    Ismael

    #1272161

    Hi XV,

    These image sizes are the ones used by shop_thumbnail, shop_catalog, shop_single, shop_gallery_thumbnail however since you mentioned that removing woocommerce_thumbnail, woocommerce_single, woocommerce_gallery_thumbnail results to shop displaying no images. I would suggest using this plugin: https://wordpress.org/plugins/media-cleaner/ which is recommended to removed unused images.
    The plugin also states to have a backup first before using it and also you can check their tutorial: https://meowapps.com/media-cleaner-tutorial/
    And the reason for many image sizes is page speed/performance however the downside of this is eats a lot of storage space.

    Best regards,
    Nikko

    #1272110

    Hi Nikko,

    Thanks again for the reply!

    After removing those image sizes all the shop images have disappeared!

    I’m very confused now.

    If i remove these:

    shop_thumbnail
    shop_catalog
    shop_single
    shop_gallery_thumbnail

    The shop pages show the original images (large resolution)

    If i remove these:

    woocommerce_thumbnail
    woocommerce_single
    woocommerce_gallery_thumbnail

    Then the shop displays NO images at all and i only see a default image.

    Can you help me out with this. I want to get rid of tons of unnecessary images because the site had almost 50GB of images.

    I don’t understand why the shop needs so many images or why enfold even needs so many images. I think the developers should look into this!

    Thanks in advance!

    #1272101

    In reply to: Enfold Theme broken

    Hi,

    I actually edited each element on your page and copied image link from thumbnails, deleted -80×80 part to get fullsized image instead of thumbnails, downloaded them on my computer and re-uploaded them in element :)

    Best regards,
    Yigit

    #1271977

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

    My lesson learned from all this: If you really know something about image optimization, it is sometimes better to embed the original image. Even if performance tools like Gtmetrix complain about browser scaling. The real benefit of those recalculated and cropped files is – that the aspect ratio fits better to f.e. a slider on top – and so you will have more control over the presented image section

    • This reply was modified 5 years, 3 months ago by Guenni007.
    #1271938

    Thanks for your support!

    So the 2 new snippets already work in the Child Theme?
    And your mentioned plugins are these? @Guenni007: What do you mean with “plugin from shortpixel”?

    And if we already upload optimized images for e.g. sliders and want to disable unneeded thumbnails, what exactly can I disable without issues in the Layout Builder?

    Best regards

    #1271847

    Hi,
    sorry for that.. I try it and it really works! Thank You very much.

    Please, can You advise me a plugin for deleting unused images? (For example photos of old=out of shop products.)
    And if I delete image from multimedia library, will be automatically deleted his thumbnails?

    Thanks!

    #1271820

    Hi Nikko,

    Thanks for your reply.

    I have seen that post and I already tried to remove these:

    shop_thumbnail
    shop_catalog
    shop_single
    shop_gallery_thumbnail

    And thats when the webshop stopped functioning correctly. It suddenly displays all the original images instead of the resized ones. Which makes the webshop load time very long!

    I had to restore these image sizes and regenerate 6000 images! which takes forever too haha

    So my question is:

    Can delete the following image sizes?

    woocommerce_thumbnail
    woocommerce_single
    woocommerce_gallery_thumbnail

    And can you confirm these are not being used by Enfold to display the shop images correctly?

    #1271815

    Hi Rhodo,

    Rhodo, please try the solution posted by Guenni007 in this thread: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1270140
    Hope it helps.

    Best regards,
    Nikko

    #1271808

    Summary

    // new snippet to set the compression level of calculted images
    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 = 65;   // compression level what you like in percent
    	return $quality;
    }
    // Snippet to exclude Enfold Image Thumbnail-Formats from generation
    add_action('init', 'remove_enfold_image_sizes');
    function remove_enfold_image_sizes() {
    //  do NOT remove widget size, is used in backend portfolio items!
    //  comment out what you do not like to preserve as available thumbnail size
    //	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');
    }

    after that you can use that plugin from shortpixel to recalculate all Images

    nice tool: because if you got a very big uploads folder with a lot of jpgs – you can use the advanced option by “deselect all” and “delete unselected Thumbnails” – then only the original images stay in uploads folder – save it for backup and then recalculate them to have what you like to preserve

    #1271791

    Hey!

    These file-size is best for the file – but we recognize that a lot of the calculated are much bigger than the original file.

    Since the previous filters are not working in the child theme, it is possible that the quality is still set to 100, or that the compression level was not decreased during the time the images are uploaded, and thus the size of the generated thumbnails are bigger compare to the original image. If am not mistaken, you are already aware of this.

    // https://kriesi.at/support/topic/does-enfold-theme-actually-resize-the-image-it-puts-into-a-post-or-page/#post-1211676

    Cheers!
    Ismael

    #1271789

    Hi Daniele,

    Can you try the snippet by Ismael or Guenni007 in https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1271480 ?
    Just change the $quality value.


    @Guenni007
    thanks, I have tested the snippet and it worked pretty well on my end.

    Best regards,
    Nikko

    #1271788

    Hi,

    The image used in the lightbox container is actually a thumbnail. Please try to add this snippet in the functions.php file to adjust the compression quality of the uploaded images including the thumbnail used in the lightbox container. And after adding the code, refresh the page, then upload the images again or regenerate the thumbnails.

     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 = 80;
    	return $quality;
     }
    

    The theme sets the default quality to 100.

    Best regards,
    Ismael

    #1271716

    left is original / right is compressed image with 55% compression level
    only a little color difference is there – guess my uploaded original has implemented the rgb color profile. i do not know if recalculated Images do have implemented Profiles too.

    to get rid of calculated images the snippet in https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1270140 “// Disable loads of Enfold & WP image sizes upon upload …”
    will do a good job without a plugin.

    #1271714

    I had this issue but if you install this plugin Stop Generating Unnecessary Thumbnails (Formerly Stop Generating Image Sizes)
    You can then disable a ton of sizes, then regenerate thumbnails using another plugin and it will delete all the unrequired ones.

    I cant believe there were 21 in total additional versions of an image. I understand why various sizes are good but 21 seems way to many, surely 3 or 4 is ok? or should be an option to enable or disable in options.

    #1271603
    RJ
    Participant

    Hi,

    I would like to know which image sizes are necessary for Enfold + Woocommerce to work correctly.

    The webshop of a client of mine has over 6000 images which resulted in nearly 50GB of images!

    So to reduce the file size I tried to disable these image sizes:

    shop_thumbnail
    shop_catalog
    shop_single
    shop_gallery_thumbnail

    Since Woocommerce already uses these:

    woocommerce_thumbnail
    woocommerce_single
    woocommerce_gallery_thumbnail

    But then the shop pages of my site didn’t display the right image sizes anymore so i had to restore these.

    So is it right to assume i can delete this image sizes?

    woocommerce_thumbnail
    woocommerce_single
    woocommerce_gallery_thumbnail

    Hope somebody can shine some light on this!

    Thanks in advance!

    Rhodo

    #1271581

    Hi,

    Could you also provide the FTP details? We would like to check if the thumbnails actually exists in the uploads folder. Right now, the grid or the Blog Posts element falls back to the original image instead of displaying the selected thumbnail.

    We actually deactivated the Smush plugin. Did you configure it before?

    Best regards,
    Ismael

    #1271503

    Hi,

    Thank you for the update.

    I try to manually remove them using the following your snippet in the functions.php

    Adding the snippet in the functions.php file will only deregister the thumbnail sizes but it will not remove those that are already generated. To remove the existing thumbnails, you have to regenerate the images using the plugin (Regenerate Thumbnails) that we suggested above. This process might take a while depending on the number of images uploaded in the site, and since the site contains many, expect it to take some time.

    IMPORTANT: Please do not forget to create a backup or a restore point before proceeding with the thumbnail regeneration.

    Best regards,
    Ismael

Viewing 30 results - 1,351 through 1,380 (of 10,101 total)