Odd image loading issue
emergingdzns - 3 weeks ago
I've got a client site and it runs very well most of the time. Every once in a while though it will display the broken image icon where an image should be. This only affects images that were added to the Files module (either manually in the admin panel or via the file field type). I looked at the console inspector and it says that the image is a 500 error. The image does in fact exist and if I reload the page, the image shows up. I can't figure out why this is happening. It makes no sense to me. Any thoughts?
ryanthompson - 3 weeks ago
Ya you wanna do this:
cart.product.product_image.make.path and skip the
Currently you are serving images through PHP which is a no-go for use like this.
The way I just showed you will use static resources so your server can leverage caching / efficiency as normal.