Check for the image size of your image, firefox allows the size of 1-2MB. Secondly, it can occur due to security problem. Firefox may block base64 encoded images...so you can check console for csp errors or disable extensions to test Csp error may look like: Content-Security-Policy: img-src 'self'; If it is so then you can fix it by adding- data: ie, Content-Security-Policy: img-src 'self' data:;