1. Moshe Tangi
  2. PowerBuilder
  3. Friday, 9 September 2022 11:57 AM UTC

Hello

 

In my application the users upload pic's files , i save only the file path ( not using a BLOB) .

The path is somthing like :

\\ server ip \ gloabl directory for all users \ pic file 

 

The problem is  when they open the window to see all the pics it takes a long time to display the pics - 

They want a small pics presention as the enter the window

I build a n-up dw to present it , and i am using the Display As Picture  property on the filed which save the path 

 

Any ideas how to do it smarter ?

 

Thanks

Attachments (1)
Moshe Tangi Accepted Answer Pending Moderation
  1. Saturday, 10 September 2022 18:48 PM UTC
  2. PowerBuilder
  3. # 1

Thanks for replay ,

I forgot to say  that the users can modify some fiields of each pic , thats why i  prefer a dw .. for its sort , filter , update and  the events 

are much easier to handle and so on , each time i do retrieve  can be other amount of pics 

 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 9 September 2022 13:06 PM UTC
  2. PowerBuilder
  3. # 2

Instead of displaying in a DataWindow, try using a web browser control.

Comment
  1. Andreas Mykonios
  2. Friday, 9 September 2022 14:39 PM UTC
I like this idea...
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 9 September 2022 12:31 PM UTC
  2. PowerBuilder
  3. # 3

Hi,

You could try to copy the pictures that are going to be shown to a temporary local folder first on your harddrive and then display those. It might make a difference. When done displaying (close of window?), you simply delete the complete temporary files.

regards.

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Friday, 9 September 2022 12:13 PM UTC
  2. PowerBuilder
  3. # 4

Hi.

Have you tried to set setredraw to false before retrieve and to true after retrieve? Of course if you have lot of images this may be also a problem as the application will look frozen until retrieve completes...

Andreas.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.