Description
Excerpt |
---|
Showing images |
...
Displaying images It can be useful to the mobile user. |
Introduction
The built-in item image feature must be enabled using Mobile Configuration Files.
Contents
Table of Contents | ||
---|---|---|
|
How Images are requested from the backend
Images on Order lines
Mobile Configuration Files application.cfg "listConfiguration" has imageElements to define when to display images.
"imageElements" uses a value named "ItemImage".
Flow
- The Mobile app requests document type "GetOrderLines"
- The reponse includes the "ItemImage" value for each line
- The value is a combination of Item No. and the DateTime when the image was changed
- The Mobile app requests document type "GetMedia" for each image
- These requests are sent ad-hoc, one after the other
- The images will appear to the user, one by one
Mobile app requests images when
- The images has not yet been requested
- "ItemImage" value has changed = the image has changed in the backend
Guidelines for format, sizes and file type
Format / file type
Currently there is support for JPG, PNG, GIF and SVG.
However in general we advice to use either JPG or PNG and only use SVG or GIF if there is a very specific need for these.
...
https://www.practicalecommerce.com/Image-Formats-What-s-the-Difference-Between-JPG-GIF-PNG
PNG vs JPG
This table shows the advantages of the two types.
The Mobile WMS application have different backgrounds when showing the registration collector or showing lists.
Therefore if you have the option to use transparent background in the images then you should use png images however if you have a background that you are always using on the images that might also work for the jpg.
...
Image source: https://www.digitaltrends.com/photography/jpeg-vs-png/
Pixels and Mb (file sizes)
Pixels
Images can have different height and width but it is rare that we see a need for an image larger than 500 x 500 pixel.
If the "show image" feature is in use the format should minimum be 250 pixels.
Size
The smaller the file size the faster the images will be transferred to the device. In general it is a good idea not to use images about 150 Kb and smaller is preferred however if there is only a few lines on each page then larger images will also work smoothly.
Notice for PNG file it is often possible to save them as a 8-bit file that will reduce the size of the image a lot.
Summary
Recommended | Other considerations | |
---|---|---|
File type | PNG | JPG can also be used if the images has a background. Notice for PNG file it is often possible to save them as a 8-bit file that will reduce the size of the image a lot. |
Format / Pixels | Max 500 x 500 Max 1000 x 1000 for tablets | If "show image" feature is in use minimum 230 pixels in height and width. The is not constraint for height and width so the can vary in size independently. |
Size | 5-60 Kb | Max 150 Kb depending on how many lines per page. Large images can be handled but will slow the showing of images down. |
Backend requirements - GetMedia
Request
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="ISO-8859-1"?> <request xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Request" created="2018-10-30T20:02:47+01:00" name="GetMedia"> <requestData name="GetMedia"> <mediaIds> <image>TF-001_201001013344</image> <image>TF-002_201001013344</image> </mediaIds> <screenHeight>497</screenHeight> <screenWidth>320</screenWidth> </requestData> </request> |
The MediaID is the value sent to the backend to identify the image. The MediaId origins from a property received from the backend so that the value e.g. contain a date for when it was updated. E.g. TF-001_201001013344.
Response
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="ISO-8859-1"?> <response status="Completed" messageid="09F553A1-24F9-41B3-93CF-DA242C677633" xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response"> <description/> <responseData> <media> <image id="TF-001_201001013344">/9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAkGBxISEhUSExIVFRUXFRUVFRgXFxUVFRYWFRUXFxUXFRUYHSggGBolGxUVITEhJSkrLi4uFx8zODMtNygtLiv/2wBDAQoKCg4NDhcQEBotHR0eLS0tLS0tLS0rLSstKys1LSsrLS0tLS0rLS0rLS4tLS0tLS0rLS0tLS0tLSsuNSsrKy3/wAARCACoASsDASIAAhEBAxEB/8QAHAAAAAcBAQAAAAAAAAAAAAAAAAECAwQFBgcI/8QASBAAAQQAAwUFBAcFBQYHAQAAAQACAxEEEiEFMUFRYQYTInGRBzKBoRQjQlJyscEzYtHh8FOCkrLCQ2Nzk6LxFiQlRFSz0hX/xAAZAQEBAQEBAQAAAAAAAAAAAAAAAQIEAwX/xAAwEQEBAAIBAwMBBgQHAAAAAAAAAQIRAxIhQQQxUZEiMnGBofATYbHRBRQjQkPB4f/aAAwDAQACEQMRAD8A4qwrdey3a8OHxsckzwxgzW47hbHD8yFgwlB6CXjpAXEjdZUREXIggBSSlFJKAIIIIAlJIS0BI0SCB2MrdezjbsGGnD5n5WhkwuidXROa0aczQWCC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g6ZWim/M/1yUFw1QQW2U6N+ZilbJce8b5j80EFjl+7Wsfde4nC55DWp5bz5odxW8eqJBa4fuQy9zsbRab2hCANyCC9WVDNECU23Cm0EFBqti+GJyy2Oitx80EEokbL2eXqy/8A5HREgrIP/9k=</image> <image id="TF-002_201001013344">....</image> </media> </responseData> </response> |
Where you can use images
Image elements on ListConfigurations
Code Block | ||||
---|---|---|---|---|
| ||||
<imageElement height="5%" width="5%" dataMember="Status" horizontalAlignment="right" verticalAlignment="bottom" actionid="" > <values> <value imageId="unlocked" dataMemberValue="1" /> <value imageId="locked" dataMemberValue="2" /> </values> </imageElement> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<imageElement width="25%" height="25%" sourceId="{ItemNumber}" horizontalAlignment="right" ></imageElement> <textElement fontId="contentFont" text="{DisplayLine5}" /> |
Order Lines
List configuration
Extended view (Long renderer)
...
Code Block | ||||
---|---|---|---|---|
| ||||
<BaseOrderLine xmlns="http://schemas.taskletfactory.com/MobileWMS/BaseDataModel"> <OrderBackendID>RE000111</OrderBackendID> <LineNumber>20000</LineNumber> <FromBin/> <ValidateFromBin>false</ValidateFromBin> <ToBin/> <ValidateToBin>false</ValidateToBin> <ItemNumber>TF-002</ItemNumber> <ItemBarcode>3046920028370</ItemBarcode> < .. we add the information just like the lookup with a property collection .. </BaseOrderLine> |
Lookup item
It is possible to add and image to the help label in html.
Here an example where an image is sent as a base64 string: response.xml
It is also possible to an image to the help label via html as a img href.
Locate item
The locate item uses a list configuration therefore it will also be able to show the image.
Show Image
Code Block | ||
---|---|---|
| ||
<page id="ReceiveLines" type="OrderLines" icon="mainmenureceive"> <title defaultValue="@{PageReceiveOrderLinesTitle}"/> <orderLinesConfiguration promptUserToPostWhenAllLinesComplete="true" suggestQuantity="true" verifySingleScanRegistrations="false"> ... </orderLinesConfiguration> <actions> ---> <showImage enabled="true" title="Show Image" imageProperty="ItemNumber" /> <open icon="mainmenuscaninfo" id="ItemCrossReference" title="Add cross reference"> ... </open> </actions> </page> |
...