📄 favoritephotos.vm
字号:
<ul class="ul_ccr_right ccrr_height1">
#foreach ($one in $myFavoritePhotoList)
#set($percent=100)
#set($width=120)
#set($height=90)
#if(${one.photoWidth}&& ${one.photoWidth}>120 && ${one.photoWidth}!=0)
#set($percent=120 * 100 /${one.photoWidth})
#end
#if(${one.photoHeight}&& ${one.photoHeight}* ${percent}> 9000 && ${one.photoHeight}!=0)
#set($percent=9000 /${one.photoHeight})
#end
#if(${one.photoWidth}&& ${one.photoWidth}!=0)
#set($width=${one.photoWidth}* ${percent}/100 )
#end
#if(${one.photoHeight}&& ${one.photoHeight}!=0)
#set($height=${one.photoHeight}* ${percent}/100 )
#end
<li>
<div class="ccrr_img1 img_valign">
<p><a href="http://blog.sentfun.com/album/display.do?id=$!{one.photoId}" target="_blank"><img src="http://media.sentfun.com/$!{one.miniatureUrl}" alt="$!{one.photoName}" title="$!{one.photoName}" width="$!{width}" height="$!{height}" /></a></p>
</div>
<p><a href="http://blog.sentfun.com/album/display.do?id=$!{one.photoId}" target="_blank">
#if($!{one.photoName}!="")
#if(${one.photoName.length()}>10)
$!{one.photoName.substring(0,10)}...
#else
$!{one.photoName}
#end
#else
暂无描述
#end
</a></p>
<p><a href="#">下载到手机 <img src="/images/img_download_mobile.gif" alt="下载到手机" title="下载到手机" width="11" height="16" class="ccrr_mobile" /></a></p>
</li>
#end
</ul>
<div class="clear"></div>
<div class="ccrr_more"><a href="#" target="_self"> </a></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -