Tags:
create new tag
, view all tags

Question

I have have photo attachments in some topics in my twiki intranet. They are shown in the page because i use the following line

<img src="%ATTACHURLPATH%/phtot1.jpg" alt="photo1.jpg" />.
One might say that by using the same line in other topic of the the same twiki-web, the photo will also be shown. But in my case that does not happen, you must upload this same photo to this topic in order to be shown. That works well for me but I was wondering if there is a way to display a photo attached in another topic of the same twiki-web and perhaps on other twiki-web without uploading the same photo over and over again in each new topic.

  • TWiki version: Sept 2001
  • Web server: Apache
  • Server OS: Linux
  • Web browser: IE
  • Client OS: Windows 98

-- AntonioVega - 30 Oct 2002

Answer

Use src="/p/pub/Support/OtherTopic/phtot1.jpg" instead. Read the details in TWiki.FileAttachment.

-- PeterThoeny - 31 Oct 2002

Topic revision: r2 - 2002-10-31 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.