RC6: HTML Template: Loop command
Posted: Fri Jun 10, 2005 7:11 pm
<Moderator's note: This topic was split from topic "Create Webpage: Possible improvements">
- Loop Directions without HTML
Currently, #THUMB_START# and #THUMB_END# are used for looping over the thumbnails, which is good and clear. But these directions also generate a <tr> and a </tr>, I think this shouldn't be done since this limits down the usage.
For example, you cannot have a table one column of thumbnails using:
This should be implemented in 1.80, since a later change would affect all existing WebTemplates and users' WebTemplates.
The problem can be seen here:
Currently, the template is:
The result is:
As you can see, a <tr> and </tr> is inserted, which shouldn't be there.
XnView 1.80 <x>
- Loop Directions without HTML
Currently, #THUMB_START# and #THUMB_END# are used for looping over the thumbnails, which is good and clear. But these directions also generate a <tr> and a </tr>, I think this shouldn't be done since this limits down the usage.
For example, you cannot have a table one column of thumbnails using:
Code: Select all
<table>
#THUMB_START#
<tr>
<td>
<a href="#FRAME_PAGE#" target="frame2"><img src="#THUMB_LINK#" border="0" alt="#FILENAME#"></a>
<div>#FILENAME#</div>
</td>
</tr>
#THUMB_END#
</table>
The problem can be seen here:
Currently, the template is:
Code: Select all
<br><br><center><table border="0">
#THUMB_START#
<td align="center" valign="bottom">
<a href="#FRAME_PAGE#" target="frame2"><img src="#THUMB_LINK#" border="0" alt="#FILENAME#" width="#THUMB_WIDTH#" height="#THUMB_HEIGHT#"></a>
<div>#FILENAME#</div>
</td>
#THUMB_END#
</table></center><br>
Code: Select all
<br><br><center><table border="0">
<tr><td align="center" valign="bottom">
<a href="original/collage.html" target="frame2"><img src="thumb/t_collage.gif" border="0" alt="collage.jpg" width="96" height="100"></a>
<div>collage.jpg</div>
</td>
<td align="center" valign="bottom">
<a href="original/collage1.html" target="frame2"><img
...
XnView 1.80 <x>