[Skip to main content](#vessel-content)

#   How to import (CSV) an image with a different name

##

- **[PeterM](/forum/user/32531-peterm "View PeterM's Profile")**
- [![PeterM's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32531-peterm "View PeterM's Profile") Topic Author
- [ Offline](/forum/user/32531-peterm)

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 4 months ago [\#160197](#160197) by [PeterM](/forum/user/32531-peterm "View PeterM's Profile")  *[How to import (CSV) an image with a different name](/forum/37-import-export-csv-xls/869007-how-to-import-csv-an-image-with-a-different-name#160197 "I do not find any documentaion how to fill the separate field &quot;Name&quot; with CSV import. I want to import for example &quot;product1.jpg&quot; with name-field: &quot;List-Product&quot;. I always get the image &quot;product1.jpg&quot; AND the field Name also filled with &quot;product1.jpg&quot;.  If I add images manually I have both fields available for different content.  Thanks in advance, Peter")* was created by *[PeterM](/forum/user/32531-peterm "View PeterM's Profile")*

I do not find any documentaion how to fill the separate field "Name" with CSV import.
I want to import for example "product1.jpg" with name-field: "List-Product".
I always get the image "product1.jpg" AND the field Name also filled with "product1.jpg".

If I add images manually I have both fields available for different content.

Thanks in advance,
Peter

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NjkwMDctaG93LXRvLWltcG9ydC1jc3YtYW4taW1hZ2Utd2l0aC1hLWRpZmZlcmVudC1uYW1lP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

12 years 4 months ago [\#160291](#160291) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to import (CSV) an image with a different name](/forum/37-import-export-csv-xls/869007-how-to-import-csv-an-image-with-a-different-name#160291 "I do not find any documentaion how to fill the separate field &quot;Name&quot; with CSV import. I want to import for example &quot;product1.jpg&quot; with name-field: &quot;List-Product&quot;. I always get the image &quot;product1.jpg&quot; AND the field Name also filled with &quot;product1.jpg&quot;.  If I add images manually I have both fields available for different content.  Thanks in advance, Peter")*

Hi,

There is no option at the moment to enter the file name with the CSV import. That's something that we'll add in the next version of HikaShop.
If you replace the file administrator/components/com_hikashop/helpers/import.php with the one in the archive below, you'll be able to do it with the column files_name of your CSV.

*This attachment is hidden for guests.
Please log in or register to see it.*

The following user(s) said Thank You: [PeterM](/forum/user/32531-peterm "View PeterM's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NjkwMDctaG93LXRvLWltcG9ydC1jc3YtYW4taW1hZ2Utd2l0aC1hLWRpZmZlcmVudC1uYW1lP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")**
- [![lionel75's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11856-lionel75 "View lionel75's Profile")
- [ Offline](/forum/user/11856-lionel75)

Less More

- Posts: 846
- Thank you received: 92
-
-

12 years 4 months ago [\#160299](#160299) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[How to import (CSV) an image with a different name](/forum/37-import-export-csv-xls/869007-how-to-import-csv-an-image-with-a-different-name#160299 "I do not find any documentaion how to fill the separate field &quot;Name&quot; with CSV import. I want to import for example &quot;product1.jpg&quot; with name-field: &quot;List-Product&quot;. I always get the image &quot;product1.jpg&quot; AND the field Name also filled with &quot;product1.jpg&quot;.  If I add images manually I have both fields available for different content.  Thanks in advance, Peter")*

Hi
1-- can we import image by add URl path to each images in the csv file ?
Yes

2--with column name ( in csv ) must contain the path to the image in hikashop database ?
images

3--how must be write the url path in this column name ?
3a must be relative or absolute ?
3b in which ph p is define all the path to images ?

regard's

regard's

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NjkwMDctaG93LXRvLWltcG9ydC1jc3YtYW4taW1hZ2Utd2l0aC1hLWRpZmZlcmVudC1uYW1lP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

12 years 4 months ago [\#160303](#160303) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to import (CSV) an image with a different name](/forum/37-import-export-csv-xls/869007-how-to-import-csv-an-image-with-a-different-name#160303 "I do not find any documentaion how to fill the separate field &quot;Name&quot; with CSV import. I want to import for example &quot;product1.jpg&quot; with name-field: &quot;List-Product&quot;. I always get the image &quot;product1.jpg&quot; AND the field Name also filled with &quot;product1.jpg&quot;.  If I add images manually I have both fields available for different content.  Thanks in advance, Peter")*

1. Yes. Note however that it will then require Hikashop to download each image during the import. If your server restrictions are low and/or if you have a lot of products, the import will likely crash in the middle and not import all the products.

2. The path of the image should be relative to the file upload folder (that folder is located by default in /media/com_hikashop/upload/)

3.a relative
3.b it's in the configuration, in the Files section.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NjkwMDctaG93LXRvLWltcG9ydC1jc3YtYW4taW1hZ2Utd2l0aC1hLWRpZmZlcmVudC1uYW1lP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.228 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
