Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #984841

    I am importing thousands products into a shop using WP All Import plugin but am getting 16 extra images generated for each one. I have read this forum and the solutions that match my problem don’t work.
    It say coment out this line in functions.php but I can’t find it: avia_backend_add_thumbnail_size($avia_config);
    And the plugin you suggest (simple image sizes) doesn’t do anything. When I save changes it rechecks them all and the options don’t seem related to the images that are generated.
    The only image sizes I need are those needed for woocommerce products. They are all square and none of them should be cropped.
    Please can you help.
    Thanks
    Rob

    #985053

    Hey fanlokbun,

    Here is an article for you to consider:

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #985190

    Thanks Victoria I have read it but it doesn’t tell me anything new.
    I have disabled the generation of theme images by adding this to my functions.php but it doesn’t do anything. I still get 18 images for every one:
    //avia_backend_add_thumbnail_size($avia_config);
    The simple image sizes plugin has no affect. Whatever I do it resets to what it was before as if it is being overridden by the Enfold theme.
    Please tell me how to generate ONLY those images needed for Woocommerce products.
    I have 20,000 images to import. It will generate 280,000 unneeded images if we can’t get it sorted!

    • This reply was modified 6 years, 4 months ago by fanlokbun.
    #985768

    Hi,
    Please try setting up the simple image sizes plugin this way, go to WordPress > Dashboard > Settings > Media > Media Settings
    and change all of the image sizes to zero:
    2018-07-15_161053
    then click the save changes button.
    I tested this again just now and my upload only generated the one original file and 3 woocommerce files 100px, 300px, & 600px
    2018-07-15_161749
    I know the screenshot looks like 6 files, but in the uploads folder it was only 3 woocommerce images.

    Best regards,
    Mike

    #985937

    Worked! Well done Mike! Thanks very much for all your effort!
    Rob

    #986194

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Image sizes’ is closed to new replies.