On Mon, Nov 11, 2002 at 01:48:26AM +0700, Andrey Subbotin wrote:
> Hello All,
> 
> I've just installed Midgard two days ago and am a total CMS newbie.
> The problem I'm stuck at now is that I'm trying to figure out how to
> store all images for a site into blobs and then serve them on my
> pages.

Welcome to midgard community! ;)

> For now, I've been trying to create appropriate attachements in the
> corresponding site style... but I still can't figure out the way to
> display them later on... ;(
> 
> You'd say specifiyng smth like $mgd_root/images/blah-blah.jpg in the
> style will do and will suppress the overhead, but, afaik, then I
> wouldn't easily export the site with the repligard. And that's exactly
> the point I want to achieve -- easily moving sites to other hosts
> later on somewhen... maybe.

Well, I don't understand what do you mean in "wouldn't easily export the
site with the repligard" in this case. If you want replicate only style then
looks like you really have some problems.

But if you replicate the whole site (and diffs between several
installations) - you can just define page under root named, as in your
example, 'images', and store blobs as attachments to this page. Then you can
access images just by '<img src="&(mgd_root);/images/image.jpg">'.

If you made this page active and added some code to it - you can serve any
attachments by this page only.

If it isn't answer, explain your problem more detailed.

> I'd really be very happy if someone could point me out to some Midgard
> tutorial or smth...

There is Midgard manual at http://www.midgard-project.org/manual/en/

--
Regards,
Sergei Dolmatov.
---
Programming is an unnatural act.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to