<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
			<channel>
			<title>css в шаблоне Experience Simple v.1.0.0 / Вопросы, проблемы и их решения / Alto CMS</title>
			<link>http://79.174.14.219/comments/1103/</link>
			<description><![CDATA[Одни Авы Блога круглые а некоторые нет, вот пример: А так же нет возможности обрезать Фото для Авы при загрузки]]></description>
			<language>ru</language>
			<managingEditor>noreply@altocms.ru</managingEditor>
			<webMaster>noreply@altocms.ru</webMaster>
			<generator>Alto CMS v.1.5.0b1</generator>
							<item>
					<title>css в шаблоне Experience Simple v.1.0.0 (comment #20272)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1103/#comment20272</guid>
					<link>http://79.174.14.219/1103.html#comment20272</link>
					<author>andreyv@gladcode.ru</author>
					<description><![CDATA[<a href="https://github.com/altocms/altocms/commit/76eb88190082e75dddbd546240bb7b8c7dcc47ac" rel="nofollow" >Исправлено</a><br/>
Возможность обрезки изображений можно включить, для этого в файле виджета <a href="https://github.com/altocms/altocms/blob/master/common/templates/skin/experience-simple/tpls/widgets/widget.blogAvatar.tpl#L20" rel="nofollow" >common/templates/skin/experience-simple/tpls/widgets/widget.blogAvatar.tpl</a> нужно изменить значение <em>data-crop</em> на <strong>yes</strong>. Можно также зафиксировать пропорции области обрезки и установить заголовок и текст так<br/>
<pre class="prettyprint"><code>{* БЛОК ЗАГРУЗКИ ИЗОБРАЖЕНИЯ *}
&lt;div class              =&quot;js-alto-uploader&quot;
     data-target        =&quot;blog_avatar&quot;
     data-target-id     =&quot;{$sTarget_id}&quot;
     data-empty         =&quot;{asset file=&quot;images/empty_image.png&quot; theme=true}&quot;
     data-preview-crop  =&quot;252x252crop&quot;
     data-title         =&quot;{$aLang.settings_profile_avatar_resize_title}&quot; {* ---&gt; Заголовок окна *}
     data-help          =&quot;{$aLang.settings_profile_avatar_resize_text}&quot; {* ---&gt; Текст окна *}
     data-aspect-ratio  =&quot;1&quot; {* ---&gt; Квадратная обрезка *}
     data-crop          =&quot;yes&quot;&gt; {* ---&gt; Разрешаем вывод окна обрезки аватара *}
</code></pre>]]></description>
					<pubDate>Sat, 25 Apr 2015 09:27:55 +0300</pubDate>
									</item>
							<item>
					<title>css в шаблоне Experience Simple v.1.0.0 (comment #20275)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1103/#comment20275</guid>
					<link>http://79.174.14.219/1103.html#comment20275</link>
					<author>losper@ua.fm</author>
					<description><![CDATA[Это я так понимаю актуальное решение? Его реально вынести в app? Что бы при последующих обновлениях я мог обновляться и не править вручную.]]></description>
					<pubDate>Sat, 25 Apr 2015 12:45:18 +0300</pubDate>
									</item>
					</channel>
	</rss>
