Message Text |
I have several attachments for my links and I want to display one random attachment at a time on the main page.
I am still testing this, so I have only one link with four images attached. The toplist code is the following:
<!-- BEGIN TOPLIST 5 -->
<CONFIG>attachments,id,1,ascending,,,,0,0,0,0</CONFIG>
<img src="download.php?id={LINKID}&attachid={ATTACHID}"><bR><a href="{TRACKLINKURL} target="_blank">{LINKTITLE}</a>
<!-- END TOPLIST 5 -->
It is displayed correctly, however I get only attachment no. 1, no matter how often I reload... |