© Сделано на LiveStreet
Дизайн - ©2009 MODx RED Group
Note: As of this version (phpThumbOf 1.2.1-pl) crop gravity does not work. So, Changing the &zc= value to ‘C’, ‘T’, ‘B’, ‘L’, ‘R’, ‘TL’, ‘TR’, ‘BL’, ‘BR’ will not change the (top, bottom, left, right, etc.) area of the picture that the crop will be anchored to. It will always be center-weighted.
[[+image:phpthumbof=`wl=230&hp=230`]][[+image:phpthumbof=`wl=230&wp=165`]]<img src="[[+tvImg:phpthumbof=`w=300`]]"/>так<img src="[[*tvImage:phpthumbof=`w=300`]]"/>и даже так<img src="[[!phpthumbof? &input=`[[*tvImg]]` &options=`w=500`]]"/>[[*thumb:phpthumbof=`w=120&h=120&zc=1`]]<a href="[*list-mainfoto*]"><img width="339" src="[*list-mainfoto:phpthumbof=`w=339`*]" /></a> <a href="[*list-foto1*]"><img src="[*list-foto1:phpthumbof=`w=165&h=130&zc=1`*]" /></a> ... ...
[2012-01-16 10:51:22] (ERROR @ /home/www/s***d.cz/core/model/phpthumb/phpthumb.class.php: 1054) PHP warning: is_link() [function.is-link]: open_basedir restriction in effect. File(/home/www/s***d.czassets/template/base/images/img3.jpg) is not within the allowed path(s): (/home/www/s***d.cz)
<div id="imageDiv">
<a href="[[*image]]" class="cloud-zoom" id="zoom1"
rel="tint: '#ff0000',tintOpacity:0.5 ,smoothMove:5,zoomWidth:360, adjustY:-4, adjustX:10" style="position: relative; display: block">
<img src="[[*image:phpthumbof=`w=360&h=480&q=95&far=0`]]" alt='[[*pagetitle]]' title="[[*pagetitle]]" />
</a>
<div id="moreImg">
<a href="[[*image2]]" class="cloud-zoom-gallery" title="Red" rel="useZoom: 'zoom1', smallImage: '[[*image2:phpthumbof=`w=80&h=100&q=95&far=0]]' ">
<img class="zoom-tiny-image" src="/images/zoomengine/tinyimage.jpg" alt="Дополнительное изображение №1 для [[*pagetitle]]">
</a>
</div>
</div>Обновление: читайте исследования 1 и особенно 2 внизу
[[!Gallery@everest? &album=`[[*album]]` &thumbTpl=`album_thumb_tpl`]]<div class="photo">
<a class="zoom" rel="photoalbum" href="[[+image_absolute]]">
<img src="[[+fileurl:phpthumbof=`w=100&h=100&zc=1&fltr[]=wmi|/assets/templates/everest/img/news-watermark.png|50x50`]]" alt="[[+name]]" />
</a>
</div>