• Resolved bgottfried

    (@bgottfried)


    We’re using Draw Attention Pro with the Divi Theme from Elegant Themes for our site, with the DA image placed on this page inside a div with some javascript to make it scrollable:
    https://pages.stolaf.edu/baodingshan-dev/ivt3/

    All of this worked fine until recently. At 101 clickable areas on this one image, randomly 10 or so clickable areas vanished. As these were rebuilt we’ve reached 136 clickable areas and now can’t seem to add more. We’ve also started to see some images showing up under the wrong clickable areas today.

    Please advise. Thanks

    https://www.ads-software.com/plugins/draw-attention/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author croixhaug

    (@croixhaug)

    Hi there,

    Where is your website hosted? It looks like you have run into a server issue which is a limitation of your hosting company’s PHP configuration. This is a common problem for images with lots of areas. Basically, PHP has a setting for max_input_vars which is probably set to 1000 on your server. Basically this controls how much data your PHP configuration will read when a page is submitted. Anything beyond that is cut off. Unfortunately there is nothing in our code that can read this data, because it never reaches WordPress at all – it gets truncated before the page even starts to load.

    We are looking into a long term solution (ie. setting up pages for images with lots of highlightable areas), but for your immediate issue the quickest solution would be to contact your hosting company and ask:

    “Can you please increase the PHP max_input_vars to 5000 for my installation? I have an application that is failing because the limit is set too low (it looks like 1000 right now)”

    They should be able to accommodate this request. If you have access to php.ini or depending on your configuration you might be able to do the increase yourself. This is the documentation page for a different WordPress product affected by the same issue that has some good details and instructions:
    https://sevenspark.com/docs/ubermenu-menu-item-limit

    I hope this helps, unfortunately the script just requires more resources to run with that many shapes so there’s just a limit by the server it’s installed on right now.

    Thanks,
    Nathan

    Thread Starter bgottfried

    (@bgottfried)

    Thanks for the quick help Nathan. We self-host WP, so our webmaster was able to make the recommended change to our PHP config and it took care of the issue.
    Many thanks!
    Ben

    On a side note – we would love to see a feature where hotspots could be made partially visible in their inactive state.

    Glad you were able to resolve it! Controlling the hotspots in their inactive state is a common request, so we will be considering it in the future.

    For anyone else reading, these php limits are a common issue especially with shared hosting, so we made a support article for it:
    https://tylerdigital.com/document/troubleshooting-reaching-server-limits-hotspots/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clickable Areas Limit and Wrong Images Appearing’ is closed to new replies.