2

Is there a way to make images uploaded into the wiki from one page available to any other pages?

Thank you for your assistance.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
PGI Dev
  • 31
  • 4
  • I've decided to just use an html img link instead for expediency's sake, though if you have an answer, please do. It's always good to have more than one way to get something done. Thank you. – PGI Dev Aug 01 '13 at 16:26

3 Answers3

1

Do you mean with other wiki pages or in another site external of the wiki?

BuddhaLite
  • 11
  • 1
  • Hi BuddhaLite, you're new here, but next time you might ask clarifying questions in the comments below the post. Although a ligitimate question, your current answer doesn't answer the original post. – Jochem Schulenklopper Aug 01 '13 at 18:51
  • Fair enough however I can't comment on it. "add comment (requires 50 reputation)". This is the only way I could ask for clarification so that I could potentially assist. – BuddhaLite Aug 02 '13 at 13:38
  • oh, that is true, I forgot. If you're a user on other StackExchange sites, you can connect accounts and get a 'network bonus' (or something like that) of +100. In the mean time, I've voted your answer up :-) – Jochem Schulenklopper Aug 04 '13 at 16:40
1

You can use a Path to specify the location of common images. For example, the following wiki markup:

[imageauto|Sample Png Image|/images/SampleImage.png]

would display the "SampleImage.png" image file located in the "/images" folder off the web site root folder. "Sample Png Image" is the caption footer, which you could leave blank.

Check the wiki help page at WikiMarkup Reference for more details.

Doug Knudsen
  • 935
  • 9
  • 15
1

Instead of specifying the server path (something that most admins would not or should not know), you just need to specify the page the image is "attached" to:

[imageauto||{UP(<namespace>.<pagename>)}image.jpg]

Where <namespace> and <pagename> are replaced as required.

If you a referencing an attachment in the <root> namespace, omit the namespace and dot entirely:

[imageauto||{UP(<pagename>)}image.in.root.jpg]

Unlike like cross-namespace linking, where a ++ is required, no such addition is required to reference attachments.

Michael Paulukonis
  • 9,020
  • 5
  • 48
  • 68