Problem with GIF-Graphices

Madmat

No avatar

2005-09-29 12:54

Hi.
I'm using transparent GIF-Graphics in my Shop in order to show my products.
Somehow the graphics are'nt shown transparent. What should be transparent is shown black. I tried to change in style.css and took a look in the sourcecode to know which class is used for the foto_listing, but it seems it's not possbile to use transparent GIFs without having the effect described above.

So maybe I'm doing something wrong... Does anybody know how to change?

Have a look on my shop @ http://www.fr-dieseltuning.de/shop/

kookie

No avatar

2005-09-29 14:20

that is something "funny" ....

i tested it and what i found was:
- uploaded some emoticon , gif format and that was showing fine!
- in photoshop created a gif file with!!! and Save for the Web as Gif
with and without Transparancy selected. ( Transparancy: included transparancy based on color opacity )

When i did not have Transparancy selected the gif shows fine... but with it it looks like the gifs on your site.

I am sure a real graphics designer knows why ;-)



Madmat

No avatar

2005-09-29 19:34

and what is really strange... if u enlarge the picture by clicking the graphic in the article's details, the gif file is shown straight normal...
so maybe it's all just a matter of configuration?

kookie

No avatar

2005-09-30 09:25

ooh okay.. i have not seen it..
But i guess it musst be something in the GD imagecreate functions
that creates a file on the server from the original. not sure if that is "fixable" ...

Madmat

No avatar

2005-10-02 22:13

now i uploaded .. everything in the jpeg format... maybe i gonna make a change to that functions ... but first i gotta read the fcuking php manual ;)

amrod

Avatar: amrod

2005-10-03 08:31

Yes, it's problems with GD2 library in PHP. It works fine with .jpg and.png files, but have some problems with .gif files.

theaxe

Avatar: theaxe

2006-10-03 10:51

Hi There,

Is there already a solution for this? Now I need to convert all the transparent gifs and it looks so much nicer if your cart has an backdrop image.
Any direction where I should/could look for a solution?

greetz,

Axel

Greetz, Axel

Ned

No avatar

2006-10-03 11:54

You can do the conversion using the GIMP - http://www.gimp.org - to change transparent GIFs to transparent PNGs. Works here on my server (easyPHP).

Run the GIMP, File>Open and select the transparent background GIF. Then in the picture window File>Save As and _untick_ the "Select File Type (by extension). This gives you a dropdown menu of types and select PNG. It should automatically sense the transparancy in the GIF and apply it to the PNG.
HTH

Back to top
about us | contact