hi boufa.
Quote:
Good site! and what a cute baby!
I'm happy to see you use my works effectively.
Quote:
-added image name to the random block images.
This is the sample of customized the template of myalbum_block_rphoto.html
<table width='100%' cellspacing='0' cellpadding='0' border='0'>
<tr>
<{foreach item=photo key=count from=$block.photo}>
<td align='center' style='margin:0px;padding:5px 0px;'>
<a href="<{$block.mod_url}>/photo.php?lid=<{$photo.lid}>&cid=<{$photo.cid}>"><img src="<{$photo.thumbs_url}>/<{$photo.lid}>.<{$photo.ext}>" <{$photo.img_attribs}> alt="<{$photo.title}>" title="<{$photo.title}>" /></a>
<br />
<{$photo.title}>
</td>
<{if $count is div by $block.cols }>
</tr>
<tr>
<{/if}>
<{/foreach}>
</tr>
</table>
Quote:
-changed to table view and added image name and number of hits (never realy liked list view, but the table view was too boring).
This is a sample of customized the template of myalbum_viewcat_table.html.
line 61:
<table width='100%' cellspacing='0' cellpadding='0' border='0'>
<tr>
<{foreach from=$photos item=photo}>
<td align='center' style='margin:0px;padding:5px 0px;'>
<a href='<{$mod_url}>/photo.php?lid=<{$photo.lid}>'><img src='<{$photo.imgsrc_thumb}>' <{$photo.width_spec}> alt='<{$photo.title}>' title='<{$photo.title}>' border='0' /></a>
<br />
<{$photo.title}> (<{$photo.hits}>)
</td>
<{if $photo.count is div by $colsoftableview }>
</tr>
<tr>
<{/if}>
<{/foreach}>
</tr>
</table>