• Resolved Lori Boone

    (@pleazo)


    Hello,

    What is this best way to work with Smush and a multivendor market place website which has many shops on the site which upload their own images? Is there a way to have a size detector (which shows an warning message that the image is too large) when a shop uploads an image in woocommerce (and reject them)?

    Best,
    Chris

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @pleazo

    I trust you’re doing well!

    You may network enable the plugin and set the settings that will apply on all subsites of your multisite. Or you may allow to an admin if each site to set their own settings.

    Is there a way to have a size detector (which shows an warning message that the image is too large) when a shop uploads an image in woocommerce (and reject them)?

    A feature like this is implemented to a WordPress by default. From your network admin, please open Settings > Network Settings, scroll to Upload Settings. Tick on the Limit total size of files uploaded to and set the max size image that can be uploaded. Please see this screenshot:
    https://take.ms/Y8xUC

    Have a good day and take care!

    Kind regards,
    Nastia

    Thread Starter Lori Boone

    (@pleazo)

    Hi Nastia,

    Sorry I am a bit confused. I only have 1 site with many multi vendors opening shops on the same site, so it’s not really a multisite. Not sure if that changes anything?

    You may network enable the plugin and set the settings that will apply on all subsites of your multisite. Or you may allow to an admin if each site to set their own settings.

    How can I network enable the plug in?

    Also regarding:
    A feature like this is implemented to a WordPress by default. From your network admin, please open Settings > Network Settings, scroll to Upload Settings. Tick on the Limit total size of files uploaded to and set the max size image that can be uploaded. Please see this screenshot:
    https://take.ms/Y8xUC

    When I click on settings, there is no network settings there: https://snipboard.io/pYMzF7.jpg. By “network admin” this is for multisites correct?

    Best,
    Chris

    Hello Chris

    I trust you’re doing well.

    All the instructions above are shared for the WordPress Multisite installation.

    If you’re on a Single WordPress installation you may enable the plugin on your site from wp-admin, Plugins > Installed Plugins. The Smush will optimize all images that are being uploaded to the media library, make sure the Automatic compression is enabled. Please see this screenshot:
    https://take.ms/CkLs5

    To set a maximum upload file size, please edit the .htaccess file and add this line:
    php_value upload_max_filesize 64M

    Where 64M is the maximum file size. You may change this value to anything else. To access this file, please use a File Manager on your hosting or SFTP/FTP account.

    Another way is to add this line to the php.ini file:
    upload_max_filesize = 25M
    If the php.ini doesn’t exist, please feel free to create it and place it in the main site’s directory root.

    Have a good day and take care!

    Kind regards,
    Nastia

    Hello @pleazo

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image optimization for multi vendor site’ is closed to new replies.