Robust fallback for product image galleries
The image gallery now gracefully falls back to a static layout if the underlying display library fails to load after a retry. This ensures product images remain visible to customers even if script loading encounters network issues.