Recent Topics

1 Sep 12, 2007 05:27    

Here goes another, confirmed with two images. The thumbnails for the PNG ones don't show up, only a black square which says: Emime image/png. However, when I click on the thumbnail, the correct image pops up in a new window.

PHP: 4.4.4

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with the ionCube PHP Loader v3.1.29, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies

From PHPinfo:
GD Support enabled
GD Version bundled (2.0.28 compatible)
PNG Support enabled

3 Sep 12, 2007 07:48

As I said above, GD library is enabled, version 2.0.28 with PNG support. What other settings should I check? Where?

4 Sep 12, 2007 09:18

I get those black thumbs for everything, let alone .png
eg: Under File management: Current dir: skins/natural_pink/rsc/img/
All .gif images are black with "EWR-access" written in red.

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

5 Sep 12, 2007 18:19

Darn, bad reading and fast answering leads to nothing. But still I am convinced this is a php setting issue rather than a bug. The funny part is, I am experiencing the same errors on both my production blog and my local testblogs, both running on php 5.

I have the same or similar GD settings. My previous answer was based on a little play this summer where I got the png errors until I installed the correct libraries. There are more libraries. We just need to find out which ones we need. At least that's my 'educated guess'.

My error shows in pgn only ('Emime' shows on the black squares. I will investigate it.)

If you are interested in comparison, you find my phpinfo [url=http://www.blog.hemminga.net/phpinfo.php]here[/url].

Good luck

6 Sep 12, 2007 22:33

I did some investigation and found the following. Troubles arise in ../blogs/inc/files/mode/_image.funcs.php

1) png thumbs are not being created
2) gif thumbnails have their transparent area's turned black.
3) like so, if I enable png thumbnails, the same problem as with the gif thumbnails arises.

I made a hack that solves all but one issue: partial transparent png pics are still black where the transparency is not 100%, so you see more black than there should be.

What to do:
1) delete cache, you find cached thumbs in ../blogs/media/YOURBLOG/.evocache. Delete all png/gifs (If you have several blogs, there are several folders)
2) Download, unzip and overwrite the file ../blogs/inc/files/mode/_image.funcs.php with this one.

Good luck

8 Sep 23, 2007 00:43

Emime is a shortcut for "Error because of the MIME type".

It means "This is Evocore speaking I cannot handle the PNG mime type yet, but it's on the dev's todo list".

All that trying to fit in the smallest thumbnails.

9 Jan 10, 2008 17:17

Afwas wrote:

What to do:
1) delete cache, you find cached thumbs in ../blogs/media/YOURBLOG/.evocache. Delete all png/gifs (If you have several blogs, there are several folders)
2) Download, unzip and overwrite the file ../blogs/inc/files/mode/_image.funcs.php with this one.

Good luck

i having the same problem..

Any Chance to get this file also ? i can't see any file to download...
maybe i'm blind ? :)

10 Jan 10, 2008 17:37

This is something that is fixed (probably not completely but better that it is today) in the next version.
Check the repositories for this new file. The file that I made had flaws and is no part of the actual solution.

Good luck


Form is loading...