Microsoft Content Management Server - How do I upload an image to posting as inlined image from managed

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2004 > How do I upload an image to posting as inlined image from managed





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 How do I upload an image to posting as inlined image from managed
Snubben

2004-09-23, 9:18 am

Hi,

How do I upload an image to posting as inlined image from managed code

I've implemented an application to migrate from a 3:d party CMS to MCMS,
it's all been a breeze. I've even overcome the limitiation of the API
concerning creation of "Resource Gallerys" from managed code (used some T-SQL
and wrapped it in a Stored procedure). What I've not been able to do is
insert an image resource (not stored in a gallery) into a placeholder (Well
I can insert it through another custom T-SQL Stored procedure but it will not
show up).

What I want is something like

HtmlPlaceholder bodyPh = newPosting.Placeholders["Body"] as HtmlPlaceholder;

bodyPh.Html = "<p>Here is some sample body text...</p>";
bodyPh.Html = The Image Stream.

Anybody done something like this before?

Rgds,


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com