Jump to content

Label Caption Html Not Render On IIS


mikromundo

Recommended Posts

Hello,

I would like some help to resolve this problem.

I've already checked the permissions, paths, etc...everything is ok.

Running LOCAL, everything works, but in IIS image 2( On Right ) is not displayed.

 

On Browser Developer Tools( NETWORK ) image 1 is loaded as "png" type, image 2 is not loaded ( but the file is there !!! ) and shows "text/html" type.

https://1drv.ms/i/s!AovhnjIbioMA6BwfciQhV99Ww2xC?e=VO9xjr

 

It is inside a Label, in its caption property with textConversion as txtHTML.

The one on the left is at:
files\images\avatars\avatar_12.png

The one on the right at:
files\app_data\uploads\user_images\avatar_12.png

 

APP RUNNING LOCAL:

https://1drv.ms/i/s!AovhnjIbioMA6BvYz2Hft-CoQimZ?e=vmB9ny

 

APP RUNNING IIS:

https://1drv.ms/i/s!AovhnjIbioMA6BpUx89kfCynKMP7?e=3kYl6x

 

TEST CASE( UniGUI 1.95.0.1576 )

IMG LAB CAPTION.rar

 

Thank you in advance.

 

  • Like 1
Link to comment
Share on other sites

3 hours ago, Farshad Mohajeri said:

Works here:

image.png

Thanks for reply.

As I told above, LOCALHOST works fine.

 

Please review the text of my post to understand how the problem occurs.

 

After other tests I did yesterday, the same problem also occurred using a TUniPanel with the "URL" property to point the image.
LOCALHOST works but after DELPLOYing the DLL, it does not work on the SERVER.

I repeat that I may be doing something wrong, but I have already checked permissions including changing settings indicated in the documentation, file path, etc.

Using "Picture.LoadFromFile" everything works normally.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...