Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [superseded] rah_aimage
Yes, there is no multiple image support. I would highly advice using Textpattern’s native image tags instead, and discourage using rah_aimage. The plugin is old, coming from the time before Textpattern’s current image tags or multiple image support, and is very much replaced by other projects and has been rendered useless. All support for rah_aimage will be officially dropped in next few months.
Please, see:
- article_image
- images
- smd_if and/or rah_function
E.g.
<txp:images>
<txp:variable name="protocol"><txp:rah_function
call="substr"
subject='<txp:image_info type="alt" />'
starts="0"
ends="4"
/></txp:variable>
<txp:if_variable name="protocol" value="http">
<a href="<txp:image_info type="alt" />">
<txp:thumbnail />
</a>
<txp:else />
<txp:thumbnail />
</txp:if_variable>
</txp:images>
Offline
#14 2012-03-27 12:12:35
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: [superseded] rah_aimage
got it work that way, but somehow it puts break tag between images… :(
is there easier solutions than you just wrote? another plugin….? could smd_random_banner do it…?
Last edited by Gallex (2012-03-27 12:26:36)
Offline
#15 2012-03-27 12:41:00
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: [superseded] rah_aimage
yes, it can! ;)
Offline
Re: [superseded] rah_aimage
but somehow it puts break tag between images… :(
Just use <txp:images break=""> ...
for your opening tag.
TXP Builders – finely-crafted code, design and txp
Offline