Click here to register.
      
PBWG Banner


     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 383
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: Survey2 JSON Reporting by JT - Fri @ 12:50pm

Re: Pagination and Navigation Menus. by eleger81 - Fri @ 12:38pm

Re: Corrupt Asset Tree by bartjol - Fri @ 09:04am

Re: Corrupt Asset Tree by mwille64 - Fri @ 09:01am

Survey2 JSON Reporting by perlmonkey2 - Fri @ 08:46am

7.5.18 translation too by bartjol - Fri @ 06:58am

Re: Corrupt Asset Tree by bartjol - Fri @ 06:42am

Smoketest For nightly_2008-07-25 by Visitor - Fri @ 01:39am

Re: Pagination and Navigation Menus. by colink - Thu @ 04:05pm

Re: Corrupt Asset Tree by mwille64 - Thu @ 02:12pm

Pagination and Navigation Menus. by eleger81 - Thu @ 11:52am

Re: Corrupt Asset Tree by preaction - Thu @ 11:44am

Corrupt Asset Tree by mwille64 - Thu @ 11:18am

Smoketest For nightly_2008-07-24 by Visitor - Thu @ 01:39am

Re: Hello! by crythias - Wed @ 01:13pm