Loading...
 
Skip to main content

Wiki tag {img src=show_image.php?id= } stops working and does not load images from image gallery.

Status
Closed
Subject
Wiki tag {img src=show_image.php?id= } stops working and does not load images from image gallery.
Version
1.9.x
Category
  • Error
Feature
Image Gallery
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
Out of Date
Submitted by
lindon
Lastmod by
nyloth, lindon
Rating
(0)
Description

- Upload images to an image gallery, store in database
- create wiki page with tag Image
- the images show for a while, but suddenly they do not show anymore

Solution

Add \n to the header() calls in show_image.php. See below:

header ("Content-type: $type\n");
header ("Etag: ".$imagegallib->etag."\n");
header ("Content-Disposition: inline; filename=\"" . $imagegallib->filename."\"\n");



This won't be fixed in 1.9. Please test if the problem remains in 2.0.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1882
Created
Friday 18 July, 2008 08:35:50 UTC
by Unknown
LastModif
Sunday 18 June, 2017 23:23:10 UTC


Show PHP error messages