Hello everyone,
Recently quite a few questions regarding storing images in a database, displaying them on a page and creating thumbnails of stored images have been showing up in the forums.
I have created a few tutorials on how to use the following frameworks to store, display and modify images in a database using Linq 2 SQL and generic handlers.
The tutorials are in the form of videos;
- Introduction to storing images in your database
- In this video we cover;
- Creating your database structure
- Creating you Linq 2 Sql Classes
- Uploading an image into your database via linq
- Displaying your uploaded image from your database on a page
- Viewing the images in a grid
- Part 2: Creating Thumbnails & Adding some style
- This video covers
- Creating 3 varient thumbnails (3 different sizes) that are stored into the database. This makes processing the image very quick
- Creating an image manager to manage the images, thumbnails and various operations
- Easy styiling of your images in a grid
- Selectable image sizes
- Additionally looks at some other easy to use linq 2 sql functions
- Part 3: Adding security to your Images
- This is quite basic but shows a very simple way to stop cross sessions from viewing the images, which can be adapted to users or any other security type
- Also shows how to use the Session_End event to fire events and methods when a session ends
- Highlights a few more basic linq to sql function
I hope this helps some people in the future.
Thanks!
Nico