1. Home
  2. DotActiv - Data
  3. Showing Images From A Datagrid In An Image Bar

Showing Images From A Datagrid In An Image Bar

This article will provide you with a step-by-step process to show an image from a datagrid in an image bar within DotActiv software.

Applicable Products: DotActiv Pro, DotActiv Enterprise

DotActiv enables you to view your product images in your Data View. This is very handy when you want to see which product images you have and which you do not.

You can also view the completeness of your images by checking which of your products have a front, side and top view. This function is also useful for checking current images against new images you may receive from scanners.

Viewing Images

To view your front, side and top view images in your Data View, you must first ensure that all three image algorithms are set up correctly.

To do this, go to ‘File’, ‘Setup’ and under ‘Settings’, click on ‘Application Settings’.

Click on the ‘Image View Setup’ tab and keep using the ‘Product’ Dimensions.

Now you need to setup all three views.

Setting Up Image Views

Start with the front view. Click on ‘Add’ and name the algorithm ‘Front View’. Now click “OK”.

You must now set up the image algorithm.

First, click on ‘File Functions’ on the right-hand side of the window and select ‘GetImageNameHH(<Barcode>,<FileExtension>)’ by double-clicking on it.

On the left-hand side of the window, click on ‘Item Detail’ and double-click on ‘Barcode” In the algorithm you’ve built in the space at the bottom of the window add “.1” at the end of the algorithm. That’s done to specify that this is the front view.

Your complete algorithm for the front view should now be as follows: 

GetImageNameHH([ItemDetail.Barcode],“.1”)

Click on ‘OK’.

You must now select the path for where DotActiv must look for the images. Select the folder where your product images are saved.

In this case, the path is:

C:/DotActiv Data/Images

Setting Up Image Views

Now, set up the side and top view algorithms as well.

Do exactly the same as before, naming these views ‘Side View’ and ‘Top View’, and adding a ‘.2’ and ‘.3’ in the algorithms respectively. Once you’ve set up all three views, click on ‘OK’

Setting Up Image Views - Side and Top View

Setting Up Product Views

Now you need to set up a Product View that will display these three image fields in your Data View in your SQL Data View.

Navigate to ‘File’, ‘Setup’ and select ‘Product View’ under ‘SQL Data Views’.

Your three image algorithms should be available to add to your view at the bottom of the ‘Product View Setup’ window. Double-click on each to add them to the view.

Setting Up Product Views

You can now open your SQL Data View and view the front, side and top image for your products.

Viewing Product Views

Opening The Image Bar

The sizes of these images are however very small. To view them more clearly, open your Image Bar.

Select ‘Image Bar’ in the ‘Show’ section under the ‘Data’ tab. You can click on any image in your datagrid to view a larger version of it.

Open Image Bar

This function makes viewing your product data and images side by side very simple. You can now easily see which images you are missing and compare old and new images against one another.

Updated on November 14, 2019

Was this article helpful?

Related Articles

Leave a Comment