Create CSS popup Image Viewer in Blogger

by Deineshd on May 21, 2008

Share


The image is small in the webpage but seen bigger when you hower the image.Isn’t it interesting?Yes.Bloganol brings you the greatest image hack.This popup image viewer is good for those blogger who like to place more images in their blog posts but wants less area to be occupied and wants image seen clear.

Demo: Hover the following thumbnail Images with your Mouse Pointer.If it doesn’t work then visit this demo page link.

mount everest Create CSS popup Image Viewer in Bloggermount everest Create CSS popup Image Viewer in Blogger
Simply beautiful.
15 19 8   Tree  Northumberland web Create CSS popup Image Viewer in Blogger15 19 8   Tree  Northumberland web Create CSS popup Image Viewer in Blogger
So real, it’s unreal. Or is it?

Installation of this widget is not so hard. First of all copy the following CSS code to the head section of your blog.

<style type="text/css">

.thumbnail{position: relative;z-index: 0;}

.thumbnail:hover{background-color: transparent;z-index: 50;}

.thumbnail span{ /*CSS for enlarged image*/position: absolute;background-color: lightyellow;padding: 5px;left: -1000px;border: 1px dashed gray;visibility: hidden;color: black;text-decoration: none;}

.thumbnail span img{ /*CSS for enlarged image*/border-width: 0;padding: 2px;}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/visibility: visible;top: 0;left: 60px; /*position where enlarged image should offset horizontally */

}

</style>

And the second and Last step is to copy the following html codes and paste it to your blog either while posting or in your sidebar adding a new page Element.

<a class="thumbnail" href="#thumb"><img src="Image Url" width="100px" height="66px" border="0" /><span><img src="Image Url" /><br />Simply beautiful.</span></a>

<a class="thumbnail" href="#thumb"><img src="Image Url" width="100px" height="66px" border="0" /><span><img src="Image Url" /><br />So real, it's unreal. Or is it?</span></a>

In the above code replace Image Url with your Image Url .

If you got any problem , not satisfied or liked this post then please leave a comment on this post.

Consider to Subscribe to our RSS feed or Follow us at Twitter or Join our Facebook Fan Page.Enter your Email below to subscribe to our updates via Email.

Enter your email address:

Delivered by FeedBurner

Similar Posts

Powered by Thesis

Thesis Theme

An amazing WordPress Theme, nothing beats the versatility and SEO friendliness of the Thesis framework.

From beginners, to the most advanced WordPress developers, Thesis makes it easy for anyone to customize it.

{ 11 comments… read them below or add one }

Lux June 13, 2008 at 10:40 am

This does not seems to work with Blogger. Can you please show some working demo you have tried with. I think # in #thumb is getting replaced with some value from blogger.

Please let me know if you have any thoughts on how to overcome this.

Reply

Deinesh June 14, 2008 at 2:54 am

@lux

yes it works with blogger you can see the demo in this page.

I have experimented this in this blog it works sure.

Reply

Helen M. Bascom June 30, 2008 at 2:14 am

This works beautifully. Thank you thank you thank you!

Reply

LiveScore99.com September 3, 2008 at 8:15 pm

Yes, it works for blogger, BUT

“position where enlarged image should offset horizontally”

I can not view “full” pics since it block by the sidebar…. help me..

email me: Jayeason@gmail.com

Thanks!

Reply

chris September 15, 2008 at 7:25 am

is there a way to make this work in myspace?
if so, how?
thanks

email me: sktilez@yahoo.com

Reply

Anonymous June 4, 2009 at 5:57 pm

Is there a way to make this work with an image map instead of an image URL? Please help!

Reply

Anonymous June 4, 2009 at 5:58 pm

Is there a way to make this work with an image map instead of an image URL? Please help! thanks!

Reply

MoviesArab December 22, 2009 at 5:44 am

Thanks for the great effort but the work of a special code for each image will be difficult favored if there is any script automatically generates code
.-= MoviesArab´s last blog ..10 ????? ????? ????? ?????? ??????? ??????? ?? 2009 =-.

Reply

pollabs March 11, 2010 at 7:42 am

This is great! cool..thanks..You may also want to take a look at Lightbox for blogs.
Use Light Box as Image Viewer for Blogger Photos
Tutorial on
http://pollabs.blogspot.com/2010/03/use-light-box-as-image-viewer-for.html

Reply

Larry Brown May 11, 2010 at 12:17 am

nice article. i admire your writing abilities. you write and do your research well. this is actually my first time to visit your site and i will be following your from now on. thanks!

Reply

bud glass vase May 17, 2010 at 1:09 pm

Hey – incredible using the net, just looking all around some web, may seem a rather important platform you could be using. I’m at the moment using Wordpress for a number of of my specifics but looking to switch one of them through out to a platform similar to yours for a trial run. Anything in individual you should recommend about this?

Reply

Leave a Comment

Previous post:

Next post: