473,395 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Imaging in ASP.Net

I am using a separate aspx page that renders the graphics output to the
response.outputstream that takes a value from a session variable. In the
page that calls the image generation page twice setting the session variable
before setting the imageurl it displays both images but using the value set
for the last image.

How do you call an image output page more than once from another web page
passing different values?
Nov 18 '05 #1
3 924
If I understand you correctly, you're basically asking how to display more
than one image in a Page from the same image-rendering page, but getting
different versions of the image rendered? One solution we came up with is to
use a QueryString in the URL. The image-rendering page looks at the
QueryString, and acts accordingly. Example:

<img src="imagemaker.aspx?bgcolor=black&height=50&width =75">

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Robin" <ro*******@hotmail.com> wrote in message
news:#Q**************@TK2MSFTNGP11.phx.gbl...
I am using a separate aspx page that renders the graphics output to the
response.outputstream that takes a value from a session variable. In the
page that calls the image generation page twice setting the session variable before setting the imageurl it displays both images but using the value set for the last image.

How do you call an image output page more than once from another web page
passing different values?

Nov 18 '05 #2
Can the image source sent back to the client be made to not show the URL
that was used to create the image?

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
If I understand you correctly, you're basically asking how to display more
than one image in a Page from the same image-rendering page, but getting
different versions of the image rendered? One solution we came up with is to use a QueryString in the URL. The image-rendering page looks at the
QueryString, and acts accordingly. Example:

<img src="imagemaker.aspx?bgcolor=black&height=50&width =75">

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Robin" <ro*******@hotmail.com> wrote in message
news:#Q**************@TK2MSFTNGP11.phx.gbl...
I am using a separate aspx page that renders the graphics output to the
response.outputstream that takes a value from a session variable. In the
page that calls the image generation page twice setting the session

variable
before setting the imageurl it displays both images but using the value

set
for the last image.

How do you call an image output page more than once from another web page passing different values?


Nov 18 '05 #3
> Can the image source sent back to the client be made to not show the URL
that was used to create the image?
That would be more complicated, but possible. It would require a POST
request, rather than a GET, which means that somehow, your form would have
to do a POST operation in order to generate the images.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Robin" <ro*******@hotmail.com> wrote in message
news:u0**************@TK2MSFTNGP11.phx.gbl... Can the image source sent back to the client be made to not show the URL
that was used to create the image?

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
If I understand you correctly, you're basically asking how to display more
than one image in a Page from the same image-rendering page, but getting
different versions of the image rendered? One solution we came up with is
to
use a QueryString in the URL. The image-rendering page looks at the
QueryString, and acts accordingly. Example:

<img src="imagemaker.aspx?bgcolor=black&height=50&width =75">

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Robin" <ro*******@hotmail.com> wrote in message
news:#Q**************@TK2MSFTNGP11.phx.gbl...
I am using a separate aspx page that renders the graphics output to the response.outputstream that takes a value from a session variable. In the page that calls the image generation page twice setting the session

variable
before setting the imageurl it displays both images but using the

value set
for the last image.

How do you call an image output page more than once from another web

page passing different values?



Nov 18 '05 #4

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

Similar topics

1
by: Mark Nelson | last post by:
Hi I'm trying to build Imaging 1.1.4 in Solaris 9, I get passwd the first step i.e the building of libImging. However when I execute a python setup.py build I get the following error - gcc...
1
by: mark | last post by:
I feel fairly well versed in getting Tkinter to do what I want, but now I'm venturing into the whole imaging thing, and placing text and graphics over some static background image. I'm trying to...
2
by: Richard | last post by:
In the days of VB6 I would often use the Wang/Kodak Imaging control that ships with Windows to process TIFF files. Drop the ocx on a form and TIFF file manipulation is all very easy. So how do...
0
by: MC | last post by:
Hi, I'm developing an VB.NET app that converts TIFFs to PDFs using Office Imaging 2003 and Adobe Distiller 6.0 in the follwing way: 1. Using automation, I open the TIFF file with Office...
0
by: Stedak | last post by:
My application seems to freeze when Microsoft Office Document Imaging is set as the default for loading images. If the Windows Picture and Fax Viewer is used there is no problem. When I set a break...
3
by: David A. Osborn | last post by:
I currently have a class that has an enumeration of graphics extensions that it supports ie: Public Enum GraphicFormats JPG JPEG BMP TIFF End Enum
2
by: peter.mosley | last post by:
A few weeks ago I asked for advice about which GUI toolkit I should learn, and receved several helpful answers. In the end I went with Tkinter. This was because a) it was already installed on the...
2
by: moishyyehuda | last post by:
can I download Python Imaging Library (PIL) for linux.
5
by: Prateek | last post by:
Hi. I'm creating a web-application using CherryPy 2.2.1. My application needs to process images (JPG/PNG files) to 1) create thumbnails (resize them) 2) overlay them on a custom background (a...
0
by: tavares | last post by:
----------------------------------------------------------------------------------------------------------------------------------------- (Apologies for cross-posting) International Journal of...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.