Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
7446 Weergaven

I have this in a table inside my Qweb view:

                        <td>
                            <span t-field="line.product_id.image_small"
                                t-field-options='{"widget": "image", "size": [64,64]}' />
                        </td>

However, the image is still being displayed at an enlarged size, to take up the space in the table cell.  This makes it blurry.  How do I keep it to the original size, or otherwise control the display dimensions?

Avatar
Annuleer
Beste antwoord

try this : 

<style>
    .openerp .Your_custom_class > img { height: 6000px; width: 10000px; }
    .openerp .oe_form .oe_form_field_image img { max-width:656px; max-height: 1056px; }
</style>

<field name="picture" widget="image" class="Your_custom_class"/>


Avatar
Annuleer
Beste antwoord

I'm having the same problem.....

Avatar
Annuleer
Beste antwoord

I'm having the same problem, Did you solve it? 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
dec. 19
39188
2
jun. 24
12158
1
mrt. 15
19449
3
jul. 25
8637
1
jul. 25
1931