Currently when deleting a meal the corresponding image is also deleted from the file storage meaning that if you have logged that meal before the image is no longer available for the log pages.
Need to come up with a solution, some suggestions are:
When you log a meal you need to save the image for that logged meal (can be many duplicated image which is not optimal)
When you delete a meal you keep the image so it can be used as reference for the logged versions of that meal
Currently when deleting a meal the corresponding image is also deleted from the file storage meaning that if you have logged that meal before the image is no longer available for the log pages.
Need to come up with a solution, some suggestions are: