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="http://4.bp.blogspot.com/_9ynZ1LviUi0/Sz8meHE2cGI/AAAAAAAAByc/GrdQhRFmWb0/s1600-h/hummingbird.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_9ynZ1LviUi0/Sz8meHE2cGI/AAAAAAAAByc/GrdQhRFmWb0/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="http://4.bp.blogspot.com/_9ynZ1LviUi0/Sz8meHE2cGI/AAAAAAAAByc/GrdQhRFmWb0/s1600/hummingbird.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_9ynZ1LviUi0/Sz8meHE2cGI/AAAAAAAAByc/GrdQhRFmWb0/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="http://4.bp.blogspot.com/_9ynZ1LviUi0/Sz8meHE2cGI/AAAAAAAAByc/GrdQhRFmWb0/s1600/hummingbird.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_9ynZ1LviUi0/Sz8meHE2cGI/AAAAAAAAByc/GrdQhRFmWb0/s320/hummingbird.jpg" /></a>

<a rel="lytebox[birds]" title="Hummingbird 2" href="http://3.bp.blogspot.com/_9ynZ1LviUi0/Sz8oQ-G2TCI/AAAAAAAAByk/J8a-HGbpS9w/s1600/hummingbird2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_9ynZ1LviUi0/Sz8oQ-G2TCI/AAAAAAAAByk/J8a-HGbpS9w/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="http://4.bp.blogspot.com/_9ynZ1LviUi0/Sz8meHE2cGI/AAAAAAAAByc/GrdQhRFmWb0/s1600/hummingbird.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_9ynZ1LviUi0/Sz8meHE2cGI/AAAAAAAAByc/GrdQhRFmWb0/s320/hummingbird.jpg" /></a>

<a rel="lyteshow[birds]" title="Hummingbird 2" href="http://3.bp.blogspot.com/_9ynZ1LviUi0/Sz8oQ-G2TCI/AAAAAAAAByk/J8a-HGbpS9w/s1600/hummingbird2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_9ynZ1LviUi0/Sz8oQ-G2TCI/AAAAAAAAByk/J8a-HGbpS9w/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