Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-16 21:34:34

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

article img thumb to link to big article img

i did a search for images on this forum and i couldnt find the answer to what i think should be something simple. i uploaded a giant image, i want to have this image in my blog post but it needs a thumbnail first. so i go with the:
<txp:article_image thumbnail=“1” />
displays it properly on the blog post but how do i make this link up to the main image with minimal work? just wondering if i’m missing something here cause it should be a very quick process imo

Offline

#2 2007-12-16 22:31:11

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

Re: article img thumb to link to big article img

depends on where you want the main image to appear. if you want your article list to show only thumbnails and you want each individual article to show the main image:

you just need two article forms. the article list form is set to show thumbnail and the individual article form is set to show the regular image. you can then wrap the thumbnail in a permlink tag to link it to the article (and thus also open up the original image)

there are also about a billion plugins that do it in several different ways.

Last edited by iblastoff (2007-12-16 22:31:27)

Offline

Board footer

Powered by FluxBB