[2023-01-23] 4images 1.10 released
0 Members and 1 Guest are viewing this topic.
// HERE EXAMPLE PICSstandard 4images color on white background (55x10 px)// DEMO: no more available
please demo
// ADD IN TEMPLATE(S) / FÜGE DIES IN DEIN(E) TEMPLATE(S) Code: <img src="{template_url}/images/{rating_pic}" width="55" height="10" alt="" />
I dont get it... in which file should i insert this?
into category_bit.html
<table border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <img src="{template_url}/images/folder.gif" width="20" height="13" alt="" /> <!-- {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1"></a>{endif random_cat_image_file} --> </td> <td> <a href="{cat_url}" class="maincat">{cat_name}</a> ({num_images}) {if cat_is_new}<sup class="new">{lang_new}</sup>{endif cat_is_new} </td> </tr></table>{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}{if sub_cats}{sub_cats}{endif sub_cats}<img src="{template_url}/images/{rating_pic}" width="55" height="10" alt="" />
<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->{thumbnail}<br /><b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})<br /><a href="{cat_url}">{cat_name}</a><br />{if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br /><img src="{template_lang_image_url}/{rating_pic}" alt="{lang_rating} {image_rating} ({image_votes} {lang_votes})" /><br />{lightbox_button}
Anyway to add the star rating to the top.php? It would be nice to show the start rating in the top 10s. Ive tried everything but cant get it to work. little help?Carl
$register_array['image_rating_number_'.$i] = "<b>".$top_list[$i]['image_rating']."</b> (".$top_list[$i]['image_votes']." ".$lang['votes'].")";
$register_array['image_rating_number_'.$i] = "<b><img src=\"".TEMPLATE_PATH."/images/".floor($top_list[$i]['image_rating']).".gif\">"."</b> (".$top_list[$i]['image_votes']." ".$lang['votes'].")";