Book a Demo

Author Topic: Diagram links in Joomla  (Read 2838 times)

katsar

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Diagram links in Joomla
« on: March 04, 2019, 10:25:25 am »
Hi!
I have a problem with Image maps on diagrams in Joomla,  when publishing model from EA13. The href areas don't fit objects in diagram - they are bigger and offset to right.
In EA14 it works right.

EA14 HTML article code (in Joomla administrator):
Code: [Select]
<map id="mapid" name="imgmap">
<area coords="180,27,488,379" shape="rect" href="..." />

EA14 HTML code when browsing the website:
Code: [Select]
<map id="mapid" name="imgmap">
<area shape="rect" coords="138.66735007688365,20.800102511532547,375.9425935417734,291.97180932854945" href="...">

EA13 HTML code (both in Joomla administrator and while browsing the website):
Code: [Select]
<map name="imgmap">
<area shape="rect" coords="180,27,488,379" href="...">

It seems that IDs in EA14 are linked to something that adjusts href area coordinates. What is it, some extra CSS? I need to fix it for EA13.
« Last Edit: March 04, 2019, 07:24:56 pm by katsar »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Diagram links in Joomla
« Reply #1 on: March 05, 2019, 08:53:38 am »
From memory, the issue is that Joomla scales images to fit the view.

I think it required EA code changes to fix, but you can check for javascript that's performing the resize.