Image mapping
3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 8, 2015 (RSS)
I've looked high and low, but cannot find an answer to this question: Is it possible to create hotspots on images using CMSB? For example, one graphic file containing both a Twitter and a Facebook logo, but wish to map the image so as to create two links.
Dave
By Dave - March 8, 2015
Hi Dave,
CMSB doesn't have any specific support for image maps, but could output image map data the same as any other text or html data. So some options might include:
- Having a fixed image and it's imagemaps not managed by the CMS but just as static content on your site
- Split your image into two so the user can upload/manage them separately and defined urls separately (simplest)
- Having the image managed by the CMS (users could update it) but having the image maps hard coded and in fixed positions
- Having an image upload field in the CMS and a textbox for the image map HTML code then outputting both on the page (a technical user could update the image map html)
- Having a link to an image map generator so users could easily generate the HTML: http://www.kolchose.org/simon/ajaximagemapcreator/
- Writing custom code to integrate an image map generator such as: http://www.kolchose.org/simon/ajaximagemapcreator/ (this would be the most work)
Hope that helps! Let me know any questions.
interactivetools.com
By Dave - March 8, 2015
I also saw this plugin add-on for the tinymce wysiwyg editor: https://code.google.com/p/imgmap/
It looks quite in depth though and may not be intuitive for end users.
interactivetools.com