Managing sizes of thumbnails
This commit is contained in:
parent
31fd8ca10a
commit
3e5422b8e9
1 changed files with 3 additions and 2 deletions
|
|
@ -24,8 +24,9 @@
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
color: #6a6a6a;
|
color: #6a6a6a;
|
||||||
}
|
}
|
||||||
div {
|
div.home_entry_table {
|
||||||
float: left;
|
float: left;
|
||||||
|
height: 200px;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
|
@ -39,7 +40,7 @@
|
||||||
#set($thmb = 150)
|
#set($thmb = 150)
|
||||||
#foreach($entry in $entries)
|
#foreach($entry in $entries)
|
||||||
#set($dim = $entry.size.scaled($thmb))
|
#set($dim = $entry.size.scaled($thmb))
|
||||||
<div class="home_entry_table" height="200">
|
<div class="home_entry_table">
|
||||||
<span class="name">$entry.name</span><br/>
|
<span class="name">$entry.name</span><br/>
|
||||||
<a href="$entry.name"><img src="$entry.name?size=$thmb" border="0" width="$dim.width" height="$dim.height"/></a><br/>
|
<a href="$entry.name"><img src="$entry.name?size=$thmb" border="0" width="$dim.width" height="$dim.height"/></a><br/>
|
||||||
<span class="caption">$!entry.caption</span>
|
<span class="caption">$!entry.caption</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue