Resize image with slider pluging

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • bobbie
    Forum Member
    • Feb 2005
    • 770

    Resize image with slider pluging

    Does anyone have anything showing how to resize a image with the slider plugin? or is it doable ?
  • bobbie
    Forum Member
    • Feb 2005
    • 770

    #2
    Just a little bump incase some may know .

    Comment

    • yosik
      Indigo Rose Customer
      • Jun 2002
      • 1858

      #3
      Here is a small example.
      Check code in the onShow event and the slider object.

      Yossi
      Attached Files

      Comment

      • bobbie
        Forum Member
        • Feb 2005
        • 770

        #4
        Thank you yosik, do you know why it starts out at about 100x100 and not the full size of the picture?
        The image is 534x385
        I got it . had to go in and change the size in the plugin.
        Last edited by bobbie; 01-18-2007, 02:36 PM. Reason: typo

        Comment

        • RizlaUK
          Indigo Rose Customer
          • May 2006
          • 5552

          #5
          Thanks yosik, :yes i started working on a example for this when i saw Bobbies post, but i got nowere, and im kinda needing this for a project to
          Embrace change in your life, you never know, it could all work out for the best

          Comment

          • yosik
            Indigo Rose Customer
            • Jun 2002
            • 1858

            #6
            The range of the slider is, as default, from 0 to 100, so that is why your image size is so accordingly. What I would suggest is that you first read your image size the use the slider position as percentage (divide by 100) to control the image.
            Good luck
            Yossi

            Comment

            Working...
            X