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

#   Does not save image

##

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

Less More

- Posts: 101
- Thank you received: 2
-
-

11 years 5 months ago [\#204243](#204243) by [permsk](/forum/user/28179-permsk "View permsk's Profile")  *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#204243 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")* was created by *[permsk](/forum/user/28179-permsk "View permsk's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1

Does not save and does not add image in the characteristics

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Nzc0MTYtZG9lcy1ub3Qtc2F2ZS1pbWFnZT90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

11 years 5 months ago [\#204252](#204252) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#204252 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

Hi,

Thank you for your feedback. We've added a fix for that on our end. Please download again the install package on our website and install it on yours and that will fix the problem.

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

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

Less More

- Posts: 101
- Thank you received: 2
-
-

11 years 5 months ago -  11 years 5 months ago [\#204309](#204309) by [permsk](/forum/user/28179-permsk "View permsk's Profile")  Replied by *[permsk](/forum/user/28179-permsk "View permsk's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#204309 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

Does not save brand

- [ ![Screenshot&#95;1&#95;2015-06-10.png](/forum/attachment/24827) ](/forum/attachment/24827 "...2015-06-10.png") [ ](/forum/attachment/24827?download=1 "...2015-06-10.png")

Last edit: 11 years 5 months ago by [permsk](/forum/user/28179-permsk "View permsk's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 5 months ago [\#204348](#204348) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#204348 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

Hi,

Please edit the file "administrator/components/com_hikashop/classes/product.php" and in the function "backSaveForm()" replace: Code:

if(!hikashop_acl('product/edit/manufacturer')) { unset($product-&gt;product_manufacturer_id); }

By: Code:

if(!hikashop_acl('product/edit/manufacturer')) { unset($product-&gt;product_manufacturer_id); }else{ if(!is_numeric($product-&gt;product_manufacturer_id)){ $this-&gt;db-&gt;setQuery('SELECT category_id FROM '.hikashop_table('category').' WHERE category_name = '.$this-&gt;db-&gt;quote($product-&gt;product_manufacturer_id)); $result = $this-&gt;db-&gt;loadResult(); $product-&gt;product_manufacturer_id = $result; } }

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

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

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

Less More

- Posts: 101
- Thank you received: 2
-
-

11 years 5 months ago -  11 years 5 months ago [\#205103](#205103) by [permsk](/forum/user/28179-permsk "View permsk's Profile")  Replied by *[permsk](/forum/user/28179-permsk "View permsk's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#205103 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

Thank you all for correcting me. But 2 problems remain.
1. when you select a large image , the pop-up window (any library) opens another picture (a picture of the product).
2. only 2 images but writes the total of pictures of all the options

[ ![&#91;img](http://i.imgur.com/cYxhedX.png) ](http://i.imgur.com/cYxhedX.png "&#91;img")

[ ![&#91;img](http://i.imgur.com/0WWSFWn.png) ](http://i.imgur.com/0WWSFWn.png "&#91;img")

[ ![&#91;img](http://i.imgur.com/8wbD6aS.png) ](http://i.imgur.com/8wbD6aS.png "&#91;img")

Last edit: 11 years 5 months ago by [permsk](/forum/user/28179-permsk "View permsk's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Nzc0MTYtZG9lcy1ub3Qtc2F2ZS1pbWFnZT90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

11 years 5 months ago [\#205140](#205140) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#205140 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

Hi,

1. Could you provide a link to the page so that we could look at the issue because we don't have it on our end ?

2. That's because the "image popup" you selected in the HikaShop configuration will count the images of each variants. you see 42 because you have 2 images times 21 variants. That's the way the shadowbox image system works. No much we can do in that case besides telling you to use the default image popup if that bothers you (it won't allow you to switch from one image to another and won't display any numbers).

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

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

Less More

- Posts: 101
- Thank you received: 2
-
-

11 years 4 months ago [\#205233](#205233) by [permsk](/forum/user/28179-permsk "View permsk's Profile")  Replied by *[permsk](/forum/user/28179-permsk "View permsk's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#205233 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

[ test.rsait.ru/product/sapogi.html](http://test.rsait.ru/product/sapogi.html)

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

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

Less More

- Posts: 101
- Thank you received: 2
-
-

11 years 4 months ago [\#205324](#205324) by [permsk](/forum/user/28179-permsk "View permsk's Profile")  Replied by *[permsk](/forum/user/28179-permsk "View permsk's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#205324 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

Found a solution! In the file show_block_img.php on line 156

to change
window.localPage.images[id] = document.getElementById('hikashop_first_thumbnail&lt;?php echo $variant_name;?&gt;');
to
window.localPage.images[id] = document.getElementById('hikashop_first_thumbnail_&lt;?php echo $variant_name;?&gt;');

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

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

Less More

- Posts: 101
- Thank you received: 2
-
-

11 years 4 months ago [\#205338](#205338) by [permsk](/forum/user/28179-permsk "View permsk's Profile")  Replied by *[permsk](/forum/user/28179-permsk "View permsk's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#205338 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

it's still crooked ,full of errors when browsing thumbnails in firebug

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Nzc0MTYtZG9lcy1ub3Qtc2F2ZS1pbWFnZT90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

11 years 4 months ago [\#205347](#205347) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Does not save image](/forum/3-bug-report/877416-does-not-save-image#205347 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Does not save and does not add image in the characteristics")*

Hi,

That modification of the code is wrong and should not be done.
All it does on your page (for me when I look at it) is that when you click on an image, the popup starts loading and stops there. So it's even worst than before and I can't see the problem you had before.

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

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