I created a folder in /www/profoundui/htdocs/profoundui/userdata/ called crm. In this folder I have placed small jpg files (50 - 100K) that I display when editing a contact/customer. The image is a picure of the contact/customer. Up to this point everything is fine. Via the file upload widget in the program, the user can upload a new picture of the contact into this folder replacing the old jpg file with the new version. The old jpg has been completely deleted and the new one put in it's place. But, my edit program continues to show the old image, even though it has been deleted. I have completely stopped and restarted the PROFOUNDUI HTTP server several times, but the old (deleted) image still displays.
Does anyone have any suggestions on what the problem might be? I apologize in advance if this is a simple thing to resolve. I am new to PROFOUND UI coming from a green screen environment.
Image Issue
-
- Experienced User
- Posts: 100
- Joined: Tue Feb 21, 2012 1:24 pm
- First Name: Robert
- Last Name: Mullis
- Company Name: WRC
- State / Province: Georgia
- Country: United States
- Contact:
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: Image Issue
I assume the uploaded file has the same name as the old.
It is most likely that the browser is caching the old picture. can you clear your browser's cache and verify that the new picture displays?
It is most likely that the browser is caching the old picture. can you clear your browser's cache and verify that the new picture displays?
-
- Experienced User
- Posts: 100
- Joined: Tue Feb 21, 2012 1:24 pm
- First Name: Robert
- Last Name: Mullis
- Company Name: WRC
- State / Province: Georgia
- Country: United States
- Contact:
Re: Image Issue
I was just about to do that when I read your message. I did clear the cache in the browser. The new image then displayed. So, that was the issue.
Is there a way to automatically "refresh" the image each time you go into a screen with it on it, instead of loading the cached version?
Is there a way to automatically "refresh" the image each time you go into a screen with it on it, instead of loading the cached version?
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: Image Issue
Well, one sure fire way to make it happen is to make sure the file has a different name, but that is not always possible depending on the design of your application.
-
- Experienced User
- Posts: 100
- Joined: Tue Feb 21, 2012 1:24 pm
- First Name: Robert
- Last Name: Mullis
- Company Name: WRC
- State / Province: Georgia
- Country: United States
- Contact:
Re: Image Issue
Brian,
That is what I figured, so I changed my application to make the file name unique and deleting the old one.
Now if I can just figure out why the upload will not return to my program in a Genie session, but works fine when I launch a session from the visual designer.
That is what I figured, so I changed my application to make the file name unique and deleting the old one.
Now if I can just figure out why the upload will not return to my program in a Genie session, but works fine when I launch a session from the visual designer.
Who is online
Users browsing this forum: No registered users and 4 guests