Skip to main content

How to import images

Learn how to import product images into Magento 2 via Elovate using relative or absolute URLs, including existing store images.

Updated this week

How to import images

Elovate lets you import product images into Magento 2 using two main methods — Relative URLs or Absolute URLs.


1. Importing via relative URL

A relative URL points to an image file already stored on your Magento server.
Example import file:

sku

image

elovate-product-with-image

/image.png

  • The image file must be physically located in:

    swiftCopyEdit/pub/media/import/
  • Elovate will look for the image in this folder during import validation.

  • If the image isn’t present in this directory, the import will fail validation.


2. Importing via absolute URL

An absolute URL points to the full web address of an image file.
Example import file:

sku

image

elovate-product-with-image

  • Elovate will download the image from the specified URL.

  • URLs can be from your store or other sources (e.g., Dropbox, Google Drive).

  • Ensure that the file is publicly accessible — private or permission-restricted files will fail to import.


3. Importing existing magento images

If an image already exists in your Magento store, you can use its direct path:

Example:

https://www.your-store.com/media/catalog/product/i/m/image.png

Magento stores images in a structure based on the first and second letters of the image file name.
In the above example:

  • Image name: image.png

  • Stored in: /media/catalog/product/i/m/


Tip: When possible, use relative URLs for internal assets to reduce dependency on external links, and absolute URLs for external sources or cloud-hosted files.

Did this answer your question?