ya3mri
02-05-2008, 07:49
درس بسيط جدا في عرض صوره مصغره عشوائية
بدلا من أسم القسم في ألبوم الصور
أفتح تامبلت
category_bit.html
أمسح اللي داخله ((أحتفظ بنسخه طبعا))
أضف الكود التالي
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
{if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1" width="32" height="32"></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>
وبإمكانك تغيير حجم ألصوره المصغرة
من هذا السطر في الكود السابق
width="32" height="32"
بدلا من أسم القسم في ألبوم الصور
أفتح تامبلت
category_bit.html
أمسح اللي داخله ((أحتفظ بنسخه طبعا))
أضف الكود التالي
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
{if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="1" width="32" height="32"></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>
وبإمكانك تغيير حجم ألصوره المصغرة
من هذا السطر في الكود السابق
width="32" height="32"