Tags:
create new tag
, view all tags

Question

I'm trying to display a gif file on a twiki page.

I've attached the gif the the page. The gif is listed in the list of attachments, but the picture is not displayed, only the alternate text.

Clicking on the link to the image in the attachments table opents the gif in a separate window.

This is an example of a gif attachement that does not work:

   * T-logo-80x15.gif: <br />
     <img src="%ATTACHURLPATH%/T-logo-80x15.gif" alt="T-logo-80x15.gif" width='80' height='15' />

I verified that the attached files are indeed in the ddirectory of the page under pub

I've no idea what is the problem and where to start to look for it.

Thanks, Dan

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux 2.6.18-1.2239.fc5smp
Web server: Apache
Perl version: perl5 (revision 5 version 8 subversion 8)
Client OS: linux
Web Browser: firefox 2
Categories: Documentation

-- DanBarDov - 20 Feb 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.

You may be interested in looking into the ImagePlugin

-- KwangErnLiew - 20 Feb 2007

  • T-logo-80x15.gif:
    T-logo-80x15.gif

Hm, works as expected here on twiki.org. What exactly doesn't work at your system?

-- FranzJosefSilli - 20 Feb 2007

I have the same (or similiar) problem here, using TWiki 4.0.5 in a virtual machine.

  • Some GIFs are not displayed, but only for some users (strange, because all have the same browser with identical settings in a company network, JPEGs are displayed for all without problems
  • when the file address is entered as URL, the GIF is displayed correctly in a single window (so there seems to be no issue with permissions)
  • The properties say: "type unknown"
  • The same GIF on an external server, linked into the page, is displayed correctly

It seems to be something between Apache and the browser. An "AddType" for GIF in TWiki_httpd.conf did not solve the issue. The display quality with ImagePlugin is not as good. So far no solution.

-- JensHofmann - 20 Feb 2007

After spending several hours trying to install the ImagePlugin, I gave in. Not manually, nor the installer work.

ImageMagic and the PerlMagic are both installed and work fine (pass the make test)

Anyway, as FranzJosefSilli said, it should work without imagemagic, right out of the box. Images I attach should be displayed.

They don't and I'm still waiting for some idea.

Dan

-- DanBarDov - 21 Feb 2007

Update on my "GIF-Problem":
The display issue in the browser was tracked down to gifs with a transparent background. Obviously a problem in our specific Metaframe-Environment. When the gifs were changed to a white background, they displayed fine on all computers.

-- JensHofmann - 14 Mar 2007

Closing question...

-- PeterThoeny - 15 Mar 2007

Change status to:
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2007-03-15 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.