
1
Refresh Image Within Email HTML (css/checkbox etc...)
Hi everyone!
I was wondering if is even posible to "refresh" an image within the email. The use case would be: I've an image in the email when the user open at first, but i want to have the capabilitiy of change that same image at any time and let the user refresh inside the email with an action with a checkbox for example and see the updated image. I've tried many approachs, but updating the content of the email this way is kind of a waste of time so far, here's my last attemp by asking for any ideas here :D
Thanks!
Ok, here's what i've found so far and the main roadblock i've encounter also.
This "solution" is tested on iOS and android.
The only way to refresh an image inside the email i've found is using the <picture> tag.
But, here's the roadblock: In order to refresh the image you've to change the viewport, that means going to landscape or back to portrait. This way if the image is replaced on the server side while you're viewing the email and you turn your phone to landscape you'll see the new image and the same if you change again the image and then go back to portrait.
Basically each time you change orientation of the device the image is requested again each time.
But, how to force this without the orientation change action? That's the main issue i've have at this point.
I'am testing this still, to se if there's any other way to force this other than the orientation change.
Thank you all!
I do not think this is possible as when the user opens the email it downloads the content, however if you have access to the file server where the image is hosted you could change it manually if that makes sense.
I work with the IBM system and they have a feature where you can change a link or image post campaign sent, but it is only reflected in records who have not downloaded/opened the email.
I've worked with a few email platforms with this same capability—swap an image after a campaign is sent. Whether people see it really depends on how they view the message. Some email clients automatically cache images for a short time, or only until the next connection or you restart the program, or until you reload the web mail page.
It totally varies with email clients, but I know of no way to force reload an image.
Ok, thank both of you for your answers.
I've actually find something that could be a starting point for a workaround.
Something that really refresh an image within the email without leaving it.
If everything goes fine in my test i'll share an example soon.
Thanks!
Interested to see your idea Diego - let us know :)
Hi Chris,
I haven't had the time to keep looking any further into the <picture>solution i've explained.
I hope i can found some time next week to resume this research.
Thanks!
Hi Diego,
I've recently started using http://lorempixel.com/ for placeholder images - and i wonder if the method they use would be worth looking into. You dont reference a filename, but just a folder.
Cheers
I'm keen to see this as well - several companies regularly pitch me their technical solution but then when I dig in, there ends up being a lot of places where our subscribers read emails that their platforms can't support.