Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003

    Landscape Orientation

    Is there a way to display an image on a wml page as landscape rather than portrait orientation? Eg. turning 7650/3650 sideways to view at full width?

    If so, can you share the code?

    I want to display automatically generated jpg images from web cams and landscape orientation will show more detail.

  2. #2
    Registered User
    Join Date
    Mar 2003

    RE: Landscape Orientation

    Argh. I did type out a nice long reply but the site died and lost my comments. I'm not rewriting it all so this will be very brief instead.

    The wml spec probably wont let you do this client side so you have your wml image element call a server side script instead. E.g. instead of src="myfile.jpg" you have src="myscript.cfm?i=myfile.jpg"

    This script rotates the image (e.g. in Cold Fusion use cfx_image) and returns the binary data with the appropriate image content-type.

    Hope this helps.


Posting Permissions

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