Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hello Dear Friends,
Today I am here again with some problems
1 : I am designing a static website.and I want the followings thing

A: When I click on my image then my image zoom in size.and a control box also must be there.


Note :----

I am not asking how to click image and image open in new full page,
I am asking click on image and image zoom in size,
such like Facebook Images...
Posted

Check out lightbox[^]
 
Share this answer
 
Comments
prince_rumeel 4-Oct-11 2:52am    
i had seen that before and i am using that too.
but that in not like facebook.
i want like facebook.

plz hlp me...
Prerak Patel 4-Oct-11 2:56am    
What do you mean by "like facebook"? Check the second sample "Image set". Like facebook, it shows image, let you navigate to prev/next, what else? You can customize lightbox as per your requirement.
raj ch 4-Oct-11 3:17am    
nice link prerak patel
I have no idea what's your image is; and most likely my idea will be an alternative one: use vector graphics, SVG (Scalable Vector Graphics, http://en.wikipedia.org/wiki/Svg[^]).

To best of my knowledge, this is the only widely used 2D vector standard fully standardized by W3, http://www.w3.org/Graphics/SVG/[^].

Most code samples show how to use it in JavaScript, which is important but not a main point. As of HTML5 standard, it cannot be directly embedded in HTML, which is already supported by all decent Web browsers, such as Mozilla (Firefox and SeaMonkey), Google Chrome and others. When it's not supported in this way, it's supported using <embed> or <object> tags.

It is very easy to scale it. It's also easy to make it fill some region, center on page with scaling to certain percent of the page width, print with scaling, scrolling, etc., not mentioning scaling by some optional factor.

One of the best and powerful methods of creating SVG imaging is using Open Source Inkscape, http://en.wikipedia.org/wiki/Inkscape[^], http://www.inkscape.org/[^].

Just look at some galleries: http://wiki.inkscape.org/wiki/index.php/Galleries[^]. Some images are of nearly shocking photo-realistic quality.

Best thing is: it can export as XAML, which can also be used on a Web page, even though is has narrower feature set (so only some subset of SVG images will render).

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900