{if $r['thumb']}
<img src="{imagecut($r['thumb'],640,400,4)}" alt="{$r['title']}" width="640" height="400">
{else}
<img src="{R}manxiu_net/images/Portfolio04.png" alt="{$r['title']}" width="640" height="400">
{/if}
{if $r['thumb']}
<img src="{imagecut($r['thumb'],640,400,4)}" alt="{$r['title']}" width="640" height="400">
{else}
<img src="{R}manxiu_net/images/Portfolio04.png" alt="{$r['title']}" width="640" height="400">
{/if}
转载于:https://my.oschina.net/40813/blog/1628351