Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

Magmi import images with different file extension
Mikael Rasmussen

September 24, 2015 - 9:06 pm
Member Since: September 24, 2015
Forum Posts: 1
sp_UserOfflineSmall Offline

I am using Magmi to import products into Magento.
I upload all images to local folder (media/import) where files are either .jpg or .gif.
Images are named:

[sku.jpg] OR [sku.gif]

I have now configured Magmi so it imports all jpg images and this works fine.
This is how my CSV looks (only image columns):


I am then using “value replacer” plugin to insert .jpg behind every sku in image columns. This also works fine.
magmi settingsImage Enlarger

s it possible to also search for .gif in same import, so it either finds a sku with file extension .jpg or .gif ?
I have allready tried this with no success:

+{{ (file_exists({item.sku} . ‘.gif’) ? {item.sku} . ‘.gif’ : {item.sku} . ‘.jpg’) }}

file_exists() returns false and it looks for .jpg image, even if gif image is in folder.

Any help would be much appreciated :)

Rodney - UE
July 28, 2016 - 1:30 pm

Hello there Mikael. Since the post over here:…..-extension has the issue been resolved? Hopefully since that time the issue has already been addressed.



Why Should You Join UnderstandingE?

  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks


Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.


Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5223

Posts: 27502

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606