本文介紹了資源被解釋為圖像但使用 MIME 類型 text/html 傳輸 - Magento的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
為我的 Magento 商店上傳新產品圖片時出現以下錯誤.
I'm getting below error when uploading a new product image for my Magento shop.
Resource interpreted as image but transferred with MIME type text/html
發生這種情況有什么原因嗎?
Is there a reason why this is happening?
推薦答案
如果您的圖像路徑設置不正確,很可能會發生這種情況.例如,相對于當前目錄images/myimage.gif"與相對于網絡根目錄/images/myimage.gif".
This might well occur if your image path is set incorrectly. For example relative to current directory "images/myimage.gif" vs relative to web root "/images/myimage.gif".
對text/html"的引用可能表明您有服務器返回的錯誤.
The reference to "text/html" might suggest you have an error being returned by the server.
這篇關于資源被解釋為圖像但使用 MIME 類型 text/html 傳輸 - Magento的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!