←  FAQ

Crystal Scripts Support Forum

»

How to create toplist with thumbs?

Support's Photo Support 16 Dec 2010

It's easy with Crystal Trader.

1. Go to Settings - Checker & Grabber
2. Specify at least one thumb size in grabber block (width x height fields)
3. Create toplist with code (example):

<a href="/crtr/cgi/out.cgi?id=##id_0##&l=thumbtop&u=##url_0##"><img src="crtr/thumb/##id_0##_1.jpg" alt="##title_0##" /></a>
<a href="/crtr/cgi/out.cgi?id=##id_1##&l=thumbtop&u=##url_1##"><img src="crtr/thumb/##id_1##_1.jpg" alt="##title_1##" /></a>
<a href="/crtr/cgi/out.cgi?id=##id_2##&l=thumbtop&u=##url_2##"><img src="crtr/thumb/##id_2##_1.jpg" alt="##title_2##" /></a>
<a href="/crtr/cgi/out.cgi?id=##id_3##&l=thumbtop&u=##url_3##"><img src="crtr/thumb/##id_3##_1.jpg" alt="##title_3##" /></a>
<a href="/crtr/cgi/out.cgi?id=##id_4##&l=thumbtop&u=##url_4##"><img src="crtr/thumb/##id_4##_1.jpg" alt="##title_4##" /></a>
<a href="/crtr/cgi/out.cgi?id=##id_5##&l=thumbtop&u=##url_5##"><img src="crtr/thumb/##id_5##_1.jpg" alt="##title_5##" /></a>

or (if you are using /cgi-bin/crtr/ path for out.cgi)

<a href="/cgi-bin/crtr/out.cgi?id=##id_0##&l=thumbtop&u=##url_0##"><img src="crtr/thumb/##id_0##_1.jpg" alt="##title_0##" /></a>
<a href="/cgi-bin/crtr/out.cgi?id=##id_1##&l=thumbtop&u=##url_1##"><img src="crtr/thumb/##id_1##_1.jpg" alt="##title_1##" /></a>
<a href="/cgi-bin/crtr/out.cgi?id=##id_2##&l=thumbtop&u=##url_2##"><img src="crtr/thumb/##id_2##_1.jpg" alt="##title_2##" /></a>
<a href="/cgi-bin/crtr/out.cgi?id=##id_3##&l=thumbtop&u=##url_3##"><img src="crtr/thumb/##id_3##_1.jpg" alt="##title_3##" /></a>
<a href="/cgi-bin/crtr/out.cgi?id=##id_4##&l=thumbtop&u=##url_4##"><img src="crtr/thumb/##id_4##_1.jpg" alt="##title_4##" /></a>
<a href="/cgi-bin/crtr/out.cgi?id=##id_5##&l=thumbtop&u=##url_5##"><img src="crtr/thumb/##id_5##_1.jpg" alt="##title_5##" /></a>
4. Include that toplist on the page(s)
Quote