IsaiahPetrichor / ecommerce

Petrichor Coffee, E-Commerce PERN Application
2 stars 1 forks source link

Site images not displaying on select desktop browsers #3

Open dannysantino opened 1 year ago

dannysantino commented 1 year ago

None of the site's images seem to be displaying when viewed on a Microsoft Edge or Firefox desktop browser, and only appear on Google Chrome and other mobile browsers.

Also, the images on the product page appear to have been appended using the background property on div elements, instead of an img tag. Can't imagine this is good practice, or is there a particular reason you decided to do it that way?

IsaiahPetrichor commented 1 year ago

They aren't displaying on some web browsers if they don't support the .avif file format. As for the product images, I'm not sure why I did it that way. 😆

dannysantino commented 1 year ago

I think it'd be best to use a more widely supported image format, then. Wouldn't want to "play favourites," now, would we? 😄