Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-24 15:23:44

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Use thumbnails for txp:article_image

I would like to be able to use the thumbnail of the article images in some cases. For example, on an article listing page list the article image thumbnail with the excerpt then when you go to the individual article it has the whole image with the body.

How about <txp:article_image thumb="1" />?

Offline

#2 2006-02-24 15:31:44

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Use thumbnails for txp:article_image

Hi Jeff,

Maybe it’s not what you may want, but using Lightbox may be the ticket?

Lightbox plugin

Edit: keep forgetting to format the links :(

Last edited by hcgtv (2006-02-24 15:33:52)

Offline

#3 2006-02-24 15:53:50

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: Use thumbnails for txp:article_image

Yes I saw that and I might use it in the future put in this case I would like a simple plugin free way. I am going to be using it for a portfolio page and I have an article that need to go with it also.

Offline

#4 2006-02-24 16:17:42

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Use thumbnails for txp:article_image

There are 3 plugins that will do this already. Not sure why the resistance to using a plugin.

zem_article_image
hak_article_image
upm_article_image (part of upm_img_popper)


Shoving is the answer – pusher robot

Offline

#5 2006-02-24 16:27:22

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Use thumbnails for txp:article_image

There are intrinseque cons to plugins. But for the time being, and for that specific need, a plugin do the job quite alright.

Offline

#6 2006-02-24 16:27:40

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: Use thumbnails for txp:article_image

I am not opposed to plugins but I think that something as simple as being able to use the article image or its thumbnail shouldn’t require a plugin.

Last edited by tinyfly (2006-02-24 16:29:11)

Offline

#7 2006-02-24 16:30:56

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Use thumbnails for txp:article_image

I think it is a reasonable request, and easily managed. I’ll send in a patch later today when I get the time.

Offline

#8 2006-02-24 16:34:16

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Use thumbnails for txp:article_image

tinyfly wrote:
I am not opposed to plugins but I think that something as simple as being able to use the article image or its thumbnail shouldn’t require a plugin.

True.


Shoving is the answer – pusher robot

Offline

#9 2006-02-24 16:36:44

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: Use thumbnails for txp:article_image

Thanks mary, that would be great. It’s good to see you poking around again.

Offline

#10 2006-02-24 23:15:44

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,357
Website GitHub Mastodon

Re: Use thumbnails for txp:article_image

> hakjoon wrote:

There are 3 plugins that will do this already. Not sure why the resistance to using a plugin.
zem_article_image
hak_article_image
upm_article_image (part of upm_img_popper)

Four.

Offline

#11 2006-02-24 23:44:01

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Use thumbnails for txp:article_image

Oops didn’t mean to leave you out there.

Forgot about wet_article_thumb I only remembered wet_thumbfilter which is totally rockin’.


Shoving is the answer – pusher robot

Offline

#12 2006-07-04 15:40:36

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Use thumbnails for txp:article_image

This was added in r1262.

Offline

Board footer

Powered by FluxBB