Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic 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 June 9th, 2005, 11:52 PM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default controlling images

Hi,
I have an images in a page as thumbnail on which if I click the image it should open in a new window which will be exactly the size of the actual size of the image. Opening a new window is not a problem but how can I get the exact size of the image to resize my new window.
 
Old June 10th, 2005, 11:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

First you may set/reduce your image actual size which you want to open that size.
you may set your image in photoshop/firework.

regards
 
Old June 10th, 2005, 11:24 PM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I have my images stored in the server which are being displayed through a page and I am showing thumbnails of the images. I need some ASP object or function which traps the size of the image from the server, then only I can set the size of the new window I wish to open.
 
Old June 15th, 2005, 03:48 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

I am not sure if you can find the width and height of image. You may have a look at the following links

http://www.aspupload.com/manual_image.html
http://www.vpwsys.net/support/refere...ze-Example.asp
http://www.brizsoft.com/asp/thumb/manual.html

The best way would be to store the images in fixed sizes and have the window size to fixed to fit the image in. Will still search on the net to see I find something useful to you.

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Images from and Save Images to a Database cyndie VB.NET 2 August 17th, 2008 06:42 AM
Controlling Print Jobs nep23 C++ Programming 1 February 5th, 2007 08:32 AM
Controlling Print with Javascript arnabghosh Javascript How-To 1 August 10th, 2005 08:21 AM
Controlling Applications from within Excel MykalMatheson Excel VBA 1 April 25th, 2005 07:49 AM
Controlling InternetExplorer jamie_t VB How-To 2 March 15th, 2005 07:22 AM





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