Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Add an image to a Dymo label

Avatar
odoo
1 Comment
Avatar
Discard
Avatar
odoo
-

Thanks a lot

1 Answer
0
Avatar
odoo
Best Answer

The path to your img resource should be 

/web/image/61005 

rather then 

/web/image/ir.attachment/61005


Otherwise you'll just get the default placeholder, which would be



There is also a chance that the rendering process does not actually have access to the ir.attachment resource. In that case you can try and make it a public resource. Due to the fact the alt tag is given as  'Logo ...' it should be fair to assume that this image may as well be visible to someone without a login.

To set the resource public, enable the Developer mode, then go to Settings -> Technical --> Database Structure -> Attachments. Find your ir.attachment in there and set Is public document to 'true':


Also, ensure https://example.com/web/image/61005 actually returns the image you expect. Else, the ID is probably just wrong.

Avatar
Discard