Search the Community
Showing results for tags 'imagemap'.
-
It's been twice this year as a PW developer where clients have asqued me to have a way to put content on specific coordinates of a picture. Something like what image maps are made of. But not necesarly on links, sometimes text, sometimes images and links. So I've been thinking to build an inputfield for that purpose. But I'm not sure how could it be the most flexible so I can share it in github/modules page. Ideally it would need to work like a repeater field where you start uploading an image and then adding any custom field like title, url etc. So the user could add multiple elements floating over that image. Does anybody here know the ideal way to start the arquitecture of something like that? I could just hardcode the fields I need for the website I have to code this month but it would be nice to be something more flexible.
- 2 replies
-
- inputfield
- repeater
-
(and 1 more)
Tagged with:
-
Morning (in my part of the world) I want to manually add a usemap to an existing image in CK Editor turning this: <img alt="" src="/site/assets/files/1151/diagram.gif"> into this <img usemap="#diagram" alt="" src="/site/assets/files/1151/diagram.gif"> When I save my page, the usemap is being stripped out. Having experimented with Content Type, ACF and HTML Purifiers and then investigating the Image field itself, I'm not having much look. A search for the forum and Google turns up nothing. As I am porting across a 6 year old MODX site, I wondered if ImageMaps are no longer really used or am I overlooking a setting?