• @seenthis #seenthis
    Love this platform!
    One feedback as newcomer, on the profile editing page, when uploading several attachments or an attachment more than 6MB I get an error. There’s an error that could be fixed with an adjustment of nginx.conf (increase max body size). “Nginx Error: Request Entity Too Large”. Even if the only result may be that the site will inform me that my images are too large. At least then users know to make their images smaller.

    Image:

    • @b_b yes, that’s a good idea. I would set nginx to:

      # set client body size to min 30M #
      client_max_body_size 30M;

      and PHP’s upload_max_filesize to 18M.
      Or whatever you think is adequate for filesize.

      It’s better to get a “file too large” error from the PHP layer than NGINX’s request entity too large.

      Files above 10MB could also be reduced and stored as JPG/WEBP on the sever instead of large image files. Some phones have insane resolutions nowadays.

      Btw I’m very happy about the latest addition to SPIP with image_oriente_selon_exif that was another issue when uploading phone images with exif rotations.

    • The question is should we let people use large image on profile (because it’s he only part of seenthis needing image upload).

      Btw I’m very happy about the latest addition to SPIP with image_oriente_selon_exif that was another issue when uploading phone images with exif rotations.

      This will not be available here since seenthis.net use an outdated version of #SPIP