You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fixing #25 I instead created this bug. I have now removed the if statment again. I then updated the recipe model and removed the placholder variable and instead added a placeholder image on cloudinary which I directly link to as default in the featured_image field.
Now the following is working fine:
Default image is showing if no image is uploaded
When updating recipe with an uploaded image the new image is showing instead of the default image.
When trying to update a recipe with an uploade picture instead of the default placeholder, it will not update.
The text was updated successfully, but these errors were encountered: