Content Delivery strips out incomplete media items...
# help-with-umbraco
t
We have a Media type Image (default one), but with an added "alt text" field. We've made this field required for our customer. However, it's still possible to drag and drop images in the image uploader and as such bypass entering the alt text. Client has hundreds of "non-alted" images as a consequence. Fast forward to us trying to fetch pages with all their properties over the Content Delivery API. It turns out that if you use a media picker and pick an image that lacks text in the required alt text field, this media item will NOT be returned over the API. I guess you can argue both ways for this being the correct behavior or not. The problem is, it's easy for the client to save pages in this broken state, and the images wont show up then, which is worse behavior than if it were to show empty alt texts for these images. We can "solve" this by not making the alt field required, but I wonder if anyone can see a way around this somehow, to make it possible to fetch these media items over the API still?