[Moin-user] Is it possible to display local images?

Mail@Heavy.ch mail at heavy.ch
Mon Feb 8 15:48:25 EST 2010


Am Montag, den 08.02.2010, 17:55 +0000 schrieb Chris G:

> Is it possible for moinmoin to display 'local' images, i.e. images
> which are already on the system where moinmoin is running?
> 
> I'm running version 1.9.1 on xubuntu 9.10.  All I want to do is
> display images which are already on the system as .JPG files.  I don't
> want to upload them into moinmoin as it will be a waste of space and
> if I edit the original image (in my main photo album) the moinmoin
> copy won't get changed.
> 


embending images is easy, just read here:
http://moinmo.in/HelpOnImages

now the bit complicated part... your images on your  filesystem. I would
try to do something like this

1. install some apache and 

2. configure the webserver in that way that your image directories are
accessible over localhost or your local domain like >>
http://yourhostname/images/s000023.jpg  <<   (but you have be careful
about your apache security configuration, because if your apache server
is also from the Internet  available,  others can also read  directly
your images, too)

3. then you can write in your moinmoin someting like
{{http://yourhostname/images/s000023.jpg}}

bye
Marcel



 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20100208/50ea91dc/attachment.html>


More information about the Moin-user mailing list