admin管理员组文章数量:1356914
I have to develop an image viewer application. The designed application should have the following features
- Zoom in functionality
- Zoom out functionality
- Magnifying functionality
- Pan functionality
- Image overview functionality
I have to develop the application in Asp application. I have the following questions
- What will be the better method to develop such application , I mean Whether it is implemented using Asp controls or standard HTML controls
- Have any scope of HTML5 in developing such application?
- Can i get any customizable open source project written in javascript or jQuery?
I have to develop an image viewer application. The designed application should have the following features
- Zoom in functionality
- Zoom out functionality
- Magnifying functionality
- Pan functionality
- Image overview functionality
I have to develop the application in Asp application. I have the following questions
- What will be the better method to develop such application , I mean Whether it is implemented using Asp controls or standard HTML controls
- Have any scope of HTML5 in developing such application?
- Can i get any customizable open source project written in javascript or jQuery?
- Are you looking for something like this: vectorflower./preview/smooth_zoom/full_screen.html – Rob Angelier Commented Sep 20, 2012 at 6:03
- Yea. It's ok. But it is licensed. Can i get any guidelines to build such an application – KiranPalode Commented Sep 20, 2012 at 6:23
2 Answers
Reset to default 3My answers to your questions:
- I would use HTML, since you don't need anything from the server.
- There is, you can search google for info.
- Look at the info below.
I would try the following steps:
- Look for examples of the required features.
- Strip these examples down and build them up again according to your requirements.
- Create a holder for the image. You can load the image from the server with jQuery and AJAX
- Implement controls for zooming, panning. Use the implementation you created in step 2
There is alot of information to be found on the internet. Some examples are:
Zooming
http://www.tripwiremagazine./2012/07/jquery-image-zoom.html
Panning
http://manos.malihu.gr/jquery-image-panning
Overview
http://www.designzzz./jquery-slide-show-image-gallery-tutorials-downloads/
Tutorial for pan and zooming with HTML5 canvas
http://my.safaribooksonline./book/web-development/html/9781449308032/images-on-the-canvas/zooming_and_panning_an_image
For me,
- I would use HTML,
- Use HTML5 and CSS3 if you can,
- Yes, there are plenty. Just type what you need. It seems what you are building is a image slider/gallery. Plenty of those on the web. Just look for it.
If you have to build it from scratch, what you could do is research, these css properties. scale, zoom, and transitions.
There you go, hope I pointed you in the right direction.
本文标签: javascriptImage viewer in html5Stack Overflow
版权声明:本文标题:javascript - Image viewer in html5 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743947476a2566672.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论