Question: A javascript lightbox allows us to view full - size images by clicking on image thumbnails. Here's what you'll be building. ( Click on any

A javascript lightbox allows us to view full-size images by clicking on image thumbnails.
Here's what you'll be building. (Click on any of the small images.)
Lets create a lightbox gallery using the Luminous Javascript library:
Make a copy of your working index.php file. Call this copy: lightbox.php
Modify lightbox.php to only display your locally stored images.
Remove the links to the photographers Unsplash pages.
Make thumbnail versions of all your images that are 300 pixel wide. Name each thumbnail with _thumbnail at the end of the filename.
Example: mountain.jpg becomes mountain_thumbnail.jpg.
Modify each image such that the thumbnail displayed within a link to the fullsize image. For example:
Add these CDN-served link and script tags to your HTML head element:
Add the following script tag directly above your closing tag:
This step assumes that the CSS selector ".image a" targets all the link tags youve got your images stored within. Modify as required, If you used different HTML from the example.
Check if your gallery looks and acts like the provided example. give me a code for this

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!