Announcement

Collapse
No announcement yet.

Image Zoom in & Out

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Image Zoom in & Out

    Hi everyone.. i have tried this codes from this link:
    https://forums.indigorose.com/forum/...out#post168124
    code credit to RizlaUK

    can anyone help me how to make the image always in a proportion after zoom in and out?
    i want to make the image always in the same aspec ratio as the original size.
    Anyway use Mouse wheel to.

    if anyone can help also to make it in propotion even if the image will position in any part of the page..

    Thanks

    Telco

  • #2
    Here is the apz... thanks
    Attached Files

    Comment


    • #3
      IMAGE ZOOM IN OUT.zip

      Comment


      • #4
        Hi herrin thanks but nothing happen still the same.. you just put the center function into timer..
        my problem is after zooming out is the image become not equal in size.. i want it to remain in aspect ratio..

        Thanks anyways...
        Attached Files

        Comment


        • #5
          Hi telco
          after zooming out is the image become not equal in size.. i want it to remain in aspect ratio..
          That is actually aspect ratio W compared to H
          Try this one that changes image to the largest size of either width or height then resizes

          [ATTACH]n307524[/ATTACH]
          Cheers
          Attached Files

          Comment


          • #6
            That's all folks!
            Thanks colc.

            Click image for larger version

Name:	Daffy-Duck-Flying.gif
Views:	86
Size:	34.2 KB
ID:	307527



            Attached Files

            Comment


            • #7
              Credit to:
              http://dempseydancer.blogspot.com/

              Comment


              • #8
                colc thanks ma friend.. this is it..
                thank you for your help...

                Stay safe everyone...

                Comment

                Working...
                X