Item image in Inventry Items

Hi All
Can someone please help want to insert image into my inventory items. I added it in custom fields and selected image.
On the inventory Items it shows the image custom field but how to I add the image ?

if you want to show custom fields on documents, make sure you have enabled the option to show it on printed documents.

Hi Sharpdrivetek

see image

so what exactly is the problem?
looks like you have not added the location path to your image.

trying to add but how to you add the location

use the below code in your custom field and change path and values as necessary.

<img src="D:\image.jpg" style="max-height: 50px; max-width: 50px">

Thanks got it

1 Like


If you are using server edition you need to specifying images using imaged served location not the Local path, otherwise you need to copy images onto each PC… yuk.

To do manager served content you add images into a Manager ‘Folder’ as attachments. Then preview the image and copy the link generated to reference the image from within inventory.

e.g change image reference from local

<img src="D:\image.jpg" style="max-height: 50px; max-width: 50px">

to served image reference, (Note: Add html image tag to <img=" + ‘copy image location’ + "/> )

 <img src=";FileID=554e4f6a-d1aa-4aba-b550-361eece4f166&amp;Key=f36d2d52-2cf5-49e5-863f-4faceaa46189" >


1 Like

Problem: Custom Field images wont render in PDF if saved in folder and referenced as proposed above. Note: I have found a post with same folder/image storage and reference ,Suggestion - Best use case for Folders tab and Image custom field

Fix: Implement Image upload and Base-64 encoding into custom image field. This will be fast and efficent and will work for both desktop & server importanty fix issues with printing, pdf and web views

Base 64 Encoding is straightforward, just need to automatically limit file size and resolution prior to conversion:

     private string CreateBase64Image(byte[] fileBytes)
           Image streamImage;
           using (MemoryStream ms = new MemoryStream(fileBytes))
           /* Create a new image, saved as a scaled version of the original */
           streamImage = ScaleImage(Image.FromStream(ms));
           using (MemoryStream ms = new MemoryStream())
           /* Convert this image back to a base64 string */
           streamImage.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
           return Convert.ToBase64String(ms.ToArray());


images can be converted to base64 easily at

all you need to do is copy the html code for the image and paste it as the image source in your custom field.

Can you incorporate base64 encode into manager source so its a application function to encode rather than doing it manually using copying data, adding delimiters and pasting into fields.

It would make it easy and simple to get images into manager database…