Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-09 02:56:22

hilife
Member
Registered: 2007-08-21
Posts: 11

Textpattern feature question...

Hello TXP community we are getting ready to use txp on our non-profit website, my question is can i upload an image , have txp convert it into a thumbnail and when a user clicks on it i would like to link it to an article

Is that possible via a plugin ? If so please tell me which plugin to use…

Thank You

Offline

#2 2008-01-09 03:09:47

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Textpattern feature question...

yes you can. if you have a more complex setup you might need a plugin but creating a thumbnail and having it link to a specific article can be done out of the box.

Offline

#3 2008-01-09 03:18:47

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Textpattern feature question...

It’s possible, but you don’t need a plugin (read the TextBook).

  1. Content > Images: Upload an image
  2. Enter dimensions for the thumbnail (just fill out the width or height only to constrain proportions)
  3. Take note of the image id (eg. 2)
  4. Content>Write: Write an article. Advanced options>Article image>enter the image id
  5. Presentation>Forms>default (if you’re using the default template):
<txp:if_article_list>
	<txp:permlink>
		<txp:article_image thumbnail="1" />
	</txp:permlink>
</txp:if_article_list>

Offline

Board footer

Powered by FluxBB