Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-02-14 13:00:55

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Image/s by category in index pages

I need to call an image by category in an index page.
For this reason I cannot call it by means of <txp:article_image /> .

At present I profit of <txp:if_section /> , but i would like to remove the most of ‘if – statements’ from my site, so I would like to call the image by its category, maybe making the image category name match the page section name.

Time ago I tried this choice without succed in realizing it. Is anything changed?
Is it possible to do it without any plugin?
TNX

Offline

#2 2011-02-14 13:34:56

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Image/s by category in index pages

images allows image selection by category. Txp 4.3.0 required.


Code is topiary

Offline

#3 2011-02-14 17:11:29

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Image/s by category in index pages

Thank you, it works,
but till now I can’t succeed in applying the class (borders) to the image (img): I can only see a blue frame.
besides the images appear also clickable (on mouse over -> it shows a finger).

Last edited by Bongo-man (2011-02-14 17:49:27)

Offline

Board footer

Powered by FluxBB