MyBB Community Forums

Full Version: GIF WORKAROUND - BUTTONS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I had a feeling this might work, but wasn't sure until I tried.

I didn't want to use gifs in my new buttons because drop shadows and edges get all funky. PNG's offer the best viewing for something like that. Especially when you need the same image to show up on multiple background colors.

So ... after saving the final product as a PNG, I simply changed the extension from .png to .gif . Of course the computer told me that my file may not work are you sure you want to change the extension, etc.

I uploaded the mock gif's to the server to find that they do indeed work. Now because they are actually PNG's, if you right click and save as it has a double extension. nameofimage.gif.png - BUT the web browser still sees the image by the uploaded single extension .gif .

However - as the actual file is a .png, it displays with those properties. Perfect shadowing and no pixelation due to 256 colors in a true .gif image.

Kinda cool eh?

Check out the buttons here:

OfficialBionicWoman.com

Here's an example:

[Image: postbit_find.gif]