Preview
Issue #5
Link preview image is missing.
- Mykhailo Komendant
- Its not missing.
Image in link preview (on instantview.telegram.org) is displaying by the following code:
<div class="page-preview-media" style="background-image:url(%IMAGE_URL%)">
<img src="%IMAGE_URL%">
</div>
The <img> tag has style visibility: hidden; so we can see only image defined as a background of a parent
On Curiosity links of images looks like this:
https://dw8stlw9qt0iz.cloudfront.net/C9FkzT7HImGv0NQN14uPcWvV1v8=/750x450/filters:format(jpeg):quality(75)/curiosity-data.s3.amazonaws.com/images/content/thumbnail/standard/d193d12a-74c0-4053-e51a-207310f6f58c.png
and since this link is not wrapped in a quotes in url() property, it will gives us broken markup
Found first closing bracket, browser cuts other extra content and think that correct link given in background-image property is https://dw8stlw9qt0iz.cloudfront.net/C9FkzT7HImGv0NQN14uPcWvV1v8=/750x450/filters:format(jpeg
That makes a broken image link to preview in editor.
- Declined by admin
- Type of issue
- IV page is missing essential content
- Reported
- Feb 6, 2019