Pictures

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

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

Your field must be editable before the context menu ever will showup.
check also this [u]post[/u] for loading media into field via JavaScript

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

david:
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 :?

Ah, missed that post. Appropriate reply by the Jaleman :)

bug is fixed. CTRL-click does popup a menu now for image fields.
(build >= 1.1.1b10)

Drop of (image) files in a media field is supported in next build