Ask a Question related to ASP.NET General, Design and Development.
-
Espen Evje #1
Generate a table of thumbnails on the fly without saving to disk
Hi,
I am trying to present the images in a folder as thumbnails in a dynamically
created asp:table.
I however do not want to save the thumbnails to disk, only show the images
in this folder as thumbnails and then forget about them.
I've seen a lot of samples using a datagrid/list and automatically bind
thumbnails to these controls, but it does not meet my requirements. I've
also seen a sample where the thumbnail of one image is genereated and then
saved to the response.outputstream, which is almost what I am looking for,
but I cannot make this work with more that 1 image.
So my pseudocode for what I want is something like this:
------------------------------------------------------------
for each image in folder
add new cell in table
cell.text="<img src=" & image.getThumbnail( ) & "/>"
next
------------------------------------------------------------
I know that the Thumbnail that is generated is an object and it will not
make sense in a src attribute, but you might see what I want.
Hope anyone can help
/espen
Espen Evje Guest
-
Saving .swf files to hard disk
Hello everyone; first of all: before asking this question, I made some research, but I can't manage to find an appropriate answer. That's why I'm... -
Generate csv file from sql table
I am looking to do the following from a C# ASP.Net applicatio 1. Generate a DS from a SQL pull of a single table. Once I have pulled the data... -
Manually generate a table of contents(TOC)
I am trying to understand how the bookmarks in a table of contents work so I can make manual entries to it. When I generate the TOC with Layout>TOC... -
php generate thumbnails
Sir, I read in a thread that you mailed some code to generate thumbnails Might I also have a copy ? It's been driving me crazy, all week. Thanks... -
How to generate a document from table schema?
In article <bc503f80.0306270809.50bdb2cd@posting.google.com>, dnlchou@yahoo.com says... I've done that with Sybase PowerDesigner. After 'reverse... -
Espen Evje #2
Re: Generate a table of thumbnails on the fly without saving to disk
Thanx a lot. This worked superb :-)
/espen
"Natty Gur" <natty@dao2com.com> wrote in message
news:uXN8ZktRDHA.2768@tk2msftngp13.phx.gbl...> Hi,
>
> You need to split your page to two pages. One will produce the Image by
> outputstream. The other creates that images in table and set the src
> attribute to the first page with the right parameters (pass as query
> string).
>
> for each image in folder
> add new cell in table
> cell.text="<img src= GetImage.aspx?id=" & image.ID & "/>"
> next
>
>
> Natty Gur, CTO
> Dao2Com Ltd.
> 28th Baruch Hirsch st. Bnei-Brak
> Israel , 51114
>
> Phone Numbers:
> Office: +972-(0)3-5786668
> Fax: +972-(0)3-5703475
> Mobile: +972-(0)58-888377
>
> Know the overall picture
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Espen Evje Guest



Reply With Quote

