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

#   How to change the Image folder (Vendor) root name?

##

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

Less More

- Posts: 43
- Thank you received: 2
-
-

12 years 6 months ago [\#156340](#156340) by [drmad](/forum/user/30566-drmad "View drmad's Profile")  *[How to change the Image folder (Vendor) root name?](/forum/23-market-how-to/868281-how-to-change-the-image-folder-vendor-root-name#156340 "-- HikaShop version -- : 2.3.0 / 1.4.0  Please advise if anywhere I can change the storage folder for uploaded product images (vendor or all)? Further, Can I also change the Folder label using other name (instead of HikaShop Images) for frontend display? Please see the attache pic FYI.  Thanks and regards,")* was created by *[drmad](/forum/user/30566-drmad "View drmad's Profile")*

-- HikaShop version -- : 2.3.0 / 1.4.0

Please advise if anywhere I can change the storage folder for uploaded product images (vendor or all)? Further, Can I also change the Folder label using other name (instead of HikaShop Images) for frontend display? Please see the attache pic FYI.

Thanks and regards,

- [ ![h63592b6.png](/forum/attachment/17319) ](/forum/attachment/17319 "h63592b6.png") [ ](/forum/attachment/17319?download=1 "h63592b6.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 6 months ago [\#156385](#156385) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to change the Image folder (Vendor) root name?](/forum/23-market-how-to/868281-how-to-change-the-image-folder-vendor-root-name#156385 "-- HikaShop version -- : 2.3.0 / 1.4.0  Please advise if anywhere I can change the storage folder for uploaded product images (vendor or all)? Further, Can I also change the Folder label using other name (instead of HikaShop Images) for frontend display? Please see the attache pic FYI.  Thanks and regards,")*

Hi,

"HikaShop Images" is a translated text.
You can override this translation in the HikaShop language manager.
The key for this translation is : HIKASHOP_IMAGE_ROOTDIR

About the storage folder, what do you want to change exactly ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 43
- Thank you received: 2
-
-

12 years 6 months ago [\#156392](#156392) by [drmad](/forum/user/30566-drmad "View drmad's Profile")  Replied by *[drmad](/forum/user/30566-drmad "View drmad's Profile")* on topic *[How to change the Image folder (Vendor) root name?](/forum/23-market-how-to/868281-how-to-change-the-image-folder-vendor-root-name#156392 "-- HikaShop version -- : 2.3.0 / 1.4.0  Please advise if anywhere I can change the storage folder for uploaded product images (vendor or all)? Further, Can I also change the Folder label using other name (instead of HikaShop Images) for frontend display? Please see the attache pic FYI.  Thanks and regards,")*

Hi Jerome,

Brilliant! Thanks and I will try soon.

Actually I would like to consolidate all image files to store into /image/hika_productimage/ (or somewhat similar to this). I just wonder anywhere I can change the storage folder? Thanks ahead.

Best regards,

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 6 months ago [\#156432](#156432) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to change the Image folder (Vendor) root name?](/forum/23-market-how-to/868281-how-to-change-the-image-folder-vendor-root-name#156432 "-- HikaShop version -- : 2.3.0 / 1.4.0  Please advise if anywhere I can change the storage folder for uploaded product images (vendor or all)? Further, Can I also change the Folder label using other name (instead of HikaShop Images) for frontend display? Please see the attache pic FYI.  Thanks and regards,")*

Hi,

I see what you want to do but it won't be possible unless you modify the HikaMarket core.
One of the HikaMarket rule is to separate the vendor data so they can't access or modify the data they don't own.
By sharing a single folder, every vendor would be able to access to the images of the other vendors. In the future, the gallery would allow the vendors to create sub folders, to rename, to upload, to remove, etc.
That are the two reason why vendors have their own upload folder for their images.
The same thing is done for the downloadable files (in the "upload safe" folder).

Removing this "separation / security" means modifying several core files for the upload, the gallery and the management of the files.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 43
- Thank you received: 2
-
-

12 years 6 months ago [\#156464](#156464) by [drmad](/forum/user/30566-drmad "View drmad's Profile")  Replied by *[drmad](/forum/user/30566-drmad "View drmad's Profile")* on topic *[How to change the Image folder (Vendor) root name?](/forum/23-market-how-to/868281-how-to-change-the-image-folder-vendor-root-name#156464 "-- HikaShop version -- : 2.3.0 / 1.4.0  Please advise if anywhere I can change the storage folder for uploaded product images (vendor or all)? Further, Can I also change the Folder label using other name (instead of HikaShop Images) for frontend display? Please see the attache pic FYI.  Thanks and regards,")*

Hi Jerome,

I am good for each vendor to have their own folder. I am only concerning the root / base of the folder. It's because I want to centralized media files into one location for backup concern. I hope we can configure the "base folder" in future without core hack ![^&#95;^](/anime.gif "^&#95;^")

base folder = /image/hika_image
vendor 1 = image/hikaimage/vendor1
vendor 2 = image/hikaimage/vendor2
vendor 3 = image/hikaimage/vendor3

Thanks a lot~~

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 6 months ago [\#156512](#156512) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to change the Image folder (Vendor) root name?](/forum/23-market-how-to/868281-how-to-change-the-image-folder-vendor-root-name#156512 "-- HikaShop version -- : 2.3.0 / 1.4.0  Please advise if anywhere I can change the storage folder for uploaded product images (vendor or all)? Further, Can I also change the Folder label using other name (instead of HikaShop Images) for frontend display? Please see the attache pic FYI.  Thanks and regards,")*

Hi,

It is now in my TODO list.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [drmad](/forum/user/30566-drmad "View drmad's Profile")

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

- **[Flooder](/forum/user/23280-flooder "View Flooder's Profile")**
- [![Flooder's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar23280.png)](/forum/user/23280-flooder "View Flooder's Profile")
- [ Offline](/forum/user/23280-flooder)

Less More

- Posts: 263
- Thank you received: 11
-
-

12 years 4 months ago -  12 years 4 months ago [\#162002](#162002) by [Flooder](/forum/user/23280-flooder "View Flooder's Profile")  Replied by *[Flooder](/forum/user/23280-flooder "View Flooder's Profile")* on topic *[How to change the Image folder (Vendor) root name?](/forum/23-market-how-to/868281-how-to-change-the-image-folder-vendor-root-name#162002 "-- HikaShop version -- : 2.3.0 / 1.4.0  Please advise if anywhere I can change the storage folder for uploaded product images (vendor or all)? Further, Can I also change the Folder label using other name (instead of HikaShop Images) for frontend display? Please see the attache pic FYI.  Thanks and regards,")*

Here is my solution :

In my template fil show_block_files.php, I had this code : Code:

if (substr($file-&gt;file_path,0, 6) == 'vendor') { $posii = stripos($file-&gt;file_path, '/') + 1; $namee = substr($file-&gt;file_path, $posii); }else{ $namee = $file-&gt;file_path; }

Like this, the files are uploaded in vendor1, vendor2, etc. folders, but it doesn't display « vendor/ » on the front end.

Last edit: 12 years 4 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODY4MjgxLWhvdy10by1jaGFuZ2UtdGhlLWltYWdlLWZvbGRlci12ZW5kb3Itcm9vdC1uYW1lP3RtcGw9bWFya2Rvd24=) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.094 seconds

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