diff --git a/web_tree_image_tooltip/README.rst b/web_tree_image_tooltip/README.rst index 45e52e5f4..13c85bafe 100644 --- a/web_tree_image_tooltip/README.rst +++ b/web_tree_image_tooltip/README.rst @@ -28,6 +28,7 @@ Show images in tree views via tooltip This module defines a images and icons in tree view via Tooltip. Additionally, Default width with 30px. +.. image:: https://raw.githubusercontent.com/OCA/web/12.0/web_tree_image_tooltip/static/description/tree_view_image.png **Table of contents** @@ -39,11 +40,25 @@ Configuration Insert `widget='image'` in your field view definition in any image field +.. code:: xml + + + + +If the model has different fields of the same image with different size +(as ``product.product`` for instance with ``image``, ``image_medium``, ``image_small``), +you can write the following code to reduce the load duration of the tree view. + +.. code:: xml + + + Usage ===== Mouse Hover in tree view image that time Tooltip effect. +.. image:: https://raw.githubusercontent.com/OCA/web/12.0/web_tree_image_tooltip/static/description/tree_view_image_tooltip.png Bug Tracker =========== @@ -73,6 +88,8 @@ Contributors * Jay Vora * Meet Dholakia * Nikul Chaudhary +* Sylvain LE GAL (https://www.twitter.com/legalsylvain) + Other credits diff --git a/web_tree_image_tooltip/static/description/index.html b/web_tree_image_tooltip/static/description/index.html index 13e7293d9..f7947c7b7 100644 --- a/web_tree_image_tooltip/static/description/index.html +++ b/web_tree_image_tooltip/static/description/index.html @@ -370,6 +370,7 @@ ul.auto-toc {

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

This module defines a images and icons in tree view via Tooltip. Additionally, Default width with 30px.

+https://raw.githubusercontent.com/OCA/web/12.0/web_tree_image_tooltip/static/description/tree_view_image.png

Table of contents

    @@ -388,10 +389,20 @@ Additionally, Default width with 30px.

    Configuration

    Insert widget=’image’ in your field view definition in any image field

    +
    +<field name="image_field" widget="image"/>
    +
    +

    If the model has different fields of the same image with different size +(as product.product for instance with image, image_medium, image_small), +you can write the following code to reduce the load duration of the tree view.

    +
    +<field name="image_small" widget="image" options="{'tooltip_image': 'image'}"/>
    +

    Usage

    Mouse Hover in tree view image that time Tooltip effect.

    +https://raw.githubusercontent.com/OCA/web/12.0/web_tree_image_tooltip/static/description/tree_view_image_tooltip.png

    Bug Tracker

    @@ -419,6 +430,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Jay Vora <jay.vora@serpentcs.com>
  • Meet Dholakia <m.dholakia.serpentcs@gmail.com>
  • Nikul Chaudhary <nikul.chaudhary.serpentcs@gmail.com>
  • +
  • Sylvain LE GAL (https://www.twitter.com/legalsylvain)