Tags:
create new tag
view all tags

Question

When I check the option to "Create a link to the Attached file" - the file path in the created html image tag is wrong- "/twiki/pub/TWiki/TWikiPreferences/filename.jpg" The image fails to appear.

I need "%ATTACHURL%/filename.jpg " to appear in the IMG tag.

Where do I change the file path settings?

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- RyanLi - 30 Apr 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

That is odd. Though I don't have a 4.0.0 to test at the moment, I can tell you that I just tested is and it used ATTACHURLPATH on the development HEAD, and ... lets see what twiki.org (running 4.1.1) does the right thing.

  • This is an image i took in Zurich:
    fade_water.jpg

will have to go delve a little, or maybe there is a configuration option i don't know :/

-- SvenDowideit - 30 Apr 2007

The photographs on your flickr site are quite nice

-- RyanLi - 30 Apr 2007

See ATTACHEDIMAGEFORMAT in TWikiPreferences. You can overload that in your Main.TWikiPreferences.

-- PeterThoeny - 30 Apr 2007

Thanks Ryan smile the weather here helps.

oh wow, you do learn new stuff every day. Thanks Peter!

-- SvenDowideit - 30 Apr 2007

Thanks Peter /Sven . That line was missing from TWikiPreferences

-- RyanLi - 07 May 2007

Change status to:

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg fade_water.jpg r1 manage 5.9 K 2007-04-30 - 09:20 UnknownUser This is an image i took in Zurich
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2007-05-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.