Wrox Programmer Forums
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design 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 13th, 2007, 10:23 PM
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.......

I have taken a datalist control......In that I'm displaying number of images by getting their path from database......The problem is the image's height and width......I'm not getting the original shape of my image in .....I mean I'm not getting the exact height and width of the image......I'm getting the image based on the properties (height & width) of the imagebutton (or) imagemap........
If I take the image of rectangular shape ...I'm getting in square(As the image button property) format.....what I have to do ......plz suggets me a fine solution.........

Old September 14th, 2007, 11:20 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

...I have no idea what you are talking about.

If you are asking how to get an images width and height at runtime you could load the image into a Bitmap object and get the image width and height from the bitmap object.


================================================== =========
Read this if you want to know how to get a correct reply for your question:
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with images...... kethireddy435 ASP.NET 2.0 Basics 2 September 17th, 2007 11:37 PM
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.