Pictures

Questions, answers, tips and ideas on Servoy Client

Pictures

Postby Bert » Thu Jun 12, 2003 3:07 am

Can a user drag and drop pictures from a folder direct into appropiate fields in the solution.
If yes, does Servoy make/store (72 dpi)previews in the database and keep a path to the (HiRes)originals or what happens.
If yes, is it possible to let Servoy extrakt all the metadata from the original and put it as reference in the solution.

Thanks...
Bert de Graaff
ATB Software Servoy Developer manage your business anywhere
User avatar
Bert
 
Posts: 201
Joined: Tue May 20, 2003 11:16 am
Location: Stramproy - NL

Re: Pictures

Postby bcusick » Fri Jun 13, 2003 8:14 am

Bert wrote:Can a user drag and drop pictures from a folder direct into appropiate fields in the solution.
If yes, does Servoy make/store (72 dpi)previews in the database and keep a path to the (HiRes)originals or what happens.
If yes, is it possible to let Servoy extrakt all the metadata from the original and put it as reference in the solution.

Thanks...


Hi Bert,

At this point Servoy doesn't support any "drag and drop" - but it is on the "wish list."

Servoy stores ALL media as BLOBS (Binary Large OBjects) INSIDE the database (as binary files). This goes for images in your library (i.e. used on a form or as a button rollover, etc.) - as well as images that are "imported" into the solution (via a method or with a right click on a "media" datatype field).

Hope this helps,

Bob Cusick
bcusick
 
Posts: 1255
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Re: Pictures

Postby Bert » Fri Jun 13, 2003 10:21 am

bcusick wrote:Servoy stores ALL media as BLOBS (Binary Large OBjects) INSIDE the database (as binary files). This goes for images in your library (i.e. used on a form or as a button rollover, etc.)

Yes, thanks, I knew :)
as well as images that are "imported" into the solution (via a method or with a right click on a "media" datatype field).

- So if a user makes a new record he or she can right-click in a 'media-field' and add a picture to the database from his or her own hard-disk somewhere in the network (internet/intranet)?
- And can a user take pictures from a database (ctrl-copy) to his or her harddisk if the field is editable just like the way one can take pictures from a website?

Thanks...
Bert de Graaff
ATB Software Servoy Developer manage your business anywhere
User avatar
Bert
 
Posts: 201
Joined: Tue May 20, 2003 11:16 am
Location: Stramproy - NL

Postby Harjo » Fri Jun 13, 2003 10:53 am

Bert, you can right-click on a media-field to store a picture in the database and you can right-click to get a picture from the database to your own disk!

Hope this helps.
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby david » Fri Sep 05, 2003 6:36 pm

On OS X right-click doesn't work to load/save an image (as far as I can tell). Or cntrl + left-click or any other kind of click.

- david
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby Jan Blok » Sat Sep 06, 2003 2:09 pm

Your field must be editable before the context menu ever will showup.
check also this post for loading media into field via JavaScript
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby david » Sun Sep 07, 2003 12:42 am

Yes, but what triggers the contextual menu on a mac?
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby Bert » Mon Sep 08, 2003 4:15 pm

david wrote:Yes, but what triggers the contextual menu on a mac?

On my one-button Apple-mouse this is ctrl-click :wink:

And I just found out this is only in design-mode :( but read also this topic :?
Bert de Graaff
ATB Software Servoy Developer manage your business anywhere
User avatar
Bert
 
Posts: 201
Joined: Tue May 20, 2003 11:16 am
Location: Stramproy - NL

Postby david » Mon Sep 08, 2003 4:55 pm

Ah, missed that post. Appropriate reply by the Jaleman :)
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby jcompagner » Mon Sep 08, 2003 5:21 pm

bug is fixed. CTRL-click does popup a menu now for image fields.
(build >= 1.1.1b10)
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby Jan Blok » Wed Oct 22, 2003 1:52 pm

Drop of (image) files in a media field is supported in next build
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 4 guests