Inserting Images Into Database

Inserting Images Into Database

  
How do you insert images into database
How do you display images in the grid
Hi all,
By the way, can anyone tell me how can we display an image from the database via url source?

Thanks in advance..
Hi Nuno,

The way the Agile Platform builds the URL for images from the databaseis simple and follows the semantics described below:

       http://SERVER/ESPACE/_image.aspx/ENTITY/FILECONTENT/ID/FILENAME

To see this in more detail you can check this previous post that explains all:
http://www.outsystems.com/forums/discussion/8004/how-the-database-image-url-is-generated/

Hope this helps.

Kind Regards,
Gonçalo Martins
Gonçalo Martins wrote:
Hi Nuno,

The way the Agile Platform builds the URL for images from the databaseis simple and follows the semantics described below:

       http://SERVER/ESPACE/_image.aspx/ENTITY/FILECONTENT/ID/FILENAME

To see this in more detail you can check this previous post that explains all:
http://www.outsystems.com/forums/discussion/8004/how-the-database-image-url-is-generated/

Hope this helps.

Kind Regards,
Gonçalo Martins
 
 Hi guys,

just a quick note, take in consideration that things have changed a bit as stated by Miguel João with this reply on that post.


Miguel Simões João wrote:
We've changed the way the image URL is generated. It now uses hashed tokens instead of image ID's in the URL. This way, it's not possible to iterate the database images by changing the URL.

The breaking change is documented at http://www.outsystems.com/goto/breaking-changes-7.0.
Thank you
Miguel

Hi Kelter,

Very well observed..I'm working on a project using the version 6, so my brain assumed (wrong) that Benjamin's post were about this version too.
Since I already knew those breaking changes, thank very much for the correction.
This way we'll get here a post with both versions :)

Kind Regards and Thank you,
Gonçalo M.