• Resolved azzkikr

    (@azzkikr)


    Plugin does not resize images automatically after upload.
    I have cleared my browser cache and also purged the page.
    Still same problem.
    It is working fine after regenerating thumbnails for these newly uploaded images.

    • This topic was modified 4 years, 9 months ago by azzkikr.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nabil Lemsieh

    (@nlemsieh)

    Hi @azzkikr

    Images uploaded through the product admin page are automatically resized. However, the ones uploaded directly through Media Library are skipped because they are not attached to any product yet (this prevents non-product images from being resized such as blog images). The good news, you can change this behavior and still resize those images even they are not attached yet, by adding this code snippet to your theme functions.php:

    
    add_filter('wp_sir_process_media_library_upload', '__return_true');
    

    If you don’t like using snippets, we’ll be adding a visual option to enable that on the fly in the next release ( coming next week ), take a look.

    Thread Starter azzkikr

    (@azzkikr)

    That makes sense. Thank you.
    Waiting for the update.

    Plugin Author Nabil Lemsieh

    (@nlemsieh)

    Hi @azzkikr

    A new update has been shipped, which includes the ability to decide whether to resize images uploaded directly through the media library. Please update and let me know how it goes.

    Best,
    Nabil

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New Uploads not resizing’ is closed to new replies.