I Look 12

Blogging, Computers, Internet, Gaming, Make Money Online


Lytebox Image Viewer For Blogger






If you heard about Lightbox, I'm sure that you know that it is a widget integrated to blogger that allows you to open large images without opening a new window and instead opening it at the center of your screen inside a box. But in this guide, we will be using another widget called Lytebox, it is a modified Lightbox with some added features.

Here are some examples, click the image to view the lytebox.
Singe image:


Album or group of images:


Slideshow:


To add this widget to your blog, just choose your preferred color and click the add to blogger.











Note: You only need to add one of them, not two, three or all of them.

To display images uploaded to blogger inside a lytebox, just follow these steps.

After you uploaded an image from your blogger post editor, click Edit HTML.

Your image code will look similar to this,
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp_gzy3PbFTc_QBMcCiutv0-BhyQa3bjdD72CBRdzc8Wp18MWQ-LHrxXc3RNc-1AxYoEGqA8anagJ0mGRUXqA3K-6tddDlXQBVbpY4bgOHsbpUaseoZPNxqfFCL9t4QDT4gusk8uN83U0/-h/hummingbird.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp_gzy3PbFTc_QBMcCiutv0-BhyQa3bjdD72CBRdzc8Wp18MWQ-LHrxXc3RNc-1AxYoEGqA8anagJ0mGRUXqA3K-6tddDlXQBVbpY4bgOHsbpUaseoZPNxqfFCL9t4QDT4gusk8uN83U0/s320/hummingbird.jpg" /></a>

What you need to do is remove the -h then proceed to the next step on how would you like the image to appear in the lytebox

For single image:
Add rel="lytebox" title="Caption" after the <a
Example code:
<a rel="lytebox" title="Hummingbird" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp_gzy3PbFTc_QBMcCiutv0-BhyQa3bjdD72CBRdzc8Wp18MWQ-LHrxXc3RNc-1AxYoEGqA8anagJ0mGRUXqA3K-6tddDlXQBVbpY4bgOHsbpUaseoZPNxqfFCL9t4QDT4gusk8uN83U0/s1600/hummingbird.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp_gzy3PbFTc_QBMcCiutv0-BhyQa3bjdD72CBRdzc8Wp18MWQ-LHrxXc3RNc-1AxYoEGqA8anagJ0mGRUXqA3K-6tddDlXQBVbpY4bgOHsbpUaseoZPNxqfFCL9t4QDT4gusk8uN83U0/s320/hummingbird.jpg" /></a>

For group of images or album type:
Add  rel="lytebox[album_name]" title="Caption" after the <a. Change the album_name to the album name of your choice, and when adding the second image, just make the album_name the same.

Example code:
<a rel="lytebox[birds]" title="Hummingbird 1" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp_gzy3PbFTc_QBMcCiutv0-BhyQa3bjdD72CBRdzc8Wp18MWQ-LHrxXc3RNc-1AxYoEGqA8anagJ0mGRUXqA3K-6tddDlXQBVbpY4bgOHsbpUaseoZPNxqfFCL9t4QDT4gusk8uN83U0/s1600/hummingbird.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp_gzy3PbFTc_QBMcCiutv0-BhyQa3bjdD72CBRdzc8Wp18MWQ-LHrxXc3RNc-1AxYoEGqA8anagJ0mGRUXqA3K-6tddDlXQBVbpY4bgOHsbpUaseoZPNxqfFCL9t4QDT4gusk8uN83U0/s320/hummingbird.jpg" /></a>

<a rel="lytebox[birds]" title="Hummingbird 2" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWS8PtuI9SIhy73IX0tcug77Zf0wgyuwNhHqS45zW3uMby9aUDbi91M4kqO-2J9Rzcl3qVlmg8J7FjvoW-c_90ryL1nvzjJfNqz4xoYseElY0PT-RJTi_i0bYR3FO8r90ADpf36DezZVI/s1600/hummingbird2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWS8PtuI9SIhy73IX0tcug77Zf0wgyuwNhHqS45zW3uMby9aUDbi91M4kqO-2J9Rzcl3qVlmg8J7FjvoW-c_90ryL1nvzjJfNqz4xoYseElY0PT-RJTi_i0bYR3FO8r90ADpf36DezZVI/s320/hummingbird2.jpg" /></a>

For slideshow:
Same implementation like for the group of images but you will need to use lyteshow instead of lytebox.
Add rel="lyteshow[album_name]" title="Caption" after <a

Example code:
<a rel="lyteshow[birds]" title="Hummingbird 1" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp_gzy3PbFTc_QBMcCiutv0-BhyQa3bjdD72CBRdzc8Wp18MWQ-LHrxXc3RNc-1AxYoEGqA8anagJ0mGRUXqA3K-6tddDlXQBVbpY4bgOHsbpUaseoZPNxqfFCL9t4QDT4gusk8uN83U0/s1600/hummingbird.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp_gzy3PbFTc_QBMcCiutv0-BhyQa3bjdD72CBRdzc8Wp18MWQ-LHrxXc3RNc-1AxYoEGqA8anagJ0mGRUXqA3K-6tddDlXQBVbpY4bgOHsbpUaseoZPNxqfFCL9t4QDT4gusk8uN83U0/s320/hummingbird.jpg" /></a>

<a rel="lyteshow[birds]" title="Hummingbird 2" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWS8PtuI9SIhy73IX0tcug77Zf0wgyuwNhHqS45zW3uMby9aUDbi91M4kqO-2J9Rzcl3qVlmg8J7FjvoW-c_90ryL1nvzjJfNqz4xoYseElY0PT-RJTi_i0bYR3FO8r90ADpf36DezZVI/s1600/hummingbird2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWS8PtuI9SIhy73IX0tcug77Zf0wgyuwNhHqS45zW3uMby9aUDbi91M4kqO-2J9Rzcl3qVlmg8J7FjvoW-c_90ryL1nvzjJfNqz4xoYseElY0PT-RJTi_i0bYR3FO8r90ADpf36DezZVI/s320/hummingbird2.jpg" /></a>

Bonus Feature:
The lytebox does not only allows you to display images inside a box, it also allows you to display websites.

Here's a demo for google.com
Google Search

Here's the code for the above example,
<a href="http://www.google.com" rel="lyteframe" title="Search Google" rev="width: 640px; height: 380px; scrolling: auto;">Google Search</a>

The rev controls the width, height and scrolling of the box, if this is omitted, the default width and height will be set to 400px and the scrolling will be set to auto.

Here's another demo with google.com without using rev.
Google Search

and the code,
<a href="http://www.google.com" rel="lyteframe" title="Search Google">Google Search</a>










What are the benefits of being a subscriber?
All subscribers will get these updates directly from their email.
  • Blogging/SEO tips and tutorials
  • Technology news and tips
  • Computer tips, guides and optimizations
  • Gaming tips, tricks and cheat guides
  • Online money making tips
If you wish to subscribe, just fill up the form below:
Email address:
Lijit Search

Followers

Translate

Blogging, Computers, Internet, Games, Make Money Online.