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

#   Ajax Image upload in Hikashop 2.6.0

##

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

Less More

- Posts: 21
- Thank you received: 1
-
-

11 years 2 weeks ago [\#216543](#216543) by [aszentesi](/forum/user/9536-aszentesi "View aszentesi's Profile")  *[Ajax Image upload in Hikashop 2.6.0](/forum/26-product-category-display/879711-ajax-image-upload-in-hikashop-2-6-0#216543 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 41.0.1  Since Hikashop Version 2.6.0 Ajax Image upload (custom field) does not work correctly with Hikashop Version 2.5 upload was ok  the image is still stored in the folder ..upload/safe/ but the image is not shown in produkt or cart-view anymore :(  best regards Andreas")* was created by *[aszentesi](/forum/user/9536-aszentesi "View aszentesi's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.5.26
-- Browser(s) name and version -- : Firefox 41.0.1

Since Hikashop Version 2.6.0 Ajax Image upload (custom field) does not work correctly
with Hikashop Version 2.5 upload was ok

the image is still stored in the folder ..upload/safe/
but the image is not shown in produkt or cart-view anymore ![:(](/media/kunena/emoticons/5.png ":(")

best regards
Andreas

- [ ![after&#95;Ajax-Image-Upload.jpg](/forum/attachment/26913) ](/forum/attachment/26913 "...age-Upload.jpg") [ ](/forum/attachment/26913?download=1 "...age-Upload.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk3MTEtYWpheC1pbWFnZS11cGxvYWQtaW4taGlrYXNob3AtMi02LTA/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 2 weeks ago [\#216594](#216594) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ajax Image upload in Hikashop 2.6.0](/forum/26-product-category-display/879711-ajax-image-upload-in-hikashop-2-6-0#216594 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 41.0.1  Since Hikashop Version 2.6.0 Ajax Image upload (custom field) does not work correctly with Hikashop Version 2.5 upload was ok  the image is still stored in the folder ..upload/safe/ but the image is not shown in produkt or cart-view anymore :(  best regards Andreas")*

Hi,

In the file "components/com_hikashop/controllers/upload.php" please replace Code:

$file-&gt;file_path = $options['sub_folder'].$r-&gt;name;

By Code:

$file-&gt;file_path = $options['sub_folder'].$ret-&gt;name;

We will update the HikaShop package as soon as possible.

Regards,

---

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

The following user(s) said Thank You: [artisanwebandprint](/forum/user/6555-artisanwebandprint "View artisanwebandprint's Profile"), [aszentesi](/forum/user/9536-aszentesi "View aszentesi's Profile")

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

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

Less More

- Posts: 21
- Thank you received: 1
-
-

11 years 2 weeks ago [\#216737](#216737) by [aszentesi](/forum/user/9536-aszentesi "View aszentesi's Profile")  Replied by *[aszentesi](/forum/user/9536-aszentesi "View aszentesi's Profile")* on topic *[Ajax Image upload in Hikashop 2.6.0](/forum/26-product-category-display/879711-ajax-image-upload-in-hikashop-2-6-0#216737 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.26 -- Browser(s) name and version -- : Firefox 41.0.1  Since Hikashop Version 2.6.0 Ajax Image upload (custom field) does not work correctly with Hikashop Version 2.5 upload was ok  the image is still stored in the folder ..upload/safe/ but the image is not shown in produkt or cart-view anymore :(  best regards Andreas")*

Hi
i changed the code in line 348 as you posted obove and it works fine now

Thank you
Merci
![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk3MTEtYWpheC1pbWFnZS11cGxvYWQtaW4taGlrYXNob3AtMi02LTA/dG1wbD1tYXJrZG93bg==) 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.156 seconds

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

[](#top)
