Hi there,

I'm currently making an iPhone optimized website using the WPtouch plugin for Wordpress.

The issue I'm facing though is that on this page ( - only visible on iPhone or mobile device) I have an image that is the full width of the page when the phone is held vertically. When you flip the phone horizontally however, the photo width is obviously now too small.

Is there some code that you can add to an <img> tag to change the width and height of an image depending on which way the phone is being held?

Any help would be greatly appreciated.

Ignore me, it was incredibly easy! :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.