Answer the question
In order to leave comments, you need to log in
How to find Image Metadata in blogspot?
There is an operator <data:view.featuredImage/>
I would like to know the Metadata of the photo in the blogger template. Namely width, height.
Found
<!-- WIDTH -->
<data:view.featuredImage.width/>
<!-- HEIGHT -->
<data:view.featuredImage.height/>
Answer the question
In order to leave comments, you need to log in
The tags you provided are valid if you explicitly specify the width and height of the image. For example:
<!-- Добавлено изображение -->
<img expr:src='data:view.featuredImage' expr:alt='data:post.title' height='200' width='300'/>
<!-- Добавлен блок с высотой изображения -->
<div expr:style="height: " + data:view.featuredImage.height + ";">...</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question