0
I’m using the vuetifyjs Carousel,I’m consuming an api and it works well but when comes an image that does not exist or broken, it is giving error:
How do I make it to leave a standard image for when it is wrong and stop giving that error on the console?
<v-carousel class="carrosel" xs6>
<v-carousel-item
v-for="(item, i) in p.images"
:key="i"
:src="item"
aspect-ratio="5"
></v-carousel-item>
</v-carousel>
Thank you for the answer but unfortunately it did not work, keep pointing the error and does not load the error image. I had tried something similar to this solution that also did not work. I don’t know how to get rid of this error and deal with a broken image pattern..
– Isa
In the example above you can see working, just wait a little while the fallback image will appear (I don’t know why it takes so long), and the console.clear() clears the error, but so, is this functionality really necessary? pq this can be easily validated on the back with a get_headers(PHP) or similar methods in other languages.
– Felipe Duarte