I have been using Manager for some time with no issues.
I setup a custom theme so that I could display Promotional and Accreditational images on the footer of my Sales Invoices, plus some liability text.
The affected coding in the Custom Theme is:
This coding has worked perfectly until the last two updates. Now, I cannot display any images on the Sales Invoice, or any other form, apart from the Business logo.
I have modified the code to reference the image via http referencing, which appears to be the new norm, but with no success. Even though responses to image display queries on this forum seem to dictate that is the correct approach.
I have analysed the generated code for a form that displays the Business logo, which generates the following:
This is direct referencing and does not use the http connection method, so I am now confused.
So how do I display images, that are not custom fields, elsewhere in a form, as the ability to do so is essential. Especially if the Business has to inform customers that they are, for example an accredited member of an association, which legally requires display of the specific logo.
I am using the latest version, as of 4th March 2021, which is running on Windows 10 Professional with all of the latest updates applied.
I store the relevant images in C:\Manager_Files
OK. I understand the referencing. So if I use my PC as a web server, which it is. Why does it still not work.
E.G. http://localhost/Manager_Files/myimage.jpg does not work. Even if I put in the localhost IP address.
It was a version introduced early in 2020, could have been late 2019. I cannot recall the specific version.
Also, I am using the single user version on a standalone PC. I do not have access to a web based server. I.e. another machine.
Update: (05-03-2021)
So it is obvious the Manager (Desktop - single user) must have its own built in web server.
Could you please supply a simple example of referencing an image on the localhost. It appears that port 55667 is used. Failing that, can you tell me where the root directory used by the in-built web server is located. I.e. if i reference localhost:55667 where does it point to?
I have used the “file:///c:/images/myimage.jpg” syntax in custom fields before for displaying inventory items and that now doesn’t work.
I am finding this very frustrating. Please help.
You don’t use the Manager Desktop version’s inbuilt web server to store your images.
You need to store them on your own web server or one that you can access.
For example, I have my barcode images stored in a web server that is installed on my local machine.
Using Chrome, an image of barcode#21 is displayed at the following address: http://127.0.0.1/barcodes1/21.jpg.
The same image displays on a Manager form with a custom field with the following text:
Given the updates to Manager’s data store capabilities storing images within Managers data file maybe a useful future improvement. Manager already has the ability to create folders and add attachments.
I don’t currently use images in produced documents but can see it would help others and result in a cleaner system.