SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

What's hot (20)

Form Handling using PHP
Form Handling using PHPForm Handling using PHP
Form Handling using PHP
 
Introduction to PHP
Introduction to PHPIntroduction to PHP
Introduction to PHP
 
PHP - Introduction to PHP Cookies and Sessions
PHP - Introduction to PHP Cookies and SessionsPHP - Introduction to PHP Cookies and Sessions
PHP - Introduction to PHP Cookies and Sessions
 
Web technology lab manual
Web technology lab manualWeb technology lab manual
Web technology lab manual
 
CSS Pseudo Classes
CSS Pseudo ClassesCSS Pseudo Classes
CSS Pseudo Classes
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
 
Html tables
Html tablesHtml tables
Html tables
 
Div tag presentation
Div tag presentationDiv tag presentation
Div tag presentation
 
Html audio video
Html audio videoHtml audio video
Html audio video
 
JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
HTML5 audio & video
HTML5 audio & videoHTML5 audio & video
HTML5 audio & video
 
Techical Workflow for a Startup
Techical Workflow for a StartupTechical Workflow for a Startup
Techical Workflow for a Startup
 
GET and POST in PHP
GET and POST in PHPGET and POST in PHP
GET and POST in PHP
 
Sessions in php
Sessions in php Sessions in php
Sessions in php
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
Html coding
Html codingHtml coding
Html coding
 
1. introduction to html5
1. introduction to html51. introduction to html5
1. introduction to html5
 
Le Wagon - Web 101
Le Wagon - Web 101Le Wagon - Web 101
Le Wagon - Web 101
 
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSBasic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
 

Viewers also liked

Shipley art gallery powerpoint
Shipley art gallery powerpointShipley art gallery powerpoint
Shipley art gallery powerpointRob McIver
 
Contemporary Art Gallery Presentation
Contemporary Art Gallery PresentationContemporary Art Gallery Presentation
Contemporary Art Gallery Presentationgraceym
 
ART GALLERY DISPLAY SYSTEM
ART GALLERY DISPLAY SYSTEMART GALLERY DISPLAY SYSTEM
ART GALLERY DISPLAY SYSTEMPrajakta Talathi
 
Photo Management System PPT
Photo Management System PPTPhoto Management System PPT
Photo Management System PPTShanthan Reddy
 
Example ppt of the image gallery
Example ppt of the image galleryExample ppt of the image gallery
Example ppt of the image galleryHelenCaple
 
College Project Jasmin G. Period 3
College Project Jasmin G. Period 3College Project Jasmin G. Period 3
College Project Jasmin G. Period 3Ms. Richardson
 
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 Presentationpegasgroupfzc
 
Gallery Aug 08 Ver 2
Gallery Aug 08 Ver 2Gallery Aug 08 Ver 2
Gallery Aug 08 Ver 2robstanley
 
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 apiMatthieu Aubry
 
Cybersociety case study
Cybersociety case studyCybersociety case study
Cybersociety case studypkeegan13
 
3rd floor, art gallery
3rd floor, art gallery3rd floor, art gallery
3rd floor, art galleryjlwc
 
Integrating Google APIs into Your Applications
Integrating Google APIs into Your ApplicationsIntegrating Google APIs into Your Applications
Integrating Google APIs into Your ApplicationsChris Schalk
 
Origin city-Islamabad
Origin city-IslamabadOrigin city-Islamabad
Origin city-IslamabadAbdulmoiz Ali
 
Cabin Interior: Aircraft Galleys
Cabin Interior: Aircraft GalleysCabin Interior: Aircraft Galleys
Cabin Interior: Aircraft GalleysBai 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 ProjectNaimul Arif
 
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|worksStoyan Stefanov
 

Viewers also liked (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
 

Similar to Image galley ppt

Design Systems, Pattern Libraries & WordPress
Design Systems, Pattern Libraries & WordPressDesign Systems, Pattern Libraries & WordPress
Design Systems, Pattern Libraries & WordPressJesse James Arnold
 
Joomla! Day UK 2009 Basic Templates
Joomla! Day UK 2009 Basic TemplatesJoomla! Day UK 2009 Basic Templates
Joomla! Day UK 2009 Basic TemplatesAndy Wallace
 
Joomla Day UK 2009 Basic Templates
Joomla Day UK 2009 Basic TemplatesJoomla Day UK 2009 Basic Templates
Joomla Day UK 2009 Basic TemplatesChris Davenport
 
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 introducedRemigijus Kiminas
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress ThemesLaura Hartwig
 
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 NepalChandra Prakash Thapa
 
Easy Guide to WordPress Theme Integration
Easy Guide to WordPress Theme IntegrationEasy Guide to WordPress Theme Integration
Easy Guide to WordPress Theme IntegrationSankhala Info Solutions
 
YAG - Yet another gallery (2012)
YAG - Yet another gallery (2012)YAG - Yet another gallery (2012)
YAG - Yet another gallery (2012)Daniel Lienert
 
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 waeBishal Khanal
 
Building Potent WordPress Websites
Building Potent WordPress WebsitesBuilding Potent WordPress Websites
Building Potent WordPress WebsitesKyle Cearley
 
ViA Bootstrap 4
ViA Bootstrap 4ViA Bootstrap 4
ViA Bootstrap 4imdurgesh
 
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 DrupalWingston
 
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 InstituteBrendan Sera-Shriar
 
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 wayMarek Sotak
 

Similar to 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
 

Recently uploaded

NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
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 17Celine George
 
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 17Celine George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
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.pptxDr. Ravikiran H M Gowda
 
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)Jisc
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
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.pptxPooja Bhuva
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
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.pdfPoh-Sun Goh
 
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.pptxCeline George
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
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.pptxDr. Sarita Anand
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 

Recently uploaded (20)

NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
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
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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
 
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)
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
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
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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 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
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

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; }