[16.4.16] Added ability to use HTML markup in fields

In previous versions, it wasn’t possible to use HTML markup in fields. This feature has quite a few use cases. For example, you can show additional images on invoices or quotes.

Description in line item such as:

<img src="https://imgur.com/Rw3up5r.png" style="float: right">

- Species: Malus domestica
- Parentage: Cox's Orange Pippin x Oldenburg
- Originates from: Germany
- Introduced: 1930
- Developed by: Kaiser Wilhelm Institute
- Orange Pippin Cultivar ID: 1147
- UK National Fruit Collection accession: 1972-026

Will produce following output:

Or you can use HTML for greater control over what is shown at the end of the quote. Let’s say you would like to show a box for signature. In order to do this, enter into Notes field following code:

<div style="border: 1px solid #000; width: 200px; height: 40px"></div>

On invoice this will be presented as:


Hey first of all Manager is really great (Y)

This HTML support in Inventory Items is quite useful i tried firstly with the same (<img src='//discourse-cloud-file-uploads.s3.dualstack.us-west-2.amazonaws.com/business5/uploads/manager1/original/2X/1/18ffaac16b48cd2925d7e78de4423bc475fd41f0.png' style="float: right">) image and it worked, but most of my images are large in size so from the internet i found a way to control size of image <img src="http://gdurl.com/ch3E" style="float: right" img width="100"> by this code/link (img src ="http://gdurl.com/ch3E" style="float: right" img width="100") but when i put it in the description the size is not affected and picture appears very large and when i check the description again the size part of the code is not there only image part is there <img src="http://gdurl.com/ch3E" style="float: right">

like this.

can you help on this ?

Don’t control image size with width attribute. The reason is that images might be smaller on screen but their size is still original which means they will take a lot of space when you generate your sales quote.

You need a tool which will physically resize your images. There thousands of programs which do this and most of them are free.

thankyou for the quick reply, yes i’ll do that then :+1:

Try it, i`ve done

<img src="https://ubcdn.co/media/images/product-features/120-degree.jpg" style="width:70px;height:70px;">

yes thanks alot :+1: it has saved alot of time because i would have to physically compress more than 700 pictures, its working also i conserved the position that is on the right side the image appearing looks great, here is what i tried with

<img src="http://gdurl.com/SUge" style="float: right;width:70px;height:70px;">

1 Like

How about html template for every voucher @lubos ??? I have been waiting for it…

is it possible to watermark every bill with same image on background with custom transparency ?
if its possible without using HTML template codes please revert me back with details -
thank you

That isn’t possible in Manager. However, depending on your operating system and other software you have, you might be able to first save the invoice as a PDF file, then add the watermark in your printing software.

I think there is a way. Since you can use HTML code in fields, you should be able to inject HTML element which should be absolutely positioned in the middle of document with transparency. I don’t think anybody has tried it yet but it’s something that should be possible.

Here you go:

Put this in the Notes field:
<img src="http://path.to.image/source" style="position: fixed; top: 50%; left: 50%; margin-top: -250px; margin-left: -250px; opacity: 0.5; z-index: -99;">

Replace the margin-top value with negative one-half of the image’s height, and replace the margin-left value with negative one-half of the image’s width (the example above is for a 500x500-pixel image). You can tweak the opacity value from 0 to 1 to get the look you want. The z-index is key, as it specifies that the image should appear behind everything else. Note that when you preview the invoice on your screen, you won’t see the watermark, but it will appear in the output when it’s printed.



@Lubos: What local directory is considered relative root for source files in field markup? That is, if I want to use a local image file, where should I put it (or which directory should my src path be relative to)?

ok - let me try it - waiting for @Lubos reply to place the local image file and try

He may not reply, @ramesh492. He often does not when the question has already been answered.

You’re welcome.

There is still one open question in this thread regarding the new feature:

thats ok :slight_smile:

I was referring only to @ramesh492’s question about watermarks, which you answered so impressively. Obviously, your own question remains.

It’s better if you upload the picture on the Internet. When attachments are added to Manager, then you will be able to use locally stored files.

1 Like

please guide where we add this ,
i don’t know Coding “” Where i can add this