|
Home > Archive > Microsoft Content Management Server > August 2005 > Render resource image to browser
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Render resource image to browser
|
|
|
| Can anyone post some simple code (VB.NET or C#) to render a resource
collection of images from a resource gallery to the browser?
Thanks,
Adam
| |
| Stefan [MSFT] 2005-08-26, 7:53 am |
| Hi Adam,
something like this:
ResourceCollection images = ...;
foreach (Resource rs in images)
{
Response.Write("<img src=\""+rs.Url+"\"><br>");
}
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Adam" <Adam@discussions.microsoft.com> wrote in message
news:24E33A0F-733D-4DC6-B00C-65047F21DF0A@microsoft.com...
> Can anyone post some simple code (VB.NET or C#) to render a resource
> collection of images from a resource gallery to the browser?
>
>
> Thanks,
> Adam
| |
|
| Thank you. Exactly what I needed.
Adam
EOT
"Stefan [MSFT]" wrote:
> Hi Adam,
>
> something like this:
>
> ResourceCollection images = ...;
> foreach (Resource rs in images)
> {
> Response.Write("<img src=\""+rs.Url+"\"><br>");
> }
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Adam" <Adam@discussions.microsoft.com> wrote in message
> news:24E33A0F-733D-4DC6-B00C-65047F21DF0A@microsoft.com...
>
>
>
|
|
|
|
|