2. Specifications:
User should be able to register and log in.
Once user logged in, his Homepage should be seen.
On Homepage user should see:
1. Navigation bar
2. Recent uploads
3. Create new album facility.
4. Show existing album facility
On clicking any of his album user should se album details and images
in perticular album.
On clicking any of the image image should be shown with greater
resolution and remaining images from the same album.
Image and album should have remove option. On clicking it album or
image should be removed from database.
Developer can add more exclusivity if needed.
3. Modules:
1. Login module - User can fill forms to register or log in.
2. Database Connect – Connects the Database.
3. Create album - User can create album with any name.
4. File upload –User can upload images in any of his album.
5. Rename file - Uploaded files/images should be renamed before
moved to permanant storage.
6. View album – User can see album details and images in it with
facilitiy like remove image or album.
7. Show image – On clicking any of the image it should be seen
with greater resolution.
5. Database design (Tables)
Tables Purpose
User - Stores the user information.
Album - Stores album information
Images - Stores the image information
6. Database design (Schema)
Album
User
Album_id int (pk)
user_id int (pk)
album_name varchar(25)
fname varchar(15)
user_id (fk_user_id)
lname varchar(15)
date_of_creation date
email varchar(40)
password varchar(40)
age smallint
contact double Images
gender varchar(5)
image_id int (pk)
image_name varchar(50)
image_path varchar(70)
album_id int (fk_album_id)
user_id int (fk_user_id)
7. CSS
Q: What is css?
CSS stands for Cascading Style Sheets.
Styles define how to display HTML elements.
With CSS we can manipulate color, background color, margin
and many more attributes of HTML element.
External Style Sheets can save a lot of work.
External Style Sheets are stored in CSS files.
Link to external css file from html can be given as
<link rel="stylesheet" type="text/css" href="image_gallery.css“ />
This line should be placed in head tag of HTML