Enforce proxy url for rich embedded images

This commit is contained in:
Jeremy Zhang 2018-01-17 23:26:08 +00:00
parent 5447063f35
commit 1e425bcded

View File

@ -316,9 +316,9 @@
<div class="innercontent"> <div class="innercontent">
{{#author}} {{#author}}
<div class="author"> <div class="author">
{{#author.icon_url}} {{#author.proxy_icon_url}}
<img src="{{author.icon_url}}"> <img src="{{author.proxy_icon_url}}">
{{/author.icon_url}} {{/author.proxy_icon_url}}
<a href=" <a href="
{{#author.url}}{{author.url}}{{/author.url}} {{#author.url}}{{author.url}}{{/author.url}}
{{^author.url}}#{{/author.url}} {{^author.url}}#{{/author.url}}
@ -349,21 +349,21 @@
</div> </div>
{{#thumbnail}} {{#thumbnail}}
<div class="thumbnail"> <div class="thumbnail">
<img src="{{thumbnail.url}}"> <img src="{{thumbnail.proxy_url}}">
</div> </div>
{{/thumbnail}} {{/thumbnail}}
</div> </div>
{{#image}} {{#image}}
<div class="image"> <div class="image">
<img src="{{image.url}}"> <img src="{{image.proxy_url}}">
</div> </div>
{{/image}} {{/image}}
{{#toRenderFooter}} {{#toRenderFooter}}
<div class="footer"> <div class="footer">
{{#footer}} {{#footer}}
{{#footer.icon_url}} {{#footer.proxy_icon_url}}
<img class="icon_url" src="{{footer.icon_url}}"> <img class="icon_url" src="{{footer.proxy_icon_url}}">
{{/footer.icon_url}} {{/footer.proxy_icon_url}}
<span class="text">{{footer.text}}</span> <span class="text">{{footer.text}}</span>
{{/footer}} {{/footer}}
{{#footerVerticalBar}} {{#footerVerticalBar}}