How to make first post image as feature image above tag

Blogger Help Forums Forums Blogger Templates How to make first post image as feature image above tag

Tagged: 

This topic contains 2 replies, has 3 voices, and was last updated by  Anjelika Hassan 5 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4425

    Amir
    Member

    I want to post first blogger post image as feature image in above < head > tag, so it will display on top of the  blog. i use following code but it not working can you help me out, code is.

    < img expr:alt=’data:post.title’ expr:src=’data:post.firstImageUrl’ expr:title=’data:post.title’ />

    to get img url i use above code and not working.

    please can you tell me the proper code to display it on above < head > tag. and i also want to set its width to 100% my site is here using Square Magazine blogger template.

    #4426

    Wayne Fu
    Member

    2 points need to correct,

    1. all your html must place after <body>, instead of <head> ~ </head>

    2. the blogger data tag ‘data:post.firstImageUrl’ only works between POST AREA, will not work in whole blog. You could use another data tag ‘data:blog.postImageUrl‘, it will work in any location in whole blog

     

    —-

    CC0 HQ free image search engine: http://en.cc0.wfublog.com/

    #4467

    You will find the options for  post image as feature image in above < head > tag. It is easy to handle and you will get the idea to make your work more better . Hope you have aware of the ayurvedic treatments in Kerala started with best facilities. Through the Ayurveda treatments you will get a different feeling in your life. 

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.