Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-01-02 14:22:38

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

link_rel attribute in thumbnail tag not working

Seeing a problem with the <txp:thumbnail /> tag in 4.3.0 – the link_rel="relation" attribute is not working for me (using a clean 4.3.0 install).

<txp:thumbnail id="3" link_rel="bookmark" />

Produces something like:

<img src="http://domain.com/images/3t.png" alt="" width="20" height="20" />

Last edited by jstubbs (2011-01-02 14:22:55)

Offline

#2 2011-01-02 14:25:50

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,446
Website GitHub

Re: link_rel attribute in thumbnail tag not working

Add link="1". The link_rel adds the rel to the anchor link. The img tag itself doesn’t have a rel attribute.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB