Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 16th, 2007, 01:23 AM
Registered User
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to kethireddy435
Default problem with images......

Hi I'm displaying images using imagemap& image button ......The problem is I'm not getting exact height and width of the image at runtime.....I'm getting that image with the properties of imagebutton or imagemap..........I want to show that image in exact manner whatever the properties(height and width) of image button...

Old September 17th, 2007, 12:52 PM
Friend of Wrox
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts

what code are you using to display? It's hard to give more details without the code snippets that are including the images.


Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Old September 17th, 2007, 11:37 PM
Authorized User
Join Date: Aug 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to amit_mande@yahoo.com Send a message via AIM to amit_mande@yahoo.com Send a message via MSN to amit_mande@yahoo.com Send a message via Yahoo to amit_mande@yahoo.com

Just try this, this may work.

Go to the image folder and see the resoltion of your image.
It will look like this 300 x 200. That means 300 width and 200 is height and set these corresponding properties to 300 and 200.

You can see resolution of image by pointing your mouse pointer over your image.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with images....... kethireddy435 ASP.NET 1.x and 2.0 Application Design 1 September 14th, 2007 11:20 AM
Problem with Images in the MasterPage when .... kalchev ASP.NET 2.0 Basics 20 August 1st, 2007 03:58 PM
problem with images mattalec101 Xcode 1 June 7th, 2007 12:28 PM
Problem with images upload M.Poalim Beginning PHP 1 May 11th, 2007 07:25 PM
problem in getting images downloaded Mystic C# 0 July 6th, 2006 04:23 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.