SlideShare a Scribd company logo
Creating A Web Gallery Using Lightbox2
       (CSS,JavaScript,HTML)
            Web Design 2

             Mr. Downs


              3/3/2010
Instructions

Step 1: Choose a selection of 8-10 images at least
400x600 pixels.

Step 2: Resize each image to 400x600 in size. Place in a
folder named “gallery”. Name these photos
A name which defines them simply as the larger image.
(big1.jpg,big2.jpg,etc.).

Step 3: Once finished take each 400pxX600px sized
image and resize another copy to 150x225 rename these
images small1.jpg, small2.jpg, small3.jpg etc. Have
small1 and big1 be the same image and correspond
accordingly.

Step 4: You should now have a folder with a large and
small image of the same image.

Step 5: Using a CSS template or html notepad document
we now need to insert 3 parts into the web page:
1.HTML-Code which will organize the images and place
it on the webpage.
2.CSS-Code which styles the galley and how it looks.
3.Javascript-Language which gives the action to the
gallery.
Step 6: Here is how the html is to be
entered.




Step 7-Once your code is entered for your html part of
the gallery we need to add the necessary folders of CSS,
Images and JavaScript to your webpage folder. These
folders can be found on the school P:drive. These are
the folders which contain the images that are part of the
look of the gallery, the styling and the program which
drives the action of the gallery. Copy and paste these
into your folder.
Here is what the folders look like. Notice there are 3-
css,images and js(javascript) You will need these in
your folder for your gallery to work.

What is JavaScript?
“JavaScript is an object-oriented[4] scripting language used to
enable programmatic access to objects within both the client
application and other applications. It is primarily used in the
form of client-side JavaScript, implemented as an integrated
component of the web browser, allowing the development of
enhanced user interfaces and dynamic websites.”
-Wikipedia




What the folders look like.
Step 8-Now that your folders are added its time to go
back to your notepad code and add the links from your
notepad page to the folders which will allow the gallery
to
work.




Step 9- Once you have entered the necessary links to
the CSS and JavaScript in the correct area of you web
page we can save your web page. Save you webpage as
“gallery.html” be sure to save it as type” all files”. Here
is a quick checklist before you check your gallery.

1.All folders, images and notepads saved as web
browser files are saved in one folder.
2. Name this folder Gallery
3. Check your code against the photos on this sheet.
Creating a web gallery lightbox2 final

More Related Content

PPTX
Java script tutorial
PDF
Building Angular Component Libraries
PPT
Drupal Installation & Configuration
PDF
Write Your First WordPress Plugin
PPTX
WORDPRESS MANUAL INSTALL ON GODADDY
PPTX
Php cookies
PDF
Tutorial windows service with java (procrun)
PPTX
Php sessions
Java script tutorial
Building Angular Component Libraries
Drupal Installation & Configuration
Write Your First WordPress Plugin
WORDPRESS MANUAL INSTALL ON GODADDY
Php cookies
Tutorial windows service with java (procrun)
Php sessions

Viewers also liked (11)

PPT
2 Intro c++
PPTX
HTML 101r
PPTX
Operators-computer programming and utilzation
PDF
Computer Programing
PDF
Computer programing
PDF
Chap 1 c++
PPTX
Computer Generation Presentation
PPT
Computer hardware and networking components
PDF
CBSE XII Communication And Network Concepts
PPT
Chapter 4 computer software
PPT
BASIC CONCEPTS OF COMPUTER NETWORKS
2 Intro c++
HTML 101r
Operators-computer programming and utilzation
Computer Programing
Computer programing
Chap 1 c++
Computer Generation Presentation
Computer hardware and networking components
CBSE XII Communication And Network Concepts
Chapter 4 computer software
BASIC CONCEPTS OF COMPUTER NETWORKS
Ad

Similar to Creating a web gallery lightbox2 final (20)

PDF
Creating a web gallery lightbox2 final
PPTX
slides oif mlsa oigf fhdhd cgdgd gggd bdg.pptx
PDF
Winter%200405%20-%20Advanced%20Javascript
PDF
Winter%200405%20-%20Advanced%20Javascript
PDF
ViA Bootstrap 4
PPT
Introduction to BOOTSTRAP
PPT
Twitter bootstrap training_session_ppt
ODP
Hppg r819 gallery presentation, search by color introduced
PDF
Slavin-Dodson Piece, With Code.
PPTX
Writing your own WordPress themes and plugins
DOCX
To create a web service
DOC
File uploading through paperclip in rails 3.x
PDF
Asp.net w3schools
PDF
Installing And Configuration for your Wordpress blog
PPTX
Extending & Scaling | Dallas PHP
ODP
Html5
PDF
Tomcat + other things
PDF
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
PPSX
14 asp.net session20
PPTX
Customizing WordPress Themes
Creating a web gallery lightbox2 final
slides oif mlsa oigf fhdhd cgdgd gggd bdg.pptx
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascript
ViA Bootstrap 4
Introduction to BOOTSTRAP
Twitter bootstrap training_session_ppt
Hppg r819 gallery presentation, search by color introduced
Slavin-Dodson Piece, With Code.
Writing your own WordPress themes and plugins
To create a web service
File uploading through paperclip in rails 3.x
Asp.net w3schools
Installing And Configuration for your Wordpress blog
Extending & Scaling | Dallas PHP
Html5
Tomcat + other things
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
14 asp.net session20
Customizing WordPress Themes
Ad

More from Daniel Downs (20)

PPT
Developing a mobile application curriculum which empowers authentic
PDF
Module11: Creating A External Style Sheet and Creating A Gallery
PDF
Seo continued page 2
PDF
Module 10search engine optimization
PDF
Ipad quick-reference-2
PDF
Index of jquery template 2 Minuteman Summer Web Dev.
PDF
Jquery template 1 3 pages
PDF
Module6 htmlcss helpfulcodeandwebsites
PDF
Module 4 Minuteman Lexington Web Design Daniel Downs
PDF
Module 3 Progress Codes Web Design Daniel Downs Minuteman Lexington Ma
PDF
Module 2 lexington minuteman web development basic layout template
PDF
Module 1 Web design & Development Lexington Minuteman
PDF
App research project
PDF
Daniel Downs: Student Experiences In A Project Based Learning Technology Curr...
PDF
Blogger custom domain on go daddy blogger widgets
PDF
Outline for action research prospectus
PDF
You have decided to go off on your own as a freelance webdesigner
PDF
Making a basicappinflash (1)
PDF
Daniel Downs Technology Portfolio Final May 2013 final (1)
PDF
Web design 1& 2 lesson outline
Developing a mobile application curriculum which empowers authentic
Module11: Creating A External Style Sheet and Creating A Gallery
Seo continued page 2
Module 10search engine optimization
Ipad quick-reference-2
Index of jquery template 2 Minuteman Summer Web Dev.
Jquery template 1 3 pages
Module6 htmlcss helpfulcodeandwebsites
Module 4 Minuteman Lexington Web Design Daniel Downs
Module 3 Progress Codes Web Design Daniel Downs Minuteman Lexington Ma
Module 2 lexington minuteman web development basic layout template
Module 1 Web design & Development Lexington Minuteman
App research project
Daniel Downs: Student Experiences In A Project Based Learning Technology Curr...
Blogger custom domain on go daddy blogger widgets
Outline for action research prospectus
You have decided to go off on your own as a freelance webdesigner
Making a basicappinflash (1)
Daniel Downs Technology Portfolio Final May 2013 final (1)
Web design 1& 2 lesson outline

Creating a web gallery lightbox2 final

  • 1. Creating A Web Gallery Using Lightbox2 (CSS,JavaScript,HTML) Web Design 2 Mr. Downs 3/3/2010
  • 2. Instructions Step 1: Choose a selection of 8-10 images at least 400x600 pixels. Step 2: Resize each image to 400x600 in size. Place in a folder named “gallery”. Name these photos A name which defines them simply as the larger image. (big1.jpg,big2.jpg,etc.). Step 3: Once finished take each 400pxX600px sized image and resize another copy to 150x225 rename these images small1.jpg, small2.jpg, small3.jpg etc. Have small1 and big1 be the same image and correspond accordingly. Step 4: You should now have a folder with a large and small image of the same image. Step 5: Using a CSS template or html notepad document we now need to insert 3 parts into the web page: 1.HTML-Code which will organize the images and place it on the webpage. 2.CSS-Code which styles the galley and how it looks. 3.Javascript-Language which gives the action to the gallery.
  • 3. Step 6: Here is how the html is to be entered. Step 7-Once your code is entered for your html part of the gallery we need to add the necessary folders of CSS, Images and JavaScript to your webpage folder. These folders can be found on the school P:drive. These are the folders which contain the images that are part of the look of the gallery, the styling and the program which drives the action of the gallery. Copy and paste these into your folder.
  • 4. Here is what the folders look like. Notice there are 3- css,images and js(javascript) You will need these in your folder for your gallery to work. What is JavaScript? “JavaScript is an object-oriented[4] scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites.” -Wikipedia What the folders look like.
  • 5. Step 8-Now that your folders are added its time to go back to your notepad code and add the links from your notepad page to the folders which will allow the gallery to work. Step 9- Once you have entered the necessary links to the CSS and JavaScript in the correct area of you web page we can save your web page. Save you webpage as “gallery.html” be sure to save it as type” all files”. Here is a quick checklist before you check your gallery. 1.All folders, images and notepads saved as web browser files are saved in one folder. 2. Name this folder Gallery 3. Check your code against the photos on this sheet.