Author: |
Shurshilov Artem |
License: |
LGPL-3 |
Branch: |
13.0 |
Repository: |
consultingerp/odoo-8 |
Dependencies: |
base,
crm,
web,
website,
website_crm,
website_form,
and
website_partner |
Languages: |
CSS (563, 67.7%),
HTML (64, 7.7%),
JavaScript (26, 3.1%),
Python (70, 8.4%),
XML (41, 4.9%),
and
reStructuredText (67, 8.1%) |
Other branches: |
12.0 |
Other repositories: |
niulinlnc/odoo-1,
and
shurshilov/odoo |
<h1 class="title">Web Image Editing (WIE)</h1>
<ul class="simple">
<li>This module extend image widget and work outbox!</li>
<li>Also are available setting in xml file!</li>
<li>See video for greater understanding!</li>
</ul>
<a name="capabilities"></a>
<h2>Capabilities</h2>
<ul class="simple">
<li>Zoom and pan</li>
<li>Rotate</li>
<li>Crop</li>
<li>Step back in history client-side (before save)</li>
<li>Download original</li>
<li>Open original image</li>
<li>Upload URL image</li>
<li>Edit current image</li>
<li>Image preview by click</li>
<li>Settings - min and max (height, width) image prview, ratio, backgroundColor</li>
<li>And other...</li>
</ul>
<a name="usage"></a>
<h2>Usage</h2>
<p>After installing the module, you can use it in the following ways</p>
<ul>
<li><ol class="first arabic simple">
<li>Instant use with default settings!</li>
</ol>
</li>
<li><p class="first">2. The widget passes options directly through to image, which supports the
following code-block:</p>
<pre>
<code><field name="image_medium" widget="image" options=
"{
'minWidth': 100,
'minHeight': 100,
'maxWidth': 800,
'maxHeight': 600,
'ratio': 1,
'plugins': {
'crop': {
'minHeight': 50,
'minWidth': 50,
'maxHeight': 250,
'maxWidth': 250,
'ratio': 1,
}
}
}" /></code>
</pre>
<dl class="docutils">
<dt>see video on youtube raw:: html</dt>
<dd><p class="first last"><iframe width="560" height="315" src="<a class="reference external" href="https://www.youtube.com/watch?v=OOU8AkYuW1E">https://www.youtube.com/watch?v=OOU8AkYuW1E</a>" frameborder="0" allowfullscreen></iframe></p>
</dd>
</dl>
<img alt="WIE menu" class="img-thumbnail" src="https://raw.githubusercontent.com/shurshilov/web/10.0/widget_image_tools/static/description/Menu.png" style="height: 360px;" />
<img alt="WIE edit" class="img-thumbnail col-xs-offset-1" src="https://raw.githubusercontent.com/shurshilov/web/10.0/widget_image_tools/static/description/Edit.png" style="height: 360px;" />
<img alt="WIE zoom" class="img-thumbnail col-xs-offset-1" src="https://raw.githubusercontent.com/shurshilov/web/10.0/widget_image_tools/static/description/Zoom.png" style="height: 360px;" />
<img alt="WIE preview" class="img-thumbnail col-xs-offset-1" src="https://raw.githubusercontent.com/shurshilov/web/10.0/widget_image_tools/static/description/Preview.png" style="height: 360px;" />
<img alt="WIE download origin with origin name" class="img-thumbnail col-xs-offset-1" src="https://raw.githubusercontent.com/shurshilov/web/10.0/widget_image_tools/static/description/Download_origin.png" style="height: 360px;" />
</li>
</ul>
<a name="contributors"></a>
<h3>Contributors</h3>
<ul class="simple">
<li>Artem Shurshilov <<a class="reference external" href="mailto:shurshilov.a@yandex.ru">shurshilov.a@yandex.ru</a>></li>
</ul>