Discussion:
integrating images
Werner LEMBERG
2005-06-05 23:20:35 UTC
Permalink
Doing a search for `image' in the default help pages of MoinMoin gives
no hint how to integrate images into wiki pages. Here I don't mean
how to add an external link but how and where to put images into
/usr/share/moin/mywiki (by the superuser). Are there any guidelines
or recommendations?


Werner


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
Thomas Waldmann
2005-06-06 05:22:16 UTC
Permalink
Post by Werner LEMBERG
Doing a search for `image' in the default help pages of MoinMoin gives
no hint how to integrate images into wiki pages. Here I don't mean
how to add an external link but how and where to put images into
/usr/share/moin/mywiki (by the superuser). Are there any guidelines
or recommendations?
There are basically 3 methods for showing an image:
* just put the image url on a wiki page
* use attachment:myimage.png
* use some smiley like :) or (./)



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
Werner LEMBERG
2005-06-07 04:43:26 UTC
Permalink
Post by Thomas Waldmann
Post by Werner LEMBERG
Doing a search for `image' in the default help pages of MoinMoin
gives no hint how to integrate images into wiki pages. Here I
don't mean how to add an external link but how and where to put
images into /usr/share/moin/mywiki (by the superuser). Are there
any guidelines or recommendations?
Thanks, but this doesn't really answer my question. Assume that I
want to integrate hundreds of images into my wiki, I wonder about the
ideal location to store them? What about
<prefix>/moin/mywiki/data/img? IMHO it should be a location *within*
the `moin' tree.
Post by Thomas Waldmann
* use attachment:myimage.png
Isn't the use of `attachment' deprecated due to potential security
problems?


Werner


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
Nir Soffer
2005-06-08 03:53:50 UTC
Permalink
Post by Werner LEMBERG
Post by Thomas Waldmann
Post by Werner LEMBERG
Doing a search for `image' in the default help pages of MoinMoin
gives no hint how to integrate images into wiki pages. Here I
don't mean how to add an external link but how and where to put
images into /usr/share/moin/mywiki (by the superuser). Are there
any guidelines or recommendations?
Thanks, but this doesn't really answer my question. Assume that I
want to integrate hundreds of images into my wiki, I wonder about the
ideal location to store them? What about
<prefix>/moin/mywiki/data/img? IMHO it should be a location *within*
the `moin' tree.
Its not clear what is "integrate hundreds of images into my wiki".
Describe how you are going to use the images in the wiki. Are you going
to show them on one page? few pages?
Post by Werner LEMBERG
Post by Thomas Waldmann
* use attachment:myimage.png
Isn't the use of `attachment' deprecated due to potential security
problems?
No its not.

Usually images are used on some pages by attaching them to the page and
including them with `inline:` or `attachment:`. The images are stored
inside the containing page directory.


Best Regards,

Nir Soffer



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
Werner LEMBERG
2005-06-08 04:57:33 UTC
Permalink
Post by Nir Soffer
Post by Werner LEMBERG
Thanks, but this doesn't really answer my question. Assume that I
want to integrate hundreds of images into my wiki, I wonder about the
ideal location to store them? What about
<prefix>/moin/mywiki/data/img? IMHO it should be a location *within*
the `moin' tree.
Its not clear what is "integrate hundreds of images into my wiki".
Describe how you are going to use the images in the wiki. Are you going
to show them on one page? few pages?
Well, this was a theoretical example. In reality I have a few images
per page.
Post by Nir Soffer
Post by Werner LEMBERG
Isn't the use of `attachment' deprecated due to potential security
problems?
No its not.
Aah, I just see that on my local `HelpOnConfiguration/FileAttachments'
page (from the 1.3.4 bundle) I still have

Note that we plan to remove that option in 1.4. Because of that and
the security problems noted below, we do not recommend that option.

which has been removed on the MoinMoin site.

Is there an alternative method to upload such attachments to avoid DoS
attacks? For example, having a temporary ftp address where you have
to upload the file together with an md5 file, or (even better) a
GPG-signature? A cron script then checks for the validity and
integrity of the file and copies it to its final destination.


Werner


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
Loading...