Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » How do I…?
  3. » Image links

#1 2009-03-23 22:42:55

mfos
Member
Registered: 2008-12-11
Posts: 34

Image links

Hi,
I’m trying to output this:

<a class=“thumb” href=“images/1.jpg” title=”“>
<img src=“images/1t.jpg” alt=”“ />
</a>

using tags but i’m getting nowhere.

I want to pull in an article image using an ID. I’ve looked at some plugins but I just don’t know how to put it together. I have a mental blockage.

Any help please.

Desperate..

Mike

Offline

#2 2009-03-23 23:39:25

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Image links

You can do <txp:thumbnail id="123" link="1" /> to display the thumbnail, linked to the full image. But if you want to do that for every article image (use it in your article form) you’d better have a look at upm_image.

Offline

  1. Index
  2. » How do I…?
  3. » Image links

Board footer

Powered by FluxBB