Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-07-25 16:46:01

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Display image thumb from a category

Is there a plugin around that could display latest image / thumbnail in given category ?

I think I could use http://forum.textpattern.com/viewtopic.php?id=2507 plugin but it´s not maybe specified to to extacly this, + the downlaodlink is broken.

Any idea ?

If not then we can call this a request :)

Thx in advance


regards,

Agust

Offline

#2 2005-07-25 17:24:52

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

Re: Display image thumb from a category

You can try using the category as a filename, and construct your own img or background-image tag with it. Be careful about unicode glyphs though…

Offline

#3 2005-07-25 17:32:31

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: Display image thumb from a category

Jeremie:
Thanks for quick response but i´m not getting your solution.

Could you go a little deeper ?

Thx


regards,

Agust

Offline

#4 2005-07-25 17:53:46

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

Re: Display image thumb from a category

In your article’s form, use something like: <img src="/images/design/<txp:category1 />.png"> . Aka, create one image for each category, and name it after that category.

Offline

#5 2005-07-25 18:01:19

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: Display image thumb from a category

Ahh nice methood but not what im looking for :)

I want to display latest image uploaded.

Thx for the help tho.


regards,

Agust

Offline

#6 2005-08-20 19:19:00

kriskhaira
Member
From: Malaysia
Registered: 2005-02-22
Posts: 16
Website

Re: Display image thumb from a category

druzli, did you find the solution to this problem? I’m trying to do the same thing at http://kriskhaira.com/photography.

i’m using this <pre><code>&lt;txp:image_index c=“photography” /&gt;&lt;txp:image_display /&gt;&lt;/code&gt;&lt;/pre&gt;

i’d like to know how to make the latest image automatically appear in full-size

right now, i’m presented with the thumbnails as i enter that section. i have to click on the first thumbnail to see the latest photo.

Last edited by kriskhaira (2005-08-20 19:21:06)

Offline

#7 2005-08-20 19:21:08

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: Display image thumb from a category

Nope, I salted the task until I see a nice solution.

Please post here if you solve :)


regards,

Agust

Offline

#8 2005-08-20 19:22:02

kriskhaira
Member
From: Malaysia
Registered: 2005-02-22
Posts: 16
Website

Re: Display image thumb from a category

Wow, that was a quick reply. I’ll keep you posted if I solve it.

Offline

#9 2005-08-27 02:59:37

kriskhaira
Member
From: Malaysia
Registered: 2005-02-22
Posts: 16
Website

Re: Display image thumb from a category

I gave up on this last week and decided to use articles with images, instead of just images only. That way I have more control over what I want to display.

http://kriskhaira.com/photoblog/

Offline

Board footer

Powered by FluxBB