SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zoom and Click Image

    I am more of an HTML / PHP and CSS person, but I have a requirement which will need javascript, rather than reinvent the wheel I have been looking for a tool which does the following:

    1. Display an image in an img element
    2. Allow the image to be zoomed in and out and scrolled in the same img element.
    3. Returns the co-ordinates of a double click converted to the position on the original image, so I can jump to a page for that area of the image.

    I have done a search on the web and found
    http://www.rborn.info/blog/moozoom/

    Which covers item 1 and 2, and works well on Firefox, but is very jerky on IE, and does not cover item 3.

    Is there another tool which works in a similar way? if not does any one know why the moozoom is jerky in IE?

    Thanks so much for your advice.

    Jane.

  2. #2
    SitePoint Member
    Join Date
    Apr 2009
    Location
    London, UK
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Magic Zoom is the original tool for doing image zoom. Co-ordinate output was added in version 2.0. Magic Zoom is now in version 3.1. Here are some examples.

    To get co-ordinates of the position where the image is clicked, use the API that is part of Magic Zoom. There is a good example in this demo zip file - open the file example13.html.
    Simply gorgeous: Zoom | Magnify | Enlarge | Slideshow

  3. #3
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your reply, I will take a look.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •