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

#   interactive photo

##

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

Less More

- Posts: 30
- Thank you received: 1
-
-

7 years 6 days ago [\#313337](#313337) by [Lambersm](/forum/user/49339-lambersm "View Lambersm's Profile")  *[interactive photo](/forum/32-content-creation/898719-interactive-photo#313337 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.5.6  Hi  I would like an interactive photo that you can click on. The red items are characteristics in the photo. When you click on it, these must be added to the order. Which code should we use as url / code to have it added to the order when you click oin it? Or is there something standard for this within hikashop?  Greetz")* was created by *[Lambersm](/forum/user/49339-lambersm "View Lambersm's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.5.6

Hi

I would like an interactive photo that you can click on. The red items are characteristics in the photo. When you click on it, these must be added to the order. Which code should we use as url / code to have it added to the order when you click oin it? Or is there something standard for this within hikashop?

Greetz

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk4NzE5LWludGVyYWN0aXZlLXBob3RvP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

7 years 6 days ago [\#313344](#313344) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[interactive photo](/forum/32-content-creation/898719-interactive-photo#313344 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.5.6  Hi  I would like an interactive photo that you can click on. The red items are characteristics in the photo. When you click on it, these must be added to the order. Which code should we use as url / code to have it added to the order when you click oin it? Or is there something standard for this within hikashop?  Greetz")*

Hi,

What you could do is add the image in the description of the product. You would also add area/map tags in the description to setup the zones where the image can be clicked on:
[ www.w3schools.com/tags/tag\_area.asp](https://www.w3schools.com/tags/tag_area.asp)
And for the link on each "area" tag, you can use the add to cart link of each variant: Code:

https://mywebsite.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;cid=XXX&amp;qty=1&amp;add=1

where XXX is the id of the variant (you can see the id of the variant in the link to the product page in the cart after you added the variant to the cart).

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

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

Less More

- Posts: 30
- Thank you received: 1
-
-

6 years 10 months ago [\#314855](#314855) by [Lambersm](/forum/user/49339-lambersm "View Lambersm's Profile")  Replied by *[Lambersm](/forum/user/49339-lambersm "View Lambersm's Profile")* on topic *[interactive photo](/forum/32-content-creation/898719-interactive-photo#314855 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.5.6  Hi  I would like an interactive photo that you can click on. The red items are characteristics in the photo. When you click on it, these must be added to the order. Which code should we use as url / code to have it added to the order when you click oin it? Or is there something standard for this within hikashop?  Greetz")*

HI,

We'v made the characteristics and the images are ready.
But when you click on a characteristics the page opens the link to the cart and we want it to stay on the same site so the customer can choose all the characteristics he wants en when he's ready then goes to the cart. Is that possible?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk4NzE5LWludGVyYWN0aXZlLXBob3RvP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

6 years 10 months ago [\#314872](#314872) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[interactive photo](/forum/32-content-creation/898719-interactive-photo#314872 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.5.6  Hi  I would like an interactive photo that you can click on. The red items are characteristics in the photo. When you click on it, these must be added to the order. Which code should we use as url / code to have it added to the order when you click oin it? Or is there something standard for this within hikashop?  Greetz")*

Hi,

Are you saying that the image is on a different website than the cart/checkout ?
In that case, I don't see a solution.
However, if what you mean is that they are on the same website but on different pages, and you don't want to change the page when the product is added to the cart, then there are solutions.
One solution is to add a "url" parameter to the add to cart link: Code:

https://mywebsite.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;cid=XXX&amp;qty=1&amp;add=1&amp;url=YYY

Where YYY is the urlencoded URL of the page where you have the image.
To Urlencode a URL, you can use that website for example: [ www.urlencoder.org/](https://www.urlencoder.org/)
It's important that the YYY URL is urlencoded or the add to cart URL won't be valid.
You can read more about urlencoding here: [ stackoverflow.com/questions/4667942/why-should-i-use-urlencode](https://stackoverflow.com/questions/4667942/why-should-i-use-urlencode)

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

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

Less More

- Posts: 30
- Thank you received: 1
-
-

6 years 10 months ago [\#314898](#314898) by [Lambersm](/forum/user/49339-lambersm "View Lambersm's Profile")  Replied by *[Lambersm](/forum/user/49339-lambersm "View Lambersm's Profile")* on topic *[interactive photo](/forum/32-content-creation/898719-interactive-photo#314898 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.5.6  Hi  I would like an interactive photo that you can click on. The red items are characteristics in the photo. When you click on it, these must be added to the order. Which code should we use as url / code to have it added to the order when you click oin it? Or is there something standard for this within hikashop?  Greetz")*

HI,

Yes, that was exactly what I ment

Thank you very much!

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

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

Less More

- Posts: 30
- Thank you received: 1
-
-

6 years 9 months ago [\#315206](#315206) by [Lambersm](/forum/user/49339-lambersm "View Lambersm's Profile")  Replied by *[Lambersm](/forum/user/49339-lambersm "View Lambersm's Profile")* on topic *[interactive photo](/forum/32-content-creation/898719-interactive-photo#315206 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.5.6  Hi  I would like an interactive photo that you can click on. The red items are characteristics in the photo. When you click on it, these must be added to the order. Which code should we use as url / code to have it added to the order when you click oin it? Or is there something standard for this within hikashop?  Greetz")*

HI,

Unfortunately it does not work with html coordinates if you view the site on a telephone.
Now I want to create the file with the links in PDF, but they don't work with mert html code there.
What should the url become?

Grtz

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk4NzE5LWludGVyYWN0aXZlLXBob3RvP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

6 years 9 months ago [\#315207](#315207) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[interactive photo](/forum/32-content-creation/898719-interactive-photo#315207 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.5.6  Hi  I would like an interactive photo that you can click on. The red items are characteristics in the photo. When you click on it, these must be added to the order. Which code should we use as url / code to have it added to the order when you click oin it? Or is there something standard for this within hikashop?  Greetz")*

Hi,

The area/map tags are supposed to work on mobile devices too:
[ developer.mozilla.org/en-US/docs/Web/HTM...rowser\_compatibility](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#Browser_compatibility)
All mobile browsers support it.
Regarding doing the same with PDF files. It sure is possible with acrobat or indesign:
[ docs.adobe.com/content/help/en/dynamic-m...ting-image-maps.html](https://docs.adobe.com/content/help/en/dynamic-media-classic/using/master-files/creating-image-maps.html)
You can use the same URLs.

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

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