Image orientation in MS Visual Studio for the web.

jampost
jampost used Ask the Experts™
on
I have a simple problem of image orientation in MS Visual Studio 2012. I just need to rotate the image -90 (1/4 turn to the right). This is easily done in any other software. See the code below. There is also an attached screen shot.

<body>
    <form id="form1" runat="server" class="auto-style1">
<img src="Images/J_M__Logo_V4.png" class="auto-style2" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
<img src="Images/equipment.png" class="auto-style3" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="Images/IMG_4243.jpg" class="auto-style3"/>&nbsp;
<img src="Images/equip_sample.png" class="auto-style4" />
<img src="Images/Amaya_XT.jpg" class="auto-style3" />&nbsp;<img src="Images/2ncs.jpg" class="auto-style3" />

    </form>
image.docx
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Director, Information Systems
Commented:
This can be done one of two ways:

1) Rotate the image in an image-editing product and use the rotated image in your web page, or

2) Use CSS transforms to rotate the image dynamically.

The advantage of using CSS is that you can change the rotation on the fly, whenever you see fit.
jampostGeneral Maanager

Author

Commented:
Thank you Paul.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial