Preview
Issue #2
Missing photo.
- Accepted by admin
- This issue was created as part of our final checks on the winning templates that had a very low number of issues reported during the contest (see https://instantview.telegram.org/rules#identifying-winners). If you think this issue was accepted as the result of an error, you still have time to submit an appeal. Thank you very much for taking the time and effort to participate in our contest! Results are coming soon.
- Master of None
- Dear Admin,
The problem is not from my side. Why?
Proof:
I selected the image-cover for image-url;
So if my codes has problem, why we can see the image as image-url in IV without problem !?
Rejecting my template from contest is unfair. Because my IV work fine.
cover: //div[@class="spcr"]/img/@src
image_url: $cover
- Accepted by admin
- Unfortunately, the problem is indeed with your template. If you use this at the end of the template:
@debug: $image_url
@debug: $cover
You will see that both return 0 matches. Sadly, the template is missing the cover image — and the link preview that you see on the page is generated either by the ..after block or by the link preview parser after that.
Template #2 handles this well.
- Type of issue
- IV page is missing essential content
- Reported
- Jul 25, 2017