Render resource image to browser
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Render resource image to browser




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Render resource image to browser  
Adam


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-25-05 11:02 PM

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





[ Post a follow-up to this message ]



    Re: Render resource image to browser  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-26-05 12:53 PM

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







[ Post a follow-up to this message ]



    Re: Render resource image to browser  
Adam


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-26-05 10:56 PM

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: [url]http://tinyurl.com/6zj44[/url
]
> ----------------------
>
>
> "Adam" <Adam@discussions.microsoft.com> wrote in message
> news:24E33A0F-733D-4DC6-B00C-65047F21DF0A@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:28 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register