You Are Here:

Community: Developer Discussion Boards

#1 Old Landscape Orientation - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 1
mobilitymag
Offline
Registered User
Hi,
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.
Thanks,
John
Reply With Quote

#2 Old RE: Landscape Orientation - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 27
Eight888
Offline
Registered User
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.

8
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia