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: 12 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:













how would you add two contentplaceholder with same name?

forms on content pages

using masterpage without design time feature..

cannot debug custom sitemap provider

can no longer edit content page when <td></td> is in content page

theme effecting menu control autoformat

any tool to build skins

2 quesions/issues

desgin mode unavailable for an aspx page that uses master page

use masters or not?

global.asax vb theme

accessing objects inside the master page from a calling form

make sitemapnode not clickable?

suggestions for preventing postback with master pages

passing session variables between content pages

"importing" master pages

re-registering same component for both master/placeholder pages

dynamic menu using .sitemap file

content holder - default pages

reference the title of the page directive into a master page

is there a way to make the wizard control databound?

textbox "text" property resets before button_click event

treeview html

linked horizontal and vertical menu controls

output cache a master page control

sitemappath control

using response.write where my page is a part of nested master pages set-up

some problems with master pages

how to get treenode which is checked and its child elements using javascript

how do we navigate using treeview postback?

treeview expand single path

multiple matser pages using a common code base?

site map disappears after a postback

hide treeview expander tooltip

masterpage - flickering

treeview persist state

problem using wizard control fields as insert parameters for objectdatasource

dividing webpages into rows and columns

about treeview control in asp.net 1.1

parser error in web with multi themes

themes + meta headers (head tags)

menu

menu item with image

add base href tag to a master page

masterpages and user controls

web user controls

treeview + sitemap +selectaction fails

format html source emitted by htmllink class

why isn´t the mastertype directive automaticly added?

menuitem and window.open

   
  Privacy | Contact Us
All Times Are GMT