Shopify Blog Feed Mailchimp广告系列不显示图像 [英] Shopify blog feeding mailchimp campaign doesn't display images

查看:134
本文介绍了Shopify Blog Feed Mailchimp广告系列不显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个客户设置一个简单的Mailchimp广告系列,该广告系列在Shopify网站上邮寄最新的博客文章. Mailchimp(通过feedburner)从站点的RSS feed中读取条目,并将它们显示在电子邮件模板中,但是博客的图像始终是断开的链接.

I'm setting up a simple Mailchimp campaign for a client which mails the latest blog post on a Shopify website. Mailchimp reads the entries from the site's RSS feed (via feedburner) and displays them in an email template but the blog's images are always broken links.

图像已直接上载到Shopify的文章中,并通过其内容传递网络传递.引用看起来类似于:

The images have been uploaded directly to Shopify for the articles and are delivered through it's content delivery network. References appear similar to:

<img src="//cdn.shopify.com/s/files/1/2222/3333/files/my-image.jpg?1234" />

直接通过Mailchimp模板进行实验,我发现在src url中包含协议可以正确检索图像:

Experimenting directly with the Mailchimp template, I found that including the protocol in the src url correctly retrieved the images:

<img src="http://cdn.shopify.com/s/files/1/2222/3333/files/my-image.jpg?1234" />

但是Shopify不接受这些修改,在保存博客帖子时将URL还原为其初始的,无协议的格式.

But Shopify would not accept these modifications, reverting the urls to their initial, protocol-free format on saving the blog posts.

一种解决方法是在协议后添加一个额外的正斜杠,例如:

A workaround was to include an additional forward slash after the protocol, as:

<img src="http:///cdn.shopify.com/s/files/1/2222/3333/files/my-image.jpg?1234" />

再次确认可以通过Mailchimp模板上的实验进行工作. 但是,当Mailchimp从RRS提要中拾取具有这些修改的图像URL的博客帖子时,它们在生成的电子邮件中显示为:

This was again confirmed to work through experiments on the Mailchimp template. However, when a blog post with these modified image urls is picked up by Mailchimp from the RRS feed, they appear in the generated email as:

<img src="https://d2q0qd5iz04n9u.cloudfront.net/_ssl/proxy.php//" />

由于RSS feed正确显示了图像,因此Mailchimp出现了最后的缓存阶段.

This final caching stage appears to occur with Mailchimp as the RSS feed presents the images correctly.

有什么方法可以配置博客文章中的图像引用,以便在Mailchimp电子邮件中正确显示它们?

Is there any way to configure image references in the blog posts such that they are presented properly in Mailchimp emails?

推荐答案

遇到了同样的问题,请尝试使用https://

Just had the same problem, try this with the https://

https://cdn.shopify.com

为我工作.

这篇关于Shopify Blog Feed Mailchimp广告系列不显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆