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

#   Change directory of images

##

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 8 months ago -  9 years 8 months ago [\#262341](#262341) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  *[Change directory of images](/forum/2-general-talk-about-hikashop/888845-change-directory-of-images#262341 "-- HikaShop version -- : 3.0.0  Hi how to change the directory of /media/com&#95;hikashop/images on another of my choice. My goal is to change the buttons in Hikashop and Hikamarket without changing image in the back - only in the front.")* was created by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")*

-- HikaShop version -- : 3.0.0

Hi how to change the directory of /media/com_hikashop/images on another of my choice. My goal is to change the buttons in Hikashop and Hikamarket without changing image in the back - only in the front.

Last edit: 9 years 8 months ago by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile"). Reason: Found a file where change directory

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4ODg0NS1jaGFuZ2UtZGlyZWN0b3J5LW9mLWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 8 months ago -  9 years 8 months ago [\#262343](#262343) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Change directory of images](/forum/2-general-talk-about-hikashop/888845-change-directory-of-images#262343 "-- HikaShop version -- : 3.0.0  Hi how to change the directory of /media/com&#95;hikashop/images on another of my choice. My goal is to change the buttons in Hikashop and Hikamarket without changing image in the back - only in the front.")*

Hi,

Unless you edit a core file ; you can't.
The folder is stored in a PHP constant defined in the component helper: administrator/components/com_hikashop/helpers/helper.php

Regards,

---

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

Last edit: 9 years 8 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4ODg0NS1jaGFuZ2UtZGlyZWN0b3J5LW9mLWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 8 months ago [\#262398](#262398) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Change directory of images](/forum/2-general-talk-about-hikashop/888845-change-directory-of-images#262398 "-- HikaShop version -- : 3.0.0  Hi how to change the directory of /media/com&#95;hikashop/images on another of my choice. My goal is to change the buttons in Hikashop and Hikamarket without changing image in the back - only in the front.")*

Thanks for the reply. Yesterday I looked the whole code while I find him. It became perfect. ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4ODg0NS1jaGFuZ2UtZGlyZWN0b3J5LW9mLWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 235
- Thank you received: 4
-
-

9 years 2 months ago [\#277280](#277280) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  Replied by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")* on topic *[Change directory of images](/forum/2-general-talk-about-hikashop/888845-change-directory-of-images#277280 "-- HikaShop version -- : 3.0.0  Hi how to change the directory of /media/com&#95;hikashop/images on another of my choice. My goal is to change the buttons in Hikashop and Hikamarket without changing image in the back - only in the front.")*

I want to change the images folder from /images/com_hikashop/upload/ into /media/com_hikashop/upload/.
How to do so?

This is row 3883 to 3902 now. If I change /images/ into /media/ nothing happened.

if($app-&gt;isAdmin()) {
define('HIKASHOP_CONTROLLER', HIKASHOP_BACK.'controllers'.DS);
define('HIKASHOP_IMAGES', '../media/'.HIKASHOP_COMPONENT.'/images/');
define('HIKASHOP_CSS', '../media/'.HIKASHOP_COMPONENT.'/css/');
define('HIKASHOP_JS', '../media/'.HIKASHOP_COMPONENT.'/js/');
$css_type = 'backend';

$doc-&gt;addScript(HIKASHOP_JS.'hikashop.js?v='.HIKASHOP_RESSOURCE_VERSION);
$doc-&gt;addStyleSheet(HIKASHOP_CSS.'hikashop.css?v='.HIKASHOP_RESSOURCE_VERSION);
$doc-&gt;addStyleSheet(HIKASHOP_CSS.'menu.css?v='.HIKASHOP_RESSOURCE_VERSION);
} else {
define('HIKASHOP_CONTROLLER',HIKASHOP_FRONT.'controllers'.DS);
define('HIKASHOP_IMAGES',JURI::base(true).'/media/'.HIKASHOP_COMPONENT.'/images/');
define('HIKASHOP_CSS',JURI::base(true).'/media/'.HIKASHOP_COMPONENT.'/css/');
define('HIKASHOP_JS',JURI::base(true).'/media/'.HIKASHOP_COMPONENT.'/js/');
$css_type = 'frontend';

$doc-&gt;addScript(HIKASHOP_JS.'hikashop.js?v='.HIKASHOP_RESSOURCE_VERSION);
$doc-&gt;addStyleSheet(HIKASHOP_CSS.'hikashop.css?v='.HIKASHOP_RESSOURCE_VERSION);
}

Regards

Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4ODg0NS1jaGFuZ2UtZGlyZWN0b3J5LW9mLWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 2 months ago -  9 years 2 months ago [\#277335](#277335) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Change directory of images](/forum/2-general-talk-about-hikashop/888845-change-directory-of-images#277335 "-- HikaShop version -- : 3.0.0  Hi how to change the directory of /media/com&#95;hikashop/images on another of my choice. My goal is to change the buttons in Hikashop and Hikamarket without changing image in the back - only in the front.")*

Backend or frontend? Which folder do you want to lead to try to help with the code?

Last edit: 9 years 2 months ago by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4ODg0NS1jaGFuZ2UtZGlyZWN0b3J5LW9mLWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#277303](#277303) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Change directory of images](/forum/2-general-talk-about-hikashop/888845-change-directory-of-images#277303 "-- HikaShop version -- : 3.0.0  Hi how to change the directory of /media/com&#95;hikashop/images on another of my choice. My goal is to change the buttons in Hikashop and Hikamarket without changing image in the back - only in the front.")*

Hmmmm no

Please understand that your request is totally different that the original question of that thread.
You can settings in HikaShop for the upload folder :
[ www.hikashop.com/support/documentation/5...nfig.html#main\_files](https://www.hikashop.com/support/documentation/54-hikashop-config.html#main_files)
And if you have any further question ; please open a new thread and please do not continue in that thread since your question is not related.

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg4ODg0NS1jaGFuZ2UtZGlyZWN0b3J5LW9mLWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.061 seconds

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