-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mc:edit on <img> tag breaks 2x/retina images #37
Comments
+1 |
+1 |
Did anyone find a solution to this? It's hard for me to believe that this is still an issue with responsive emails being so popular. Their own documentation specifies to use mc:edit directly on images:
Thanks for the hint about using it on the container td. Definitely not ideal, but at least it works. |
I seem to remember that an update made by MailChimp a few months ago may have resolved (or perhaps alleviated) this issue but I'm not 100% sure without delving back into it... |
Thanks - that would be good news if I weren't battling this issue today! Maybe I'm just unlucky. There are no display issues sending from Mailgun or within EmailOnAcid, so it still seems to be Mailchimp's issue. I will try some additional tricks to see if I can constrain the images via containers. Not much hope there, but who knows. Thanks for the quick reply! |
Ah yes, silly me. When adding the images, there's a spot to explicitly set the dimensions. If you do that, then Outlook honors those dimensions. |
It seems I'm still running into this issue in 2017 — per @willryanuk's comment: did anyone ever figure out a way to explicitly state max-width width or height to a wrapper so that retina images always stay that size, even if edited (mc:edit)? I can't seem to get Outlook to respect it:
Also, I saw that @nyckelplaya mentioned the spot to set h x w values, but I'd love for my clients to be able to skip that step. Person clicks on image that's editable, replaces the image with a retina one (twice the size of the container), not have to edit the height/width amounts. Any ideas? |
This has not resolved last time I checked with support (July 2017). I've reached out for support, but the MailChimp team basically say NO. As soon as you want to edit using the Drag and Drop editor, things break. The solution from them is that you should use Code Your Own every time and then not edit that upload in MailChimp. Obviously, that isn't suitable for people without coding skills which is why the drag and drop editor is useful. In the end, we built our own editor which our clients can use to create the retina layouts, with images, links and alt text, and then they upload that. If you want to see the full email exchange with tech support, you can read it here. But as I mention, MailChimp seem unwilling to engage with the developer community to alleviate things like this, which have been going on for years... |
Well that's a huge bummer @willryanuk. I'm not sure if this will help, but I know a couple developers at their MailChimp Atlanta HQ. I'll reach out and see if they can have any influence or solutions to these issues. 🙏 |
The solution at Email on Acid works perfectly for retina images but the problem is mailchimp's mc:edit tag as pointed out by @nyckelplaya. |
@ableandre, @iamtahirk - I'm not sure why this still hasn't been fixed. It's a core problem that affects paying users. And my hunch is that it impacts a lot more people who don't even realize it. I've had to train my clients to set the dimensions manually, and then send a test message to Outlook every single time. just to be safe. Pretty annoying for all of us. Bummer, indeed. |
Exactly @nyckelplaya. This is what most of the time happens to me. Clients needs retina images to look fancy on smaller screen and if we do that it breaks outlook. Don't know why they haven't addressed the issue, it's been quite a long time. |
+1 I can't believe this is still an open issue! |
This is unbelievable, what's so hard to get it fixed, MailChimp? If I use If I use In both scenarios, once I select an image and click to insert it, I need to be sure I manually set the correct width and no height (unchecking "keep proportions"), otherwise if it's an image smaller than the container, it will be blown up on mobile by the responsive image CSS. Besides developers who do custom templates for clients to edit visually in MailChimp, there are literally thousands of paying customers that are buying custom templates from marketplaces. To then use your editor and get this behavior. How is this still an issue?! |
I am new to the misfortune of mail chimp s poor custom template functionality. I didn't know how lucky I was using adestra. I actually moved a few mc:edit 's from Divs to IMG tags - and now i know why, i shall move them back. It is really going to make it harder and likely to cause mistakes editing the images though the wysiwyg dialog. Come on - pull your fingers out. |
As far as I can tell this is still an issue, using the |
Same problem here! :( |
an other option is when you don't want to use the span tag (like me because i want a image inserter not a wysiwyg editor for he image On the image add a max width for your column width from the table:
Hope this will help others aswel. |
+1 I've had this issue with clients for about 3 years now, I have to send clients documentation and make them aware of the issue. max-width works everywhere except outlook. Making the td mc:edit works but again, you lose the image editor as people have said. The span is again a similar fix mentioned above, but you lose the image editor. Most of my clients now just opt for 1x images to save themselves the manual leg work and it's shocking support having reached out on numerous occasions over the last 3 years. I came back now to check after 6 months to see if any progress and it seems you're all still experiencing the same issues. I've started persuading clients to move away from the platform as when I take on new work, I send them a 'All the things we can't do in Mailchimp' document. |
How is this still not fixed in 2024?! |
I created a responsive template for an email newsletter and we wanted to use 2x/retina images. It looked great on all platforms except for Outlook, where it would retain its full dimensions. It took a while to realize that having mc:edit on the img tag was the problem, and moving mc:edit to the containing td or div fixed the issue. While for our needs, the issue is fixed, I bring it up because having the mc:edit on the img tag gives different options in the Mailchimp in-browser editor that our team preferred. If it could be possible to allow for mc:edit to be used on the img tag without retaining the original dimensions, that would be ideal.
The text was updated successfully, but these errors were encountered: