CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.getting_started Tags:
Item Type: Date Entered: 6/5/2005 11:08:26 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 16 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"Peter Smith" <
NewsGroup User
Resize images6/5/2005 11:08:26 AM

0

I get my images form a webserver. These images may vary in dimensions (height and width).
I want to dynamically resize my image controls (server side) to ensure the images fits on the page properly. This means I want to resize images if they have a width greater than 250 pixels (without losing the height-width ratio).
So how can I get the height and width of an image which I load from the server? And does anyone have of the shelf code on how to maintain the ratio?
please mark answers as Answered and please post back solutions when you figure stuff out.

fight Google domination, use search.live.com
"wessamzeidan"
NewsGroup User
Re: Resize images6/5/2005 11:36:24 AM

0

check out this article
http://www.codeproject.com/csharp/imageresize.asp
Wessam Zeidan
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













php to asp.net question

message ticker for site

is "display:inline-block" tag non grata?

am i missing something?

beginner needs pointing in the right direction

.net pages don't work on my machine

hello

difference between <%@ reference and <%@ register (casting errors)

dynamic asp.net textboxes for each item in db?

more beginner oop -- why can't my class create a control on my page?

theory : how to implement an afilliate program website.

too many automatic redirections were attempted.

how to show today record?

asp developer ...struggling with asp.net...help please

upload files for users

ecommerce object

page notification for upgrading/fixing website - asp.net 1.1

using javiscript client side on a server control

retaining the values of two list boxes between postbacks

modifying pre compiled website

an error when display with ie and ff?

deleting uploaded files

how do you add a onclick link to a hyperlink when the hyperlink is in a datagrid

run a sql server job thru an aspx page

help : adding a new column to a datarow for a repeater control that is already bound to a datasource

booking seats - refresh other user's browser window

error after uploading

simple file upload question

global.asax events

how to disable a button onclick of itself, but it has to fire the event.

vs.net using .com default page

refreshing a form?

multiple dropdown lists driving one gridview

how to perform an non-query sql command?

setting an asp textbox.text = an asp dropdownlist.selectedvalue in javascript

dataset's slowing down my site?

server error in '/' application

problem with showing image in login page

aplication now crashes after ip address change

hit counter using server controls

fastest way to add table rows dynamically

how to make a sitemapdatasource to use a sitemapprovider defined in web.config?

how to do this with dataset

passing info from sql database to command to psexec

verifying a request is being made by the user

please help - retrieving session variable before pageload sub

uniqueid with @ instead of :

treeview data display error system.nullreferenceexception was unhandled by user code

acces denied error

search page

   
  Privacy | Contact Us
All Times Are GMT