mealie-recipes / mealie

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor
https://docs.mealie.io
GNU Affero General Public License v3.0
7.23k stars 727 forks source link

[BUG] - Missing error message on image upload #4494

Open kristijandraca opened 2 hours ago

kristijandraca commented 2 hours ago

First Check

What is the issue you are experiencing?

I tried to upload photo of my meal, but photo was to large. At first I wasn't aware what was the issue. Ideally Mealie would resize image to some maximum size, or at least show error so user is aware what is the problem.

Steps to Reproduce

  1. Create new recepie
  2. Try to add large photo eg. https://unsplash.com/photos/cooked-food-and-gold-colored-saucer-Q5mPPGld5Zk (Download original size)
  3. Nothing will happen.

Please provide relevant logs

Not needed.

Mealie Version

v2.1.0

Deployment

Docker (Linux)

Additional Deployment Details

No response

michael-genson commented 2 hours ago

Mealie doesn't impose size restrictions on images, this is determined by your web server. You can configure your web server to permit large images.

I do agree Mealie should indicate this somehow with some sort of failure message. I'm not 100% it's possible, but it probably is.