map is off

Permalink Browser Info Environment
Hello!
I add an image map to an image then I center the image on the page and the image map is off. I have also tried adding the centering before doing the image map work and no luck. Any ideas?

Thanks
Joaquin Valdez

Type: Ticket
Status: Resolved
joaquinvaldez
View Replies:
mesuva replied on at Permalink Reply
mesuva
Hi Joaquin,

this can happen when you place the block in an area that is wider than the image you are using.

As a quick fix:
- try adding a layout, and place the block in a column
- or, use a larger image (even if you just have to upsize it)

If neither of those approaches work, I look to make an update to the add-on to make this easier to manage, or I can send you a custom template.

Cheers
-Ryan
joaquinvaldez replied on at Permalink Reply
joaquinvaldez
Thank you! Yes, I did the layout thing just as a test and it did work. I think an update would be good for others, but that is just my opinion.

I appreciate your response.

-Joaquin
mesuva replied on at Permalink Reply
mesuva
Hi Joaquin,

I've just taken a look at the block again, and when I used a smaller image I didn't hit the issue you described. It does appear to have the code in place to limit the width of the overlay.

I'm wondering if you have a link I could look at as an example? Just to see what styles are in play.
joaquinvaldez replied on at Permalink Reply
joaquinvaldez
Sure here is the link. https://workmosis.ddns.net/workmosis-mna-form...

I added the block with the mappings, then disable the grid container and the mappings are off.
mesuva replied on at Permalink Reply
mesuva
Thanks for the link - I can see what has caused this issue, it's specifically when the image is aligned center.

I've put in a very minor adjustment to address this, and I've pushed up version 1.3.4 of the add-on. You should see that as an available update.
joaquinvaldez replied on at Permalink Reply
joaquinvaldez
Thank you! Yes the update seemed to have fixed things for me. I appreciate your attention to this issue. Have a great day!

concrete5 Environment Information

# Concrete Version
Core Version - 9.2.1
Version Installed - 9.2.1
Database Version - 20230503095900

# Hostname
ddns

# Environment
production

# Database Information
Version: 8.0.33-0ubuntu0.22.10.2
SQL Mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION

# Concrete Packages
Active Cookie Consent (2.1), Button Nav (9.0.7), Easy Image Slider (1.4.3), Honest Websites Back To Top (1.1.0), Lazy Menu (2.2.3), Lazy Testimonials (2.0.4), Magic Tabs (9.0.5), Omni Gallery (9.2.18), Responsive Image Map (1.3.3), Sub Atomik Theme (1.1.3)

# Concrete Overrides
elements/conversation/message, elements/conversation

# Concrete Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
apache2handler

# PHP Version
8.1.7-1ubuntu3.5

# PHP Extensions
apache2handler, calendar, Core, ctype, date, dom, exif, FFI, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, sodium, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
max_multipart_body_parts - -1
memory_limit - 128M
post_max_size - 8M
upload_max_filesize - 2M
zend.exception_string_param_max_len - 0
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
unserialize_max_depth - 4096
opcache.jit_bisect_limit - 0
opcache.jit_max_exit_counters - 8192
opcache.jit_max_loop_unrolls - 8
opcache.jit_max_polymorphic_calls - 2
opcache.jit_max_recursive_calls - 2
opcache.jit_max_recursive_returns - 2
opcache.jit_max_root_traces - 1024
opcache.jit_max_side_traces - 128
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.