Welcome Guest, you are in: Namespace

How images are uploaded, stored and managed on the Sueetie Wall.

Images for Everybody

The Sueetie Wall supports uploading images direct from the desktop. If a single image is uploaded it is displayed with larger dimensions, while multiple images are displayed with somewhat smaller dimensions. Each image is linked to a full-size version of the image in a separate browser tab. Here is a screenshot with two wall messages displaying multiple and single images.

Image

The Image Upload Process

Images are uploaded prior to a message being posted using a simple procedure shown below. To display the image upload area click on the "camera" icon.

Image

When files are selected they are listed with a delete icon for removal if the user changes their mind.

Image

Then click "Upload Images" at which point the images are physically loaded to the server and awaiting display with the Wall Message. Again, a delete icon gives the user the option to remove any images from display.

Image

Configuring your Wall Image Sizes

Three versions of a image are created when a user uploads a wall image. Those are a) a small size, b) a medium or optimized size, and c) the original image. Uploading the original image is one of the wall settings which you can chose to not support. Our approach to wall images is that disk space is cheap, but performance is everything, so we use multiple images to optimize performance by displaying the appropriate image size based on the context.

To accommodate larger image files you will want to include a maxRequestLength property in your web.config.

<httpRuntime requestValidationMode="2.0" maxRequestLength="40960"/>

Image Storage

Images are stored in /files/walls/WALLID/USERID along with a user's attachments. Images are displayed with a special Sueetie Wall HttpHandler which includes security checks, view logging and other features. The format of stored attachment files is a 12-character length unique Guid excerpt, followed by the file extension and "attachment." Here's a screenshot.

Image



Displaying Full Image Size

Wall images are lightbox enabled. Here we can add additional logic without affecting performance and retrieve images with a Wall Image Handler. The Full Size image is displayed in the lightbox, or by default 800x600 unless you change the dimensions in the Wall Settings.

Image

Top

ScrewTurn Wiki version 3.0.4.560.

Copyright © 2008-2012 Sueetie LLC. All rights reserved.
Sueetie