Title: Lightbox will not load properly
Last modified: August 22, 2016

---

# Lightbox will not load properly

 *  [garydos34](https://wordpress.org/support/users/garydos34/)
 * (@garydos34)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/lightbox-will-not-load-properly/)
 * I am having trouble getting lightbox <ahref=”[http://lokeshdhakar.com/projects/lightbox2/”&gt](http://lokeshdhakar.com/projects/lightbox2/”&gt);
   to work. I have been able to create a new test html doc and get lightbox working.
   However when I put it into my website I can only get the images to load up.
    
   My site is comprised of (header.php-portfolio.php(main content)-footer.php)
 * Header.php
    ‘<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “
   [http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   <html xmlns=”[http://www.w3.org/1999/xhtml”&gt](http://www.w3.org/1999/xhtml”&gt);
   <head> <link rel=”shortcut icon” href=”<?php bloginfo(‘template_directory’); ?
   >/images/favicon.ico” /> <meta http-equiv=”Content-Type” content=”text/html; 
   charset=UTF-8″ /> <meta name=”viewport” content=”width=device-width; initial-
   scale=1.0; maximum-scale=1.0;”> <!–<meta http-equiv=”Content-Type” content=”text/
   html; charset=UTF-8″ />–> <title><?php bloginfo(‘name’); ?> <?php if ( is_single()){?
   > » Blog Archive <?php } ?> <?php wp_title(); ?></title> <link href=”<?php bloginfo(‘
   stylesheet_url’); ?>” rel=”stylesheet” type=”text/css” /> <link href=’[http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300&subset=latin,cyrillic-ext&#8217](http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300&subset=latin,cyrillic-ext&#8217);
   rel=’stylesheet’ type=’text/css’> <link href=’[http://fonts.googleapis.com/css?family=Iceland&#8217](http://fonts.googleapis.com/css?family=Iceland&#8217);
   rel=’stylesheet’ type=’text/css’> <link rel=”stylesheet” href=”[http://fonts.googleapis.com/css?family=Karla%7CMontserrat”&gt](http://fonts.googleapis.com/css?family=Karla%7CMontserrat”&gt);
   <link rel=”stylesheet” href=”<?php bloginfo(‘template_directory’); ?>css/screen.
   css”> <link rel=”stylesheet” href=”<?php bloginfo(‘template_directory’); ?>css/
   lightbox.css”>
 * <script language=”javascript” type=”text/javascript”></script>
    </head> <body
   > <div id=”container”> <div id=”header”> “> <div class=”logo”> </div> <div class
   =”topbar”></div> <div id=”navbar”> <div id=”nav”>
    - [Contact](https://wordpress.org/support/topic/lightbox-will-not-load-properly/?output_format=md#contact)
    - [Blog](https://wordpress.org/support/topic/lightbox-will-not-load-properly/?output_format=md#blog)
    - [About](https://wordpress.org/support/topic/lightbox-will-not-load-properly/?output_format=md#about)
    - [Portfolio](https://wordpress.org/support/topic/lightbox-will-not-load-properly/?output_format=md#portfolio)
 *  </div>
    </div> </div> <!–header end–>’
 * Portfolio.php
    ‘[<img class=”example-image” src=”<?php bloginfo(‘template_directory’); ?>/img/demopage/image-1.jpg” alt=”image-1″ />](https://wordpress.org/img/demopage/image-1.jpg?output_format=md)‘
 * footer.php
    ‘<script src=”js/jquery-1.11.0.min.js”></script> <script src=”js/
   lightbox.js”></script> </body> </html>’

The topic ‘Lightbox will not load properly’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [garydos34](https://wordpress.org/support/users/garydos34/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/lightbox-will-not-load-properly/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
