Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 November 16th, 2006, 01:21 AM
Authorized User
 
Join Date: Oct 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Determine an Image dimension - ASP

Anyone knows how to determine an image's dimension using Classic ASP?

Like How do I know the width, Height of this image using ASP?

http://www.google.co.in/intl/en_com/...logo_plain.png


Thanx

-----------------------------------------------
www.chargertek.in - Cheapest WebHosting
__________________
-----------------------------------------------
www.chargertek.in - Cheapest WebHosting
 
Old November 20th, 2006, 07:42 AM
Registered User
 
Join Date: Aug 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to albertindian2000
Default

use aspjpeg component

Albert Arul Prakash
http://www.bepenfriends.com
 
Old November 21st, 2006, 09:50 AM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I should have code available shortly and will post.

Saves spending out on a 3rd party component.

Regards,

Sean Anderson
 
Old November 21st, 2006, 10:48 AM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ooops, seems my colleague has changed his email address.

My immediate thought when I read this was that you could determine the dimension in Javascript and pass them to an ASP page, which would be easy enough...

<img name="img" src="....">

with

document.all.item("img").height
document.all.item("img").width

Regards,

Sean Anderson





Similar Threads
Thread Thread Starter Forum Replies Last Post
set image on <asp:Image> stored in DataBase myself.panku ASP.NET 2.0 Professional 1 August 11th, 2008 10:41 AM
Determine image weight YoungLuke C# 4 November 26th, 2007 05:34 PM
Dimension Hierarchies Not Working orangepower SQL Server 2005 1 December 14th, 2006 03:41 PM
Date Dimension mtullock SQL Server 2000 5 August 31st, 2006 09:33 AM
One dimension array. Wenggo C# 5 August 18th, 2006 02:39 AM





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