By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

Display larger size image

P: n/a
Hi All,

I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image size so i'm not able to see the complete image.i
can use scroll bars to view the image but i need to rotate the image
and the see the result everytime.

For this my boss has given me suggestion to display only 20% of the
image on window ,and rotation has to be applied to original copy.

can someone explain me how to proceed with this problem.

With regards,
Deepa.
Jul 20 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a
Deepa wrote:
I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image
That is a massive image, I don't know of any screens that go anywhere
near that size. It would also mean that the image file is huge. I hope
your not intending to send that to users on the Internet. An intranet
may be ok, but an average user, especially on dial up, will have to wait
a long time to download it.
can use scroll bars to view the image but i need to rotate the image
and the see the result everytime.
So, use an image editor to rotate the image. Other than that, you'd
have to use server side processing to rotate it, and then send it back
to the user as a new image. There is no way to rotate an image in HTML.
There may be in CSS (I know there's text rotation in CSS3) but nothing
that's supported.
For this my boss has given me suggestion to display only 20% of the
image on window ,and rotation has to be applied to original copy.


You can use CSS height and width properties to change the size of the
image, or HTML's height and width attributes for <img/>, but if this is
going to be sent over the internet I suggest generating a thumbnail
(with server side processing) so the user can decide on the orientation
and then view the full size image. Also, browsers such as Mozilla
automatically rezise the image fit the window when not viewed within a
web page. That may be an easier option, but requires the user to have a
browser that supports that feature.

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 20 '05 #2

P: n/a
Deepa wrote:
I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image
That is a massive image, I don't know of any screens that go anywhere
near that size. It would also mean that the image file is huge. I hope
your not intending to send that to users on the Internet. An intranet
may be ok, but an average user, especially on dial up, will have to wait
a long time to download it.
can use scroll bars to view the image but i need to rotate the image
and the see the result everytime.
So, use an image editor to rotate the image. Other than that, you'd
have to use server side processing to rotate it, and then send it back
to the user as a new image. There is no way to rotate an image in HTML.
There may be in CSS (I know there's text rotation in CSS3) but nothing
that's supported.
For this my boss has given me suggestion to display only 20% of the
image on window ,and rotation has to be applied to original copy.


You can use CSS height and width properties to change the size of the
image, or HTML's height and width attributes for <img/>, but if this is
going to be sent over the internet I suggest generating a thumbnail
(with server side processing) so the user can decide on the orientation
and then view the full size image. Also, browsers such as Mozilla
automatically rezise the image fit the window when not viewed within a
web page. That may be an easier option, but requires the user to have a
browser that supports that feature.

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 20 '05 #3

P: n/a
Deepa wrote:
I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image
That is a massive image, I don't know of any screens that go anywhere
near that size. It would also mean that the image file is huge. I hope
your not intending to send that to users on the Internet. An intranet
may be ok, but an average user, especially on dial up, will have to wait
a long time to download it.
can use scroll bars to view the image but i need to rotate the image
and the see the result everytime.
So, use an image editor to rotate the image. Other than that, you'd
have to use server side processing to rotate it, and then send it back
to the user as a new image. There is no way to rotate an image in HTML.
There may be in CSS (I know there's text rotation in CSS3) but nothing
that's supported.
For this my boss has given me suggestion to display only 20% of the
image on window ,and rotation has to be applied to original copy.


You can use CSS height and width properties to change the size of the
image, or HTML's height and width attributes for <img/>, but if this is
going to be sent over the internet I suggest generating a thumbnail
(with server side processing) so the user can decide on the orientation
and then view the full size image. Also, browsers such as Mozilla
automatically rezise the image fit the window when not viewed within a
web page. That may be an easier option, but requires the user to have a
browser that supports that feature.

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 20 '05 #4

P: n/a
Deepa wrote:
I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image
That is a massive image, I don't know of any screens that go anywhere
near that size. It would also mean that the image file is huge. I hope
your not intending to send that to users on the Internet. An intranet
may be ok, but an average user, especially on dial up, will have to wait
a long time to download it.
can use scroll bars to view the image but i need to rotate the image
and the see the result everytime.
So, use an image editor to rotate the image. Other than that, you'd
have to use server side processing to rotate it, and then send it back
to the user as a new image. There is no way to rotate an image in HTML.
There may be in CSS (I know there's text rotation in CSS3) but nothing
that's supported.
For this my boss has given me suggestion to display only 20% of the
image on window ,and rotation has to be applied to original copy.


You can use CSS height and width properties to change the size of the
image, or HTML's height and width attributes for <img/>, but if this is
going to be sent over the internet I suggest generating a thumbnail
(with server side processing) so the user can decide on the orientation
and then view the full size image. Also, browsers such as Mozilla
automatically rezise the image fit the window when not viewed within a
web page. That may be an easier option, but requires the user to have a
browser that supports that feature.

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 20 '05 #5

P: n/a
Lachlan Hunt <la**********@lachy.id.au.invalid> wrote in
news:41**************@lachy.id.au.invalid:
Deepa wrote:
I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image


That is a massive image, I don't know of any screens that go [...

snip]

Nice quadruple post!
--
In a room with thirty-seven people, never have everybody shake each other's
hand.
Jul 20 '05 #6

P: n/a
Lachlan Hunt <la**********@lachy.id.au.invalid> wrote:
I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image
That is a massive image, I don't know of any screens that go anywhere
near that size. It would also mean that the image file is huge.


Not necessarily, it's possible to create a 5000 x 5000 pixel image with
a relatively modest file size.
I hope your not intending to send that to users on the Internet.


Most inappropriate indeed, but because an image that size will require a
huge amount of memory when unpacked on the client system.

--
Spartanicus
Jul 20 '05 #7

P: n/a
Sam Hughes wrote:

Nice quadruple post!


That was completely unintentional, I apologise. I kept recieving
errors that it was not sending, and when I checked the message was not
there, so I gave up thinking it was not even going to make it. I guess
my ISPs news server was having problems.

--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 20 '05 #8

P: n/a
Spartanicus wrote:
Lachlan Hunt <la**********@lachy.id.au.invalid> wrote:

I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image


That is a massive image, I don't know of any screens that go anywhere
near that size. It would also mean that the image file is huge.

Not necessarily, it's possible to create a 5000 x 5000 pixel image with
a relatively modest file size.


Of course, but it depends what it is. I'm assuming that any image that
needs to be that size needs to be something with a lot of detail, such
as a photo which will make it quite large. I've seen large photos used,
and it is appropriate sometimes. For example, Intel provides high res
photos of some of their motherboards. This one [1] is 3300 × 2200, and
it's 3134.86 KB. It took me 12 seconds to download that on a cable
connection, reaching nearly 2Mbps. Imagine how long that will take on a
dial up connection at less than 56kbps. I'd guess about 10-15 minutes
from past experience when I was on dial up a few years ago.
I hope your not intending to send that to users on the Internet.

Most inappropriate indeed, but because an image that size will require a
huge amount of memory when unpacked on the client system.


Perhaps I should have made myself clearer. It is ok to send large files
to users as long as they are aware of the size, the time it will take to
download and have chosen to do so. If, however, you wish to provide a
way for the user to rotate the image (which requries server side
processing) then it's very inappropriate to send the full size image
each time over the internet. An intranet may be acceptible when
everyone is on a LAN and it's not going to cause excessive network
traffic. It's better to use a thumbnail and let the user pick the
orientation first, before downloading. Or, it may be just as easy to
provide one image and allow the user to save and rotate the image using
any image editor/viewer.

[1] http://www.intel.com/design/motherbd...D925XCV_lg.jpg
--
Lachlan Hunt
http://www.lachy.id.au/

Please direct all spam to ab***@127.0.0.1
Thank you.
Jul 20 '05 #9

P: n/a
On 6 Aug 2004 22:56:29 -0700, de*******@yahoo.com (Deepa) wrote:
I'm facing problem displaying image of size 5000X5000


Go to www.multimap.co.uk or similar sites with similar problems. There
are any number of technologies based on tiling that allow users to
scroll a suitably sized window around the whole image, with pan and
zoom controls. If you have budget to spend, there are many commercial
solutions for this, either server-side slicers and servers, or
client-side tiling browsers.

Why do these images need to be so big ? Could you just thumbnail them
smaller ? Are they print images, where you don't need this full
resolution for screen-only use.

Advising on a real solution would neeed more background.

--
Smert' spamionam
Jul 20 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.