Lightbox - Window without button close

Asked

Viewed 173 times

0

I downloaded the Lightbox package on http://lokeshdhakar.com/projects/lightbox2/, started the script and css :

  <script type="text/javascript" src="js/lightbox-plus-jquery"></script>
 <link rel="stylesheet" type="text/css" href="css/lightbox.css" />

I edited the CSS for the location where the images are (Close.png and Loading.png) in the Images directory of my project and in my code below, to list the thumbnail images. Finally, by clicking on the thumbnail images, open the original image:

echo "<br><br><br><a href='diretorio/".$row['foto']." '><img  src='teste.php?img=diretorio/".$row['foto']."' width='100' height='100' border='0'  <br/> <br/><br/></a>";

Open the thumbnail without problem, and when clicking on the image, direct to the original image. Only the close button is not showing, that is, it is not possible to close the modal screen of the image. What I am missing?

  • Have to see if copied the folders correctly this plugin has an images folder! that’s it.

  • I copied the two images I needed and stored them in a project image directory and set the path of these images in CSS.

  • Has 6 seats moved in the 6?

  • Yes, I just confirmed. To avoid a path error, I put the images inside the same CSS directory. Only the close button that does not appear. The file I’m changing is lightbox.css

  • have the image of an example ? debugged in browser

  • Do you want the image (thumbnail)? if it is in my local project, it is not available via web.

  • No you said that the button is not appearing where it should appear, it is difficult without seeing something, as you know it does not appear (stupid question) try to post a print screen of it.

  • I discovered the error and it was a lack of attention from me. One of the jquery files, when I loaded it at the beginning of the page, I forgot to put the . js at the end. Okay. I appreciate your help.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.