Image Repository
Version Initial Version
Published on 04 January 2014 by 
Created on 04 January 2014
Details
Images take so much space in database! Why not save them to disk?
Read More
This is a basic component to upload images directly to disk. I was doing it inside a specific application, but today decided to push it aside because it can be handy for other things.

Comments are welcome.



Feature List
  • Public webblock uploads images to disk.
  • Any user can create tags while uploading. Tags are removable.
  • Espace allows authorized users to manage image types and edit image information.
  • To distribute load, images are stored into random folders of the specified location.
  • Images are returned as suggested here.

Main Benefits
  • To everyone with Community Edition who face limited database size and aren't worried with performance

TO DO
  • Read file metadata to detect width and height (alternative: open image in browser, jquery dimensions and save them in DB)
  • Return image with specific dimensions (needs previous point)
  • Default image for "not found"
  • Java Stack compatible (change paths)
  • Limit file size and control space in disk.
SIZE
5732 SU's so far


User's Manual

Example:
  1. Define some Image Types (Drawings, Vacations, Family Pictures,...)
  2. Go to Images and start uploading.
  3. Try webblock in different Espaces.
Reviews (0)
Category
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Nuno Reis who created this component.
Dependencies
Image Repository has no dependencies.
Requirements
Platform
7.0.0.0
Database
All
Stack
.NET
Component Consumers
Image Repository has no consumers.
Weekly Downloads 
Related Components
Offline Apps
Offline Apps Team
The Offline Apps component allows you to add offline capabilities to your OutSystems responsive application. Click here to see how you can use this component for responsive applications.  Learn how to build offline mobile apps with Outsystems.
1938
Cropit
Remote Coders
A jQuery plugin for image cropping and zooming. Loads images locally via FileReader, and crops them using canvas. Designed to be extremely customizable via CSS. Best for the cases where you want users to upload images of a specific size and aspect ratio.
170
File Upload And Image Preview On ChooseFile
Frederico Sousa
With this component you can upload any file to the server without the need to use Submit links or buttons. This means you can use this on a page with server validations (and use ajax refreshes to show them) without the need of having 2 different buttons, one to save and one to upload the file. With this, the user only has to click once to save everything, and also you can do the validations to the file right then the user selects it, and not only when he clicks another button. Besides this, the component also can set a preview of the uploaded file (if it's an image) by JS when you upload.
202
More from Nuno Reis
Blogs Connector
Nuno Reis
API to integrate with blogs in Wordpress (since version 4.7) or Blogger.
Game Utils
Nuno Reis
A set of functionalities for games implementation. Each configurable Webblock returns an Integer List with the results.