SlideShare une entreprise Scribd logo
1  sur  12
PHP FINAL PROJECT


Online Image Gallery
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.
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.
Operational flow:
Login.php            show_image.php




   user_action.php   home.php
                                       DbConnect.php
                                         (included)

Validate.php


                         Image_processes.php




                      View_album.php
Database design (Tables)

Tables       Purpose

 User -     Stores the user information.

 Album -    Stores album information

 Images -   Stores the image information
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)
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
CSS for internship project
div.container // outer box
{
width:1024px;
margin:auto;
padding:10px;
border:1px solid lightgray;
}

div.navigation a // Home button
{
text-decoration:none;
font-size:13px;
padding:5px;
font-family:verdana;
background-color: #e5e5e5;
color: #1c1c1c;
border:1px solid gray;
border-radius:5px;
}
div.Content { // all content is inside division with class=content
padding:5px;
font-family:verdana;
font-size:13px;
}
div.content input ,select { //Input fields and select field.
padding:3px;
margin-top:5px;
border-radius:5px;
border:1px solid gray;
}
div.Welcome //Welcome user on each page
{
font-family:verdana;
font-size:13px;
color: #1c1c1c;
text-transform:capitalize;
border-bottom:1px dashed gray;
}
div.page_title2 // page title with gradient background
{
background-image:-moz-linear-gradient(#1c1c1c,#4c4c4c);
border-radius:10px;
font-family:Helvetica;
color:white;
padding:10px;
text-align:center;
}
div.show_image { // Division accross each image in album.php
float:left;
padding:7px;
border:1px solid #9c9c9c;
margin:5px;
}
div.show_image a.remove_image{ // Remove button below image
margin-left:65px;
color:orangered;
float:none;
text-decoration:none;
}
div.images img // all image in album.php inside div with class=images
{
padding-bottom:5px;
}
div.more_images // more images in show_img.php
{
padding:15px;
border:1px solid lightgray;
width:130px;
background-color: #f0f0f0;
}
div.more_images img //images inside div with class=more_images
{
margin-top:5px;
border:1px solid black;
}
div.image_container img //image with greater resolution in show_img.php
{
border:1px solid black;
}
Thank you

Contenu connexe

Tendances

FITNESS-GYM-MANAGEMENT-SYSTEM-Project-Presentation.pptx
FITNESS-GYM-MANAGEMENT-SYSTEM-Project-Presentation.pptxFITNESS-GYM-MANAGEMENT-SYSTEM-Project-Presentation.pptx
FITNESS-GYM-MANAGEMENT-SYSTEM-Project-Presentation.pptx
sikhaverma3
 
Web Design Notes
Web Design NotesWeb Design Notes
Web Design Notes
butest
 
College mgmnt system
College mgmnt systemCollege mgmnt system
College mgmnt system
Sayali Birari
 

Tendances (20)

What is context? How to use context in Odoo by weblearns
What is context? How to use context in Odoo by weblearnsWhat is context? How to use context in Odoo by weblearns
What is context? How to use context in Odoo by weblearns
 
Food ordering system for red bd csc 397
Food ordering system for red bd csc 397Food ordering system for red bd csc 397
Food ordering system for red bd csc 397
 
PHP Cookies and Sessions
PHP Cookies and SessionsPHP Cookies and Sessions
PHP Cookies and Sessions
 
FITNESS-GYM-MANAGEMENT-SYSTEM-Project-Presentation.pptx
FITNESS-GYM-MANAGEMENT-SYSTEM-Project-Presentation.pptxFITNESS-GYM-MANAGEMENT-SYSTEM-Project-Presentation.pptx
FITNESS-GYM-MANAGEMENT-SYSTEM-Project-Presentation.pptx
 
Photoshop
PhotoshopPhotoshop
Photoshop
 
Web design - Working with forms in HTML
Web design - Working with forms in HTMLWeb design - Working with forms in HTML
Web design - Working with forms in HTML
 
Web Design Notes
Web Design NotesWeb Design Notes
Web Design Notes
 
College mgmnt system
College mgmnt systemCollege mgmnt system
College mgmnt system
 
E learning resource locator, Synopsis
E learning resource locator, SynopsisE learning resource locator, Synopsis
E learning resource locator, Synopsis
 
Arrays in PHP
Arrays in PHPArrays in PHP
Arrays in PHP
 
Php sessions
Php sessionsPhp sessions
Php sessions
 
Clothing Store and Management System
Clothing Store and Management SystemClothing Store and Management System
Clothing Store and Management System
 
Database project design report of Centro bus transit system
Database project design report of Centro bus transit systemDatabase project design report of Centro bus transit system
Database project design report of Centro bus transit system
 
Html multimedia tag
Html multimedia tagHtml multimedia tag
Html multimedia tag
 
Android Layout
Android LayoutAndroid Layout
Android Layout
 
Library Management System Waterfall Model
Library Management System Waterfall ModelLibrary Management System Waterfall Model
Library Management System Waterfall Model
 
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
 
Adobe Photoshop for Beginners
Adobe Photoshop for BeginnersAdobe Photoshop for Beginners
Adobe Photoshop for Beginners
 
Web designing ppt.pdf
Web designing ppt.pdfWeb designing ppt.pdf
Web designing ppt.pdf
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
 

En vedette

Example ppt of the image gallery
Example ppt of the image galleryExample ppt of the image gallery
Example ppt of the image gallery
HelenCaple
 
College Project Jasmin G. Period 3
College Project Jasmin G. Period 3College Project Jasmin G. Period 3
College Project Jasmin G. Period 3
Ms. Richardson
 
Cabin Interior: Aircraft Galleys
Cabin Interior: Aircraft GalleysCabin Interior: Aircraft Galleys
Cabin Interior: Aircraft Galleys
Bai Haqi
 
Entity relationship Diagram for Online buy and Sale Project
Entity relationship Diagram for Online buy and Sale ProjectEntity relationship Diagram for Online buy and Sale Project
Entity relationship Diagram for Online buy and Sale Project
Naimul Arif
 

En vedette (20)

Shipley art gallery powerpoint
Shipley art gallery powerpointShipley art gallery powerpoint
Shipley art gallery powerpoint
 
Online art galleries
Online art galleriesOnline art galleries
Online art galleries
 
Contemporary Art Gallery Presentation
Contemporary Art Gallery PresentationContemporary Art Gallery Presentation
Contemporary Art Gallery Presentation
 
ART GALLERY DISPLAY SYSTEM
ART GALLERY DISPLAY SYSTEMART GALLERY DISPLAY SYSTEM
ART GALLERY DISPLAY SYSTEM
 
Photo Management System PPT
Photo Management System PPTPhoto Management System PPT
Photo Management System PPT
 
PHP Project PPT
PHP Project PPTPHP Project PPT
PHP Project PPT
 
Example ppt of the image gallery
Example ppt of the image galleryExample ppt of the image gallery
Example ppt of the image gallery
 
Technologies in Wolverhampton Art Gallery
Technologies  in Wolverhampton Art GalleryTechnologies  in Wolverhampton Art Gallery
Technologies in Wolverhampton Art Gallery
 
College Project Jasmin G. Period 3
College Project Jasmin G. Period 3College Project Jasmin G. Period 3
College Project Jasmin G. Period 3
 
Kataria Art Collections & Pegas Art Gallery Presentation
Kataria Art Collections & Pegas Art Gallery PresentationKataria Art Collections & Pegas Art Gallery Presentation
Kataria Art Collections & Pegas Art Gallery Presentation
 
Gallery Aug 08 Ver 2
Gallery Aug 08 Ver 2Gallery Aug 08 Ver 2
Gallery Aug 08 Ver 2
 
Easy rest service using PHP reflection api
Easy rest service using PHP reflection apiEasy rest service using PHP reflection api
Easy rest service using PHP reflection api
 
Cybersociety case study
Cybersociety case studyCybersociety case study
Cybersociety case study
 
3rd floor, art gallery
3rd floor, art gallery3rd floor, art gallery
3rd floor, art gallery
 
Integrating Google APIs into Your Applications
Integrating Google APIs into Your ApplicationsIntegrating Google APIs into Your Applications
Integrating Google APIs into Your Applications
 
Origin city-Islamabad
Origin city-IslamabadOrigin city-Islamabad
Origin city-Islamabad
 
Cabin Interior: Aircraft Galleys
Cabin Interior: Aircraft GalleysCabin Interior: Aircraft Galleys
Cabin Interior: Aircraft Galleys
 
Web page concept final ppt
Web page concept  final pptWeb page concept  final ppt
Web page concept final ppt
 
Entity relationship Diagram for Online buy and Sale Project
Entity relationship Diagram for Online buy and Sale ProjectEntity relationship Diagram for Online buy and Sale Project
Entity relationship Diagram for Online buy and Sale Project
 
Image Optimization for the Web at php|works
Image Optimization for the Web at php|worksImage Optimization for the Web at php|works
Image Optimization for the Web at php|works
 

Similaire à Image galley ppt

YAG - Yet another gallery (2012)
YAG - Yet another gallery (2012)YAG - Yet another gallery (2012)
YAG - Yet another gallery (2012)
Daniel Lienert
 
6 Special Howtos for Drupal
6 Special Howtos for Drupal6 Special Howtos for Drupal
6 Special Howtos for Drupal
Wingston
 

Similaire à Image galley ppt (20)

Pfnp slides
Pfnp slidesPfnp slides
Pfnp slides
 
Design Systems, Pattern Libraries & WordPress
Design Systems, Pattern Libraries & WordPressDesign Systems, Pattern Libraries & WordPress
Design Systems, Pattern Libraries & WordPress
 
Joomla! Day UK 2009 Basic Templates
Joomla! Day UK 2009 Basic TemplatesJoomla! Day UK 2009 Basic Templates
Joomla! Day UK 2009 Basic Templates
 
Joomla Day UK 2009 Basic Templates
Joomla Day UK 2009 Basic TemplatesJoomla Day UK 2009 Basic Templates
Joomla Day UK 2009 Basic Templates
 
18. images in symfony 4
18. images in symfony 418. images in symfony 4
18. images in symfony 4
 
Hppg r819 gallery presentation, search by color introduced
Hppg r819 gallery presentation, search by color introducedHppg r819 gallery presentation, search by color introduced
Hppg r819 gallery presentation, search by color introduced
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress Themes
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
 
Easy Guide to WordPress Theme Integration
Easy Guide to WordPress Theme IntegrationEasy Guide to WordPress Theme Integration
Easy Guide to WordPress Theme Integration
 
YAG - Yet another gallery (2012)
YAG - Yet another gallery (2012)YAG - Yet another gallery (2012)
YAG - Yet another gallery (2012)
 
Getting started with rails active storage wae
Getting started with rails active storage waeGetting started with rails active storage wae
Getting started with rails active storage wae
 
HTML (part ii).pptx
HTML (part ii).pptxHTML (part ii).pptx
HTML (part ii).pptx
 
Building Potent WordPress Websites
Building Potent WordPress WebsitesBuilding Potent WordPress Websites
Building Potent WordPress Websites
 
ViA Bootstrap 4
ViA Bootstrap 4ViA Bootstrap 4
ViA Bootstrap 4
 
Beyond CSS Architecture
Beyond CSS ArchitectureBeyond CSS Architecture
Beyond CSS Architecture
 
6 Special Howtos for Drupal
6 Special Howtos for Drupal6 Special Howtos for Drupal
6 Special Howtos for Drupal
 
WordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media InstituteWordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media Institute
 
Adopt or hack - how to hack a theme in a Drupal way
Adopt or hack - how to hack a theme in a Drupal wayAdopt or hack - how to hack a theme in a Drupal way
Adopt or hack - how to hack a theme in a Drupal way
 
Joomla Templates101
Joomla Templates101Joomla Templates101
Joomla Templates101
 
WordPress Theming 101
WordPress Theming 101WordPress Theming 101
WordPress Theming 101
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

Image galley ppt

  • 1. PHP FINAL PROJECT Online Image Gallery
  • 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.
  • 4. Operational flow: Login.php show_image.php user_action.php home.php DbConnect.php (included) Validate.php Image_processes.php View_album.php
  • 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
  • 8. CSS for internship project div.container // outer box { width:1024px; margin:auto; padding:10px; border:1px solid lightgray; } div.navigation a // Home button { text-decoration:none; font-size:13px; padding:5px; font-family:verdana; background-color: #e5e5e5; color: #1c1c1c; border:1px solid gray; border-radius:5px; }
  • 9. div.Content { // all content is inside division with class=content padding:5px; font-family:verdana; font-size:13px; } div.content input ,select { //Input fields and select field. padding:3px; margin-top:5px; border-radius:5px; border:1px solid gray; } div.Welcome //Welcome user on each page { font-family:verdana; font-size:13px; color: #1c1c1c; text-transform:capitalize; border-bottom:1px dashed gray; }
  • 10. div.page_title2 // page title with gradient background { background-image:-moz-linear-gradient(#1c1c1c,#4c4c4c); border-radius:10px; font-family:Helvetica; color:white; padding:10px; text-align:center; } div.show_image { // Division accross each image in album.php float:left; padding:7px; border:1px solid #9c9c9c; margin:5px; } div.show_image a.remove_image{ // Remove button below image margin-left:65px; color:orangered; float:none; text-decoration:none; }
  • 11. div.images img // all image in album.php inside div with class=images { padding-bottom:5px; } div.more_images // more images in show_img.php { padding:15px; border:1px solid lightgray; width:130px; background-color: #f0f0f0; } div.more_images img //images inside div with class=more_images { margin-top:5px; border:1px solid black; } div.image_container img //image with greater resolution in show_img.php { border:1px solid black; }