Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Some ideas for further enhancements

From: Create an Interactive Photo Gallery with jQuery and Dreamweaver

Video: Some ideas for further enhancements

So now that you've completed programming your own photo gallery, there are some things you might want to consider to further increase the functionality. One of the things to take a look at is inside the Fancybox framework, there was that index file. We're going to open that up again. Down here under the set of examples, there's a group where we can take a series of images and load a series up in the lightbox. So by assigning a whole bunch of images to the same relative group, which we'll take a look at in the code for a moment, when we load up the lightbox, when we move to the right, we'll see that we have an arrow where I can click and go to the next picture.

Some ideas for further enhancements

So now that you've completed programming your own photo gallery, there are some things you might want to consider to further increase the functionality. One of the things to take a look at is inside the Fancybox framework, there was that index file. We're going to open that up again. Down here under the set of examples, there's a group where we can take a series of images and load a series up in the lightbox. So by assigning a whole bunch of images to the same relative group, which we'll take a look at in the code for a moment, when we load up the lightbox, when we move to the right, we'll see that we have an arrow where I can click and go to the next picture.

Now, when I roll side to side, I can go to the previous picture or the next picture, and I can cycle through any number of images. So basically, I can go from high-res file to high-res file. The way that this is set up, I am going to take a look at the index file in a text editor. I'm going to scroll down here and we're going to take a look at where this is set up. Down here in Image Gallery, they have a relative attribute here with an example_group. Every one of these items is part of the example_group.

By simply grabbing another object, I'll take the last one and just paste it in again, so we'll have two copies of 12_b, which is a picture of that camera. I'll hit Save, come back to the browser, hit Reload. Notice I have now two pictures of the camera. No matter which image I click on, that's the one that starts. So I can go Previous, Next. We can also use the scroll wheel. So I am rotating the scroll wheel on my mouse. There are the two different pictures of the camera. Where we might want to use this in this particular gallery is perhaps we don't use the preview area at all, and we use just the series of thumbnails, and every one of these thumbnails is part of a relative group.

So then bypassing the preview altogether, we click on a thumbnail and just bring up the lightbox where we can then go through all of the high-res images by either using the scroll-wheel or the right and left clicks. The next thing you might want to do is do a Google search on other photo galleries that you can download. A lot of people have put together plug-ins that will do a lot of the functionality that we've just gone through. So once you've spent the time to learn the techniques, you can either program your own and continue extending this project or start dissecting other projects. So typically, I'll go into Google and search for different types of slideshow galleries that I want to start from.

So I can scroll down here and I can see a bunch of different plug-ins that I can download; some have some similar functionality. Or I can also use some of the user experiences of these to incorporate into my particular project. Well, at this point, I'm concluding this course, and I really appreciate you watching.

Show transcript

This video is part of

Expand all | Collapse all
  1. 7m 51s
    1. Previewing the project across browsers and devices
      5m 32s
    2. About the exercise files
      2m 19s
  2. 9m 49s
    1. Renaming a series of files in Adobe Bridge
      3m 7s
    2. Using GREP for more intricate file renaming
      6m 42s
  3. 29m 5s
    1. Creating and linking HTML and CSS files
      1m 32s
    2. Save For Web & Devices in Photoshop
      7m 2s
    3. Creating empty CSS rules
      3m 55s
    4. Create, nest, and class DIV tags
      6m 0s
    5. Adding CSS properties for main container
      4m 0s
    6. Adding CSS properties for content area
      4m 28s
    7. Adding CSS properties for headings
      2m 8s
  4. 15m 55s
    1. Adding and linking the thumbnail images
      2m 32s
    2. Styling the thumbnail links with CSS
      5m 15s
    3. Downloading and adding jQuery to your project
      2m 42s
    4. Overriding the browser's default link behavior
      5m 26s
  5. 11m 10s
    1. Creating preview images from anchor links
      1m 52s
    2. Changing the preview when clicking thumbnails
      5m 59s
    3. Changing the caption when clicking thumbnails
      3m 19s
  6. 12m 0s
    1. Adding an image preload plug-in for jQuery
      2m 22s
    2. Setting a dissolve transition between previews
      4m 31s
    3. Implementing the preload functionality
      5m 7s
  7. 15m 20s
    1. Adding a lightbox plug-in for jQuery
      2m 2s
    2. Creating a custom function for lightbox properties
      7m 38s
    3. Setting links to activate the lightbox feature
      5m 40s
  8. 3m 40s
    1. Initializing the gallery on page load
      3m 40s
  9. 5m 11s
    1. Adding icons and styles to the zoom and contact links
      5m 11s
  10. 2m 41s
    1. Activating a gallery automatically in IE9 and IE10
      2m 41s
  11. 2m 43s
    1. Some ideas for further enhancements
      2m 43s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Create an Interactive Photo Gallery with jQuery and Dreamweaver.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.