r2 - 31 Oct 2002 - 07:17:51 - PeterThoenyYou are here: TWiki >  Support Web > AvoidMultipleUploads
Tags:
, create new tag

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

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo