Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Discuss > Web Design, Templates, and Themes

Accessing attachments from within articles

User bernd
Date 5/11/2008 3:18 pm
Views 499
Rating 0    Rate [
|
]
Previous · Next
User Message
bernd

Is there a way other than writing a custom template to access files that have been attached to an article - that is basically by using a macro? I am thinking of images that have been attached to an article and are to be referenced from somewhere in the text.

Of course, I could attach files, save changes, copy cryptic upload URLs and then reference them manually. Not very convenient...

--
Trying to build a non-profit community portal for free-climbers around Magdeburg/Germany. Check out http://kletterfreunde-md.kashyyyk.de (under construction).

--- (Edited on 11.05.2008 22:18 [GMT+0200] by bernd) ---



Back to Top
Rate [
|
]
 
 
rogier

I don't think there is such a macro, but you don't need it anyway.

Just click on "Insert WebGUI Image", then in the popup screen go to the media folder (link in upper left corner). Upload your image (or any file type really). The url to the file will be "/media/" and then the filename. So if you uploaded the file "image.jpg" the filename will be "/media/image.jpg". Then use that url to make a link.

Hope this helped. Good luck.

Rogier | United Knowledge
www.unitedknowledge.nl · www.webgui-help.nl

--- (Edited on 12-05-2008 1:50 am [GMT+0200] by rogier) ---



Back to Top
Rate [
|
]
 
 
bernd

Right. This is what I usually do. I was just wondering whether macros could be used more flexibly. This would allow to keep organization of embedded pictures simple. But thank you anyway.

Bernd

--
Trying to build a non-profit community portal for free-climbers around Magdeburg/Germany. Check out http://kletterfreunde-md.kashyyyk.de (under construction).

--- (Edited on 13.05.2008 07:50 [GMT+0200] by bernd) ---



Back to Top
Rate [
|
]
 
 

Re: WRE upgrade 0.8.3 to 0.8.4 issue by koen - Thu @ 02:18pm

Re: "No Upgrade Necessary" by pvanthony - Thu @ 12:41pm

Re: WRE upgrade 0.8.3 to 0.8.4 issue by jmack - Thu @ 12:37pm

Installed WebGUI on SuSE 10.1 64bit by crythias - Thu @ 09:20am

Re: Question to Spectre by JT - Thu @ 06:40am

Question to Spectre by bepo - Thu @ 06:29am

Re: Re-design of "Get Add Ons" section by Chirifischio - Thu @ 05:45am

Re: "No Upgrade Necessary" by erikms - Thu @ 01:48am

Smoketest For nightly_2008-08-28 by Visitor - Thu @ 01:45am

Re: Can a WebGUI navigation generate li's of different sizes? by knowmad - Wed @ 10:11pm

Re: WRE upgrade 0.8.3 to 0.8.4 issue by pvanthony - Wed @ 09:07pm

Re: New default WebGUI templates by rogier - Wed @ 09:18am

YAHOO.util.Easing by lrobinson - Wed @ 05:07am