Now i always get the default src (dev-bg-compressed.jpg). When i create a blogpost and change the default image to one inside the Media-Manager, the value is not chaning and i dont get back the src of the selected image in the Hubspot Media-Manager.
I have a feeling that will partially help, but I just had a quick try and I couldn’t work out how to set my own default image. As soon as an image is removed in the template by the end user, the object gets blanked and nothing is returned…
You can probably hack around that in the short term with a conditional in your template to return either the img.src or a default value if not set, but… not ideal. I may very well be missing something here though -- @alyssamwilie, @Mike_Eastwood: any ideas?
Please let us know how you get on with this, Pascal.
PS: I also noticed you’re using @hubspot/image for the path, but I don’t see that any more in the docs for some reason. Only /image-email and /linked_image - you could also try with linked_image perhaps?
Cheers,
Mike
--- Did I answer your question? If your question is answered, please mark it as a solution. If you need more help, hit that big orange ‘Reply’ button!