Loading...
 
Skip to main content

Features / Usability


Strange Image Gallery Upload Problem

Hello,

I have tikiwiki 1.8.4 installed on a windows server, using mysql and php 4.3.10 with GD Version = bundled (2.0.28 compatible).

The problem I'm having is as follows with jpegs of size 4K to 1M:

1. Upon uploading a jpeg, tiki tells me "Success!", but neither the image nor thumbnail appear.
2. My browser keeps going and going and going, never stopping, as if it's trying to produce a 100 tera-byte page 😊 (I have seriously waited 10 minutes on a 40K image before pressing the stop button!)
3. When I hit my browser's (iexplorer, w/ all updates) stop button, my browser stops doing the work, the image shows, but the thumbnail does not.
4. When I browse the gallery I'm working with, either a red x shows in place of the thumbnail, or a gray box shows — a grey box, not a thumbnail version of the real image. When I run my cursor over the grey box, it blinks.
5. Again, the browser just keeps on doing something.
6. Upon pressing stop, again, I get the red x or the grey box.
7. When I click on the grey box or red x to go to the big pic, all I get is another grey box, and the browser just keeps movin'!
8 FINALLY, when I press stop while trying to view the big image, it shows up.

More interesting things:
I'm storing the images in a directory.
For every image I upload, there are two entries made in the correct directory (one for the thumb, one for the main image — i imagine).
The jpegs end up in my temp folder.

Any ideas?

I am trying to use tikiwiki for a large installation — with the loss of many occasional users at risk, the image gallery must work.

Any information is greatly appreciated. Let me know if I can provide any more info.

-Patrick

Hello,

I encounter the same problem.

I have tikiwiki 1.8.4 installed on a Linux machine, using mysql and php 4.3.10 with GD Version = bundled (2.0.28 compatible).

Here are my testing result:

1. In the show_image.php, if i commented out the header information like below:

//header("Content-type: $type");
//header("Content-Disposition: inline; filename=".$imagegallib->filename);
echo "$imagegallib->image";

and, go to display the page show_image.php?id=340, i see the binary data displayed. That means the imagegallib managed to pull out the data, but just cannot display the image.


Hope someone can assist.


I solved my problem.

I found out that Any empty line after ?> will cause the broken link problem in Image Gallery.

Check all the called php pages with crimpson editor or any editing tool and remove the empty line.

I spent three days to find out this.