Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Ramdom image from given category
Is it possible to have TXP output a single image choosen at random from an image category? Seems simple enough, but could find anything when I looked around. thanks in advance.
Offline
Re: Ramdom image from given category
Use mem_randim. Example:
<code>
<txp:mem_randimg category=“selectedcategory”><txp:mem_img/></txp:mem_randimg>
</code>
Offline
Pages: 1