Jump to content

TUniImage under Web Server doesn't work


ttamturk

Recommended Posts

Hi,

 

I am using Delphi EX7 and unigui which is 0.98.0.1108.

 

This problem occurs only when i build my dll and put it under a webserver. Here is what i do;

 

- Create a new project

- Put a TUniImage on MainForm

- Click Picture property and load a picture from a PNG file.

- Run application as an EXE,

- Test it

- Everything is working fine.

 

Then

 

- Make same project an isapi dll

- Put it under a working server

- Test it

- NO IMAGE

 

Why?

Link to comment
Share on other sites

It maybe because your server can not create cache image file due restricted folder permissions.

 

No, i have permission and same system working properly before.

 

Look under cache folder. You must be able to see your PNG image inside one of the sub folders.

 

No, there is no image.

Link to comment
Share on other sites

  • Administrators

I think this is a bug, not a general discussion and i think it's related to new version of unigui which is 98, because it's working fine with 97 as i remembered.

 

Best

 

Of course, if you provide us a test case which can demonstrate the bug your report will be moved to bug reports or even fixed immediately.

 

There is no general report about this behavior and I can not reproduce your issue with steps you provided above.

Please send a simple test case.

Link to comment
Share on other sites

Of course, if you provide us a test case which can demonstrate the bug your report will be moved to bug reports or even fixed immediately.

 

There is no general report about this behavior and I can not reproduce your issue with steps you provided above.

Please send a simple test case.

 

Do you have XE7 installed?

Link to comment
Share on other sites

Sure

 

Hmm, if you have XE7 installed and you couldn't create same problem maybe it's related to something else, because as you see i don't do anything specific. But, let's try if there is something wrong. I attached a project from my system. If you can try this on a web server and it shows logo then there is something about my system.

 

PS: I am using DevExpress too, maybe it's related to it's Cross-Platform Icon library plug-in. I'll check.

Project1.rar

Link to comment
Share on other sites

I generally test on XE4.

 

I will test yours and report back. BTW, you can try to see if it is related to PNG only, or it happens with other formats such as JPG too.

 

Ok, I disable Devexpress but problem is still occurs.

 

I will test other formats too, ok.

Link to comment
Share on other sites

Hi,

 

Jpeg is not working too. I try to change DefaultImageFormat and GlobalImageCache property but it seems they are not related with this problem.

 

By the way i am using XE7 with UPD 1 but it's not working before i update to UPD 1 so XE7 will be enough i guess.

Link to comment
Share on other sites

Your project running in our server:

 

https://prime.fmsoft.net/demo/prj.dll

 

Compiled with XE4. 64-Bit

 

 

I told you it's not XE4, It's XE7 which i have problem with. :)

 

If you have time you can connect to my computer.

 

 

After running same dll, Image source on my browser;

<img width="337" vspace="0" hspace="0" height="201" src="/edm.dll/ext-4.2.2.1144/resources/themes/images/gray/tree/s.gif">

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...