Image Mapper in Materialize

User 244626 Photo


Registered User
811 posts

So I looked on the documentation for Materialize

https://materializecss.com/media-css.html

One must add class="responsive-img" to the <img> tag to make it 100%

Stonecherub should replace the width="100%" with class="responsive-img" on the img tag that was pasted.

I have also been succesful finally at progressing somewhat with Tooltipster. I am able now to put a link on the tootip which might be useful.

http://gluexp.coffeecup.com/volcanotipster/
Bootstrap 5 CSS Grid.
User 244626 Photo


Registered User
811 posts

I discovered that jQuery RWD Image Maps has been updated to version 1.6 so you can use it without having to add the additional old jquery that 1.5 needs to function.

https://github.com/stowball/jQuery-rwdImageMaps

Here is a simple project using the class="responsive-img" added to the <img> tag which is needed for it to work.

Interestingly this does not seem to be required if you are using Bootstrap or Foundation in SD3 as the <img> tag already has the responsiveness css applied to the <img> so it works without the change.

http://gluexp.coffeecup.com/materializemap/
Bootstrap 5 CSS Grid.
User 187934 Photo


Senior Advisor
20,193 posts

Thanks for finding that out about the update. It's really a handy tool.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.