Custom Images on K2 Smartform + Access denied

  • 17 August 2016
  • 1 reply
  • 1 view

Badge +2

Hi,

 

I tried to show some images on a K2 Smartform via an Img-Tag on a data label with the literal option checked. I stored the Image on the K2-Server and shared the folder to IIS-Users, Everyone etc., but I allways get the following error in the browser console:

 

Not allowed to load local resource: file:///C:/k2CustomContent/prio1.png

 

Any ideas?


1 reply

Userlevel 1
Badge +8

Hi kg1

 

You will need to ensure that the app pool account for your smartforms site has permission to that resource.

 

I would suggest rather than using a file path for your image source that you host your images on a web site and access them from there using the image URL.

Reply