The free thumbanil service from Thumsbhots.org is limited to 120 x 90 pixel images.
You can certainly change the code to use yoru own images..
The file you would need to edit is /include/functions.php (make a back up first, it is a rather large file)
The draw_sites function, responsible to displaying the entries starts around line # 1175
The code that creates the IMG SRC tag is around line # 1235 and looks like this ...
| Code: |
if ($thumbshot == "1"){$htmlsrc .="height=\"90\">
<td valign=\"top\" width=\"120\" class=\"" . $cell_color . "\" background=./images/na.gif>
<a target=\"blank\" href=./out.php?ID=" . $sites_array[site_id] . ">";
$htmlsrc .="<img border=\"0\" align=\"top\" src=http://open.thumbshots.org/image.pxf?url=".
urlencode($sites_array["site_url"]) ."></a></td><td valign=\"top\" class=\"" . $cell_color . "\">";
|
So you could create an image for each entry, name the file for the Site ID of the entry, like entry #5 gets 5.gif or 5.jpg You could put them in a directory, like "sitepics"..
Then, replace this code
| Code: |
$htmlsrc .="<img border=\"0\" align=\"top\" src=http://open.thumbshots.org/image.pxf?url=".
urlencode($sites_array["site_url"]) ."></a>
|
With something like
| Code: |
$htmlsrc .="<img border=\"0\" align=\"top\" src=\"/sitepics/".$sites_array["site_id"] .".jpg\"></a>
|