Using Folders for Images : Desktop Edition

there are users including me who would want to link all the images used for their business to be a part of the business data file in Manager.

the images can be images of their inventory items, a signature as image for invoices, etc.

NOTE: the method described below cannot be used for the business logo which can be set under Settings. this is because Manager only allows to browse and select an image file. if there was a field to enter the image source path manually, we could have followed the same method described below to set the business logo. maybe @lubos can enable such a feature.

if the images are on the local desktop, the source of the image is lost when the business file is moved to a new desktop unless the image is copied to the exact same path as it was on the old desktop. if the images were uploaded to any cloud storage, the user can still see the images but Manager would not be working completely offline.

so below is a guide on how to make all images a part of your business data file.

  1. enable Folders in Manager. Manager Cloud

  2. give your folder a suitable name to store images.
    image

  3. add all the images needed for your business as attachment in the newly created folder.
    image

  4. now right click on the Folders tab and select Open in new window.
    image

  5. now Manager will open in your default browser with the Folders window open.
    (i am using Firefox)

    a) click View on the folder you created.

    b) now click on the attached image to open it.

    c) now right-click on the image and select Copy Image Location.
    image

    d) open any text editor program and paste. this will be the source path of your image in your business data folder.

    the text will be like below
    http://localhost:55189/view-attachment?Referrer=81fda3b1-ad74-4dd5-a6a6-74c44a5a1e8c&FileID=8f5aaec1-67b4-4965-8e8e-8312292bd0c3&Key=94f4d82f-db57-47e3-8fe6-fe5d70053851

    the work is completed in your browser and you can close it.

    e) now in the text editor, delete the start of the address http://localhost:55189 because the port will change every time you open Manager and also the Referrer part of the code. we only need the FileId and Key.

    f) now convert the text to an html code like below.
    <img src="./view-attachment?FileID=8f5aaec1-67b4-4965-8e8e-8312292bd0c3&Key=94f4d82f-db57-47e3-8fe6-fe5d70053851" style="max-height: 50px; max-width: 50px">

    g) the height and width of the image can be changed as per user choice in the above code.

  6. Now in Manager program, as an example, i will explain how to set an image for inventory items. create a custom field for inventory items with its type set as Image. Manager Cloud

  7. after creating the custom field, go to inventory items tab and click on Edit against the inventory item for which the image has to be set.

  8. now in the custom field box created, enter the html code created in step 5(f).

  9. you are done. enjoy.

VERY IMPORTANT NOTE:
the code shown above is only an example. please do not copy it directly for your use. generate your own source code for every image separately as explained in step 5.

1 Like

This may work in Windows, but in macOS, the same options are not available at step #4, and trying the only thing somewhat equivalent crashes the program. There is a workaround for that problem, but it doesn’t get you anywhere, because the options and results at step #5 are different, too.

i see. anyway that was expected. :slightly_smiling_face:
maybe @ShaneAU can give some alternatives. i do not have a mac and so i cannot check anything from my side.

In my opinion, your reasons for embedding everything in a Manager file will not apply to most users. Users of the server or cloud editions already require internet, or at least network, access. So images hosted elsewhere on the network or in the cloud should not be a problem. Desktop users can maintain an images folder elsewhere on their machines, using techniques discussed in other forum topics. (Once the file path is known, it will be constant for all entries, requiring only changing the actual image name. So the copy and paste process will generally be unnecessary.) Both approaches would be much simpler to implement. And the result is much smaller accounting data file.

Why struggle through using both a browser and text editor just so you can call an image embedded in the Manager data file? You could build your image folder directly in the application data folder and call images from there, or put it anywhere else convenient.

The only inconvenience is having to copy the image folder along with a backup file if you want to move to a new machine. But that seems like a small price for avoiding the multi-step, multi-application copy ad paste process described for every image you add.

Just my personal thoughts.

1 Like

Agreed @tut!

i did put in the title it is for Desktop edition.

how would this be possible? when the data file is moved to another computer, you do not move the images folder with it. even if you do move the image folder, you have to rewrite the source of the image file on the new computer or you have to create a data path exactly as it was in the old computer. i am not sure how this would be easier than just having to copy your business data file and start using it.

so that a small business user who travels often does not have to carry their desktop/laptop everywhere they go. :wink: just a copy of Manager installer and business data file on a flash drive would be sufficient.

like i said earlier its not just the copying part, you have to rewrite the image path for each and every inventory. the method described initially is a one-time procedure.

@sharpdrivetek Or, one could move the images folder to the exact same location on the new computer. Amyways, there will be very few who will be implementing images in their inventory.

inventory was only one example. images used in custom themes for invoices would be another example. the need would depend on the user.

Me gusta, I like it. Currently, if only We have form defaults or at least to have a room to preset the code in custom field tab settings, that would make linking Images for Inventory easier. hehehehe

very few indeed, once they do. is one of the hell batches of images. He meant folder within manager not desktop computer. In other words is within Manager’s Datafile. can be carry anywhere