本文介紹了資源被解釋為圖像但使用 MIME 類型 text/html 傳輸 - Magento的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!
問題描述
為我的 Magento 商店上傳新產(chǎn)品圖片時出現(xiàn)以下錯誤.
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
發(fā)生這種情況有什么原因嗎?
Is there a reason why this is happening?
推薦答案
如果您的圖像路徑設(shè)置不正確,很可能會發(fā)生這種情況.例如,相對于當(dāng)前目錄images/myimage.gif"與相對于網(wǎng)絡(luò)根目錄/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"的引用可能表明您有服務(wù)器返回的錯誤.
The reference to "text/html" might suggest you have an error being returned by the server.
這篇關(guān)于資源被解釋為圖像但使用 MIME 類型 text/html 傳輸 - Magento的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!