Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

I've had this problem before.

 

I am loading image with loadfromfile(uniservermodule.startpath + imagepath)  (Ex. files/img.png)

 

 

That's a solution for one or two images. I don't want to do that for all picture on my project.

 

Thanks.

Posted

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

  • Administrators
Posted

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.

Posted

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?

Posted

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

Posted

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.

Posted

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.

Posted

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">

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...