Posts that use the old image field, are cutoff when no image was uploaded.
Solution:
This PR adds some minor sanity checks to prevent this from happening.
Testing:
Create a post in a survey that uses the old image field, but importantly this field cannot be the last one in the post. Make sure there are fields filled in after the image field and that the image field itself is empty (no file uploaded).
Open the post in detail view.
See that all fields are included in the view and the post is not cutoff.
Issue:
Posts that use the old image field, are cutoff when no image was uploaded.
Solution:
This PR adds some minor sanity checks to prevent this from happening.
Testing: