M
Murdoc
Hi all,
I am currently using the server-side Image control to display images, with the image paths being
stored in an SQL database. Everything is working fine, but I have run into a small problem with the
image sizes. Currently, some images are smaller than others, and when they are displayed in the
control, they are stretched, and hence distorted.
Is there any way I can automatically centre the image without changing the size of the control? The
only other options I would have then, would be either modifying the size of the control for each
image, or resizing all the images.
--
Murdoc
; =================================
"Insanity in individuals is something rare - but in groups, parties, nations and epochs, it is the
rule."
-- Friedrich Nietzsche
"All Congresses and Parliaments have a kindly feeling for idiots, and a compassion for them, on
account of personal experience and heredity."
-- Mark Twain
"A single death is a tragedy, a million deaths is a statistic."
-- Joseph Stalin
I am currently using the server-side Image control to display images, with the image paths being
stored in an SQL database. Everything is working fine, but I have run into a small problem with the
image sizes. Currently, some images are smaller than others, and when they are displayed in the
control, they are stretched, and hence distorted.
Is there any way I can automatically centre the image without changing the size of the control? The
only other options I would have then, would be either modifying the size of the control for each
image, or resizing all the images.
--
Murdoc
; =================================
"Insanity in individuals is something rare - but in groups, parties, nations and epochs, it is the
rule."
-- Friedrich Nietzsche
"All Congresses and Parliaments have a kindly feeling for idiots, and a compassion for them, on
account of personal experience and heredity."
-- Mark Twain
"A single death is a tragedy, a million deaths is a statistic."
-- Joseph Stalin