Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Rotate an image by given angle before displaying

    I need to rotate a single image by 90 degree acw before I display the image on the page.

    I do not want to create a second image file that has been rotated in a photo editor.

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Supasoft
    I need to rotate a single image by 90 degree
    you cannot do this client-side without ActiveX (Win IE only). you really need a serverside language to do this!
    *keep it simple (TM)

  • #3
    New Coder
    Join Date
    Dec 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts
    FYI: Filters, Transitions, and VML are not ActiveX objects.

  • #4
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by equimere
    FYI: Filters, Transitions, and VML are not ActiveX objects.
    yes, they are. VML maybe not, but the rest are! in anycase, they're all WinIE only
    *keep it simple (TM)

  • #5
    New Coder
    Join Date
    Dec 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Binary behaviors, to be specific... well ok everything IE is an ActiveX object (in one way or another), yet safe-for-scripting controls and behaviors are enabled normally.

  • #6
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Pls try the following,


    <img name="images2" src="yourphoto.jpeg">
    images2.style.filter = 'progidXImageTransform.Microsoft.BasicImage(Rotation=1)';

    Rotation value = 0,1,2,3 => 0 90 180 270 clockwise.


  •  

    Posting Permissions

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