Translate image inside sag
-
Hello there,
I have an image inside an SVG so I can click on logos inside the image that open external urls, there is also hover animation of each <rect>.
I would like to put the version of this image in English, but when I translate the page it is not available in TranslatePress to change it. I have the English image uploaded to the media library.
If it doesn’t come out automatically, is there any way through classes, code… to do it? I have no problem developing it if you tell me the steps to follow.
This is the code of my svg:
<svg viewBox="0 0 1200 1024" width="1200" id="Cam1" class="svg_img_link"> <image x="0" y="0" width="100%" height="100%" id="imgCam" alt="Cámaras" title="Cámaras" role="img" ><title>Cámaras</title></image> <rect x="980" y="38" width="190" height="60" alt="LiNK" title="LINK" onclick="window.open('https://www.external_link.com', '_blank')" fill="rgba(255,255,255,0)" stroke-miterlimit="10"><title> EXTERNAL LINK </title></rect> </svg>
Thank you very much in advance.
Best regards.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Translate image inside sag’ is closed to new replies.