• Resolved SaraRow

    (@sararow)


    Hello, again, thanks for this great plugin!!

    I’ve recently found (I think this wasn’t happening before) that that dynamic tag {marker_image} to compose the infowindow is always returning an image: id the Image field is empty it’s returning a placeholder image

    I think this didn’t behave like this in the previous version, could this be?
    Is there a way to avoid this?

    Thank you!

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

    (@dylanauty)

    Hi @sararow,

    Thank you for getting in touch, we do appreciate your time.

    I am sorry you are experiencing trouble with the marker images. Could I ask you to send me a link to a page where this can be seen? We have not made any notable changes to the way we manage marker icons in recent updates that would result in any placeholder being left in place.

    With that said, seeing this in place may be helpful in narrowing this down a bit further.

    Thread Starter SaraRow

    (@sararow)

    Hi, and thanks for your quick response!
    This is the link https://www.spprop.com/properties/martin-way/#location
    When you open the marker “Star Ice Cream” you’ll see the /wp-google-map-gold/assets/images/sample.jpg being loaded, instead of not showing anything.

    This is the custom Code I’m using with the Default layout selected:

    <div class="im-infowindow grid-x no-wrap align-middle">
    <div class="cell shrink show-for-medium location-image-wrapper" style="max-width: 11rem; margin-right: 2rem;">
    {marker_image}
    </div>

    <div class="cell auto">
    <h3 class="size-lg primary mb-1">{marker_title}</h3>
    <p class="size-sm">{marker_address}</p>
    </div>
    </div>

    Thank you!

    Plugin Author DylanAuty

    (@dylanauty)

    Hi @sararow,

    Thank you for confirming, I do appreciate it. I did initially think the structure was a bit odd as I did not recognize it as our code base/naming convention.

    Having a look at your site it looks like you are using a different plugin with a very similar name. I’m sorry for the confusion that has caused, but I can see references on your site pointing to a wpgmp prefix (name):

    • wp-google-map-gold (which we do not maintain or develop)

    Whereas our naming conventions (slugs and look like this instead)

    • wp-google-maps
    • wp-google-maps-pro
    • wp-google-maps-gold
    • wp-google-maps-ugm

    Our naming prefix is ‘wpgmza’ by comparison. Unfortunately, as this is not our code base I cannot advise on the best way forward and would need to recommend reaching out to the developers directly.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Display marker_image only when provided’ is closed to new replies.