Support » Fixing WordPress » Google Static Maps

  • My google static map on my contact page shows as a broken image. Has anyone seen this before? If I click on it, it directs me to the right Google Maps URL, but the static map is not shown. I just noticed this yesterday, as it was working fine before. I haven’t touched this widget and my Google API key seems to still be working fine.


    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz


    The img tag that I assume is supposed to be the map image has no src attribute (required). If that is supposed to be set by script, it has failed. There is no script error listed for the page though.

    The linked map is not a single image, so cannot be used as the img src attribute. If this is intended to be non-interactive, you could make your own image from a screen grab to use as the src attribute. To be interactive, you need the embed code from Google maps, which is in the form of an iframe. Adjust the height and width attributes to fit your layout.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.