Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Web Design, Templates, and Themes > Accessing attachments from within articles

Accessing attachments from within articles

User bernd
Date 5/11/2008 3:18 pm
Views 537
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: OReilly by koen - Sat @ 06:44pm

Re: OReilly by JT - Sat @ 12:46pm

Re: Glad to be here by Mike_S - Sat @ 09:11am

Partner Marketing Goals? by koen - Sat @ 08:15am

Re: OReilly by koen - Sat @ 08:07am

Re: Glad to be here by koen - Sat @ 08:05am

Re: WebGUI Drinks by Albert2 - Sat @ 05:06am