• Resolved tompeace

    (@tompeace)


    Hello, when a member or visitor of my website uploads an image, it is not automatically resized. How can I achieve that all images uploaded on my front end are also resized?

    Right now, only images that I am uploading in my admin panel are being resized, however, I need this feature to apply to all images uploaded to my website, because I mostly expect user generated content on my website.

    Can you please help me with this? Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @tompeace

    I hope you’re well today!

    As a “last resort” workaround, you can always run bulk-smushing on images from time to time and if images are added to Media Library, they’ll get optimized. Those that were already processed, will not get “double-compressed” so no need to worry about that.

    As for automatic compression, plugin should run it every time image is uploaded to Media Library if “Automatically compress my images on upload” option is enabled in Bulk Smush settings.

    However, you mentioned uploading on front-end so the requirement is that
    – image must be added to Media Library on upload (and not just put in some folder without adding standard Media Library DB entry)
    – and it needs to use WordPress core methods for upload so that could trigger smusing process.

    If automatic compression is not happening then it’s possible that the upload method is in some way “non-standard” or “custom” or, in some other way, conflicts with Smush.

    Would you please tell me what (plugin – if yes, what is it? custom code – if yes, could you share the code) is used to provide that upload capability?

    Let me know and we’ll check it to see if it can work with Smush and if so, how to make it work.

    Best regards,
    Adam

    Thread Starter tompeace

    (@tompeace)

    I’m using this plugin – https://www.wpgmaps.com/ with “Visitor generated markers” add on – https://www.wpgmaps.com/visitor-generated-markers-add-on/

    It is a plugin that creates a community map, into which visitors of my website can put markers, together with images. And I need to resize these images…

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @tompeace

    Thank you for the explanation.

    As Adam let you know, Smush will automatically compress the images that are uploaded using the WordPress core upload functions, in case those images are not being compressed it means the images are being uploaded using a different way and you would need to contact the plugin developers to improve this behaviour.

    Best Regards
    Patrick Freitas

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @tompeace,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automatically resize user generated images’ is closed to new replies.