WordPress.org

Ready to get started?Download WordPress

Forums

Gif Image transparency (6 posts)

  1. delocurr
    Member
    Posted 4 years ago #

    I uploaded my .gif image to WordPress via the editor, and it now has a black background when it should be transparent. Why? And what do I need to do? It shows up black in both IE and Firefox.

    Thanks in advance.

  2. xewax
    Member
    Posted 4 years ago #

    Maybe try Wp-UnitPNGfix plugin, This plugin includes the ‘unitpngfix.js’ javascript file if the browser is IE6 or lower. In plain words, it implements the solution for the PNG trasparency provided by Unit Interactive Labs. It works on img objects and background-image attributes.
    If not than it may be your picture with a black background and no problem.

  3. delocurr
    Member
    Posted 4 years ago #

    I've done a lot of searching for answers before and since posting my problem with my transparent image ending up with a black background. Still no luck.

    Again, I thank you in advance for any help.

  4. Shiverwarp
    Member
    Posted 4 years ago #

    gifs can be transparent? Thought it was only .png

  5. delocurr
    Member
    Posted 4 years ago #

    .gif's can be transparent. Your question makes me curious though. Have they stopped using it? Do you think if I changed it to a .png that it would show up correctly> Hmmm...isn't it .png that doesn't support transparency? I did my graphic in Gimp, and I seem to recall that the box said so.

    I have IE 7. My graphic shows up correctly in the browser, just not when I upload it to WP.

  6. Kathy Reid
    Member
    Posted 4 years ago #

    Hi there,

    I was experiencing this issue too and was able to narrow it down;

    1. All of my GIF images were created with Fireworks. I experimented using Index and Alpha transparency with the same result - black background when uploaded to WordPress.

    2. I was able to diagnose that this issue rests with whatever is doing the thumbnails - I believe it's Image Magic. When the GIF image is uploaded at full size, the black background is not shown and the image is displayed correctly.

    3. The black background only shows when the image is thumbnailed - hence why I believe this issue rests with the thumbnailing program.

    Hope this helps :)

    Regards,
    Kathy

Topic Closed

This topic has been closed to new replies.

About this Topic