You have to do that in image manipulation software. When your digital camera
takes the photo, most store an orientation flag that programs like iPhoto
are smart enough to read and rotate the image for you automatically. In the
raw file though the image is still incorrectly stored.

There isn't a way to do this with JavaScript, but you could use say PHP and
the GD image library as well as exif_read() method to rotate them
pragmatically.

Cheers,
-js


On 4/13/07, Rhapidophyllum <[EMAIL PROTECTED]> wrote:


I have a lot of jpeg digital photos that display correctly in my local
photo software (Mac iPhoto). However, when displaying the vertical
photos
on a web page, they are oriented horizontally/sideways.

Is there a way to rotate the image so that it displays correctly?

Reply via email to