从外部URL导入Woocommerce图像

huangapple go评论53阅读模式
英文:

Woocommerce import image from external URl

问题

以下是翻译好的内容:

"For products in the shop client sent images as a URL, its an external URL, below is the one for reference
https://lilac.ecb.com.au/otherimage?product=NBF88SY.1&i=1

I've added this URL in CSV file on image column and tried to import it.
When I import its getting an error "Invalid image: Sorry, you are not allowed to upload this file type."

Any work arounds for this?"

英文:

For products in the shop client sent images as a URL, its an external URL, below is the one for reference
https://lilac.ecb.com.au/otherimage?product=NBF88SY.1&i=1

I've added this URL in CSV file on image column and tried to import it.
When I import its getting an error "Invalid image: Sorry, you are not allowed to upload this file type."

Any work arounds for this?

答案1

得分: 1

问题出在您的图像链接或文件类型上。

默认情况下,WordPress 支持以下图像文件类型:.jpeg、.jpg、.png、.gif、.ico。您看到此错误是因为您尝试上传的图像没有这些文件扩展名之一,这在您的参考链接 https://lilac.ecb.com.au/otherimage?product=NBF88SY.1&i=1 中也很明显。CSV 产品导入要求图像链接必须是以文件名结尾的实际图像链接。例如,.jpg、.png。

为确保WooCommerce能够检测到您的产品图像,请查看“图像”列。您应该在示例中看到您产品图像的URL,如下所示。

从外部URL导入Woocommerce图像

参考链接:导入图像时出错

英文:

The problem is with your image link or file type.

By default, the following image file types are supported in WordPress: .jpeg, .jpg, .png, .gif, .ico. You are seeing the error because the image you are trying to upload does not have any of these file extensions, which is also obvious in your reference link https://lilac.ecb.com.au/otherimage?product=NBF88SY.1&i=1. The CSV product import expects the image links to be actual image links that end in a file name. Eg. .jpg, .png.

To make sure WooCommerce is detecting your product images, you can look for the Images column. You should see the URLs to your product images in the sample, as shown below.

从外部URL导入Woocommerce图像

Reference: Error importing image

huangapple
  • 本文由 发表于 2023年7月10日 19:41:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/76653381.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定