Skip to main content

QlikView: Image not Displayed as an Image URL Text Shown Instead of Image

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

QlikView: Image not Displayed as an Image URL Text Shown Instead of Image

Last Update:

May 28, 2021 8:03:01 AM

Updated By:

Sonja_Bauernfeind

Created date:

May 18, 2016 9:46:49 AM

Attachments

Images are not showing up properly in the application. URL Text is shown instead of the image in web-view on the desktop and on the ajax client from the Access Point. One possible way this can manifest is when there is a link to a google map item. 

 

Environment:

QlikView 

 

Resolution

 

QlikView Desktop and Server include a parameter to configure this behaviour:

 AllowGeneralAccessToImagesThroughURL can be configured in the Settings.ini file. By default this value is set to 0, it appears in the ini file as:

AllowGeneralAccessToImagesThroughURL=0

This setting will prevent images from appearing in any objects possible through a URL. If the URL is added to a text box without background the text box will appear to disappear in WebView or when opening the app in Server.

The reason for this parameter is that HTTP access is considered a risk because it allows the user to fetch pictures as the QVS process. As the QVS process might be running with elevated rights and runs behind a firewall, it may have access to servers that the user does not and therefore the user can fetch pictures that should be hidden from them.

Even if AllowGeneralAccessToImagesThroughURL parameter is set to 0 these images can be seen in Desktop and when accessing the app through the IE Plugin, because these images are fetched by the local client.


AllowGeneralAccessToImagesThroughURL has to be changed from 0 to 1 or 2 in the Setting.ini files for Desktop and Server.

QlikView Server:

  1. On the QlikView server, navigate to C:\ProgramData\QlikTech\QlikViewServer - Settings.ini
  2. Stop the QlikView server Service.
  3. Open the Settings.ini file.
  4. Find the line with parameter AllowGeneralAccessToImagesThroughURL=0 and change the 0 to 1. Kindly note that depending your environment this may have to change to 2.
  5. Restart the QlikView server Service.


Desktop:

  1. Close the Desktop Client.
  2. Navigate to C:\Users\<Username>\AppData\Roaming\QlikTech\QlikView - Settings.ini
  3. Find the Settings.ini file
  4. Find the line with parameter AllowGeneralAccessToImagesThroughURL=0 and change the 0 to 1 or 2.


Please note that there are 3 possible values for AllowGeneralAccessToImagesThroughURL

  •  0 = No access at all
  •  1 = Access through "http://" // 
  •  2 = Full access (same behavior as in 11.20)


A good approach if none of the above steps are working, use Bundle Load especially if you are using AJAX. More info here

For MiniCharts it may be necessary to update the parameter detailed below in the file named Setting.ini for both QV Desktop and QV Server:

WebFileUseWinAPI=1
 

Labels (2)
Contributors
Version history
Last update:
‎2021-05-28 08:03 AM
Updated by: