473,799 Members | 3,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

question on "true image resizing" article

Hello,
I'm hoping went through Scott Mitcell's article on true image resizing.
Looking through the article, it's not clear where to put the
"GetThumbNailIm age" method

http://aspnet.4guysfromrolla.com/articles/012203-1.aspx

Thanks!

Rudy
Nov 19 '05 #1
3 1206
With all due respect, have you read Page 2? This explains it quite nicely.
http://aspnet.4guysfromrolla.com/art...12203-1.2.aspx

To generalize:
WebForm1.aspx
- contains the <img src="ShowImage. aspx?img={filen ame here}">

ShowImage.aspx
- the Page_Load event contains the code for resizing an image and displaying
the produced thumbnail

HTH,
Jody
"Rudy" <Ru**@discussio ns.microsoft.co m> wrote in message
news:29******** *************** ***********@mic rosoft.com...
Hello,
I'm hoping went through Scott Mitcell's article on true image resizing.
Looking through the article, it's not clear where to put the
"GetThumbNailIm age" method

http://aspnet.4guysfromrolla.com/articles/012203-1.aspx

Thanks!

Rudy

Nov 19 '05 #2
Thanks Jody! I worked off a printed copy, somehow pg 2 was missing and so I
didn't relize it. Thanks!

"Jody Gelowitz" wrote:
With all due respect, have you read Page 2? This explains it quite nicely.
http://aspnet.4guysfromrolla.com/art...12203-1.2.aspx

To generalize:
WebForm1.aspx
- contains the <img src="ShowImage. aspx?img={filen ame here}">

ShowImage.aspx
- the Page_Load event contains the code for resizing an image and displaying
the produced thumbnail

HTH,
Jody
"Rudy" <Ru**@discussio ns.microsoft.co m> wrote in message
news:29******** *************** ***********@mic rosoft.com...
Hello,
I'm hoping went through Scott Mitcell's article on true image resizing.
Looking through the article, it's not clear where to put the
"GetThumbNailIm age" method

http://aspnet.4guysfromrolla.com/articles/012203-1.aspx

Thanks!

Rudy


Nov 19 '05 #3
> - the Page_Load event contains the code for resizing an image and
displaying
the produced thumbnail


As a side note, creating an ASPX page for this sort of thing os overkill
and slightly less efficient than implementing your own HttpHandler. Here's
a [pre-built] sample that implements a handler and does the thumbnail resizing:

http://staff.develop.com/ballen/blog...8-9aff48bf2481

-Brock
DevelopMentor
http://staff.develop.com/ballen

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
18784
by: Jawahar Rajan | last post by:
All, I am using a few Input type of "Image" instead of a classic submit button in a form to achieve various tasks for example image1 - add user image2 - modify user image3 - delete user image4 - reSet user.
5
3049
by: Roger Shrubber | last post by:
I have a page with images that the user can drag from one frame to another. I need them to see a "ghost image" of the image they are dragging, while the original stays put. I use the onmousemove event to keep the ghost image under the mouse pointer. There are three problems: (1) if the ghost image is dragged so it is partially off the edge of the screen, scrollbars appear. This not only looks bad, it can cause the page to autoscroll...
8
3159
by: Bob Bonn | last post by:
Upon loading a page, I'd like a narrow image to rise up from the bottom of the screen, along the left-hand side, and then stop at a given point. I'd like to be able to choose the rate of ascent (because too fast would look awful, and too slow would be, well, too slow). After it reaches its destination, it wouldn't move again. I assumed there would be a javascript for this. However, I've searched all my favorite sites, but there...
8
78173
by: al | last post by:
Hi, I've been trying to create a image mouseOver effect using CSS - is this possible? Or will I have to use DIV tags or something along those lines? I've tried a number of things - the code below will work for the border no problem, but I can't seem to get the SRC to work - is this not an option in CSS?
6
3140
by: Meena Desai | last post by:
Hi, What are the effects of using <identity impersonate="true"/> in web.config on windows auhtentication? Does it affect windows security? Thanx in advance, Meena.
3
1580
by: Angelo Brusati | last post by:
When using VB6 COM objects on a ASP.NET page, and having the @Page directive with the AspCompat attribute set to true, it causes an error like "Method '~' of object '~' failed" or "Object reference not set to an instance of an object". The scenario is: - Windows 2003 server - IIS6 - Framework 1.1
9
3055
by: Oliver Block | last post by:
Hi, what is the most elegent way to center an image inside a web page. The image is radomly chosen by a cgi script may be 300x400 or 400x300. Are there any alignment commands for images?
1
2015
by: mmcc128 | last post by:
Currently using the "document.images" to "preload" images - not for future pages, but for the page being loaded. I got it from http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm Its a nice script - pops up an img on mouseover. I understand that its downloading SOMETHING - but its not rendering.... THE QUESTION: How does "preloading" these images (into cache, as I have read) affect page size, page load, etc. I cannot find...
9
11194
by: Jamey Bon | last post by:
As a newbie to C#, I am not sure what I can do about this. I would like to do something like an Enumeration to use "constants" like Yes to indicate true and No for false. But since there seems to be no underlying 0 or non- zero for boolean values in C#, I am not sure how to handle this. Any advice would be appreciated. Thanks, JB
0
9544
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10259
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10238
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9077
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.