Transparent pet picture backgrounds

Announcements about events or changes to the website and forum

Transparent pet picture backgrounds

Postby Nick » Sat Jan 10, 2009 6:03 pm

Hey everyone,

Your pet pictures can have transparent backgrounds now. If you do not choose a background colour on your pet's page, the image will have a transparent background (except on Internet Explorer 6 where it will have a white background). I'm already seeing lots of people who are posting their pets using this new code automatically - it looks great on the forum :).

You can have a background colour other than white for visitors on IE 6 (and be transparent on newer browsers) by first choosing a background colour, then editing the code to add a flag which makes it transparent on everything but IE 6. For example, this code:

Code: Select all
[img]http://www.chickensmoothie.com/pet/696046&bg=ff0000&trans=1.jpg[/img]


Produces this image in your browser:

Image

(notice the &trans=1 tacked on the end, before the .jpg). It'll display as a nice soft-edged transparent PNG on IE 7 and upwards, and all other browsers. On IE 6 and older, the background won't be transparent, the background colour will be filled with the colour you selected. Here I've set the background for IE 6 users to be bright red.. :).
User avatar
Nick
Admin
 
Posts: 6337
Joined: Thu Jul 03, 2008 2:40 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Transparent pet picture backgrounds

Postby Speckaroo » Sat Jan 10, 2009 7:48 pm

:shock: i love it :D
User avatar
Speckaroo
 
Posts: 3331
Joined: Tue Sep 23, 2008 11:05 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Transparent pet picture backgrounds

Postby owlcoholik » Sun Jan 11, 2009 12:09 am

Really nice! Looks great on my website!
Image
ImageImageImage
Image
my username was spottyshan / shannonfrogi13 back in the day

ImageImageImage
User avatar
owlcoholik
 
Posts: 1143
Joined: Fri Sep 26, 2008 4:26 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Transparent pet picture backgrounds

Postby Roonie-Roe » Sun Jan 11, 2009 2:59 am

I love this! Thanks so much Nick! :D

.~:{}:~.
Image
Image
Image
Image
Image
.~:{}:~.

.~:{}:~.
Image
Image
Image
Image
Image
.~:{}:~.

ImageImageImage

Adult | She/Her, They/Them | Pansexual
Pet/Item Hoarder | Artist
ImageImage Image
[My CS Hoards] [Toyhouse]
[Dragon Cave] [Flight Rising] [Furry Paws]


ImageImageImage
User avatar
Roonie-Roe
 
Posts: 7338
Joined: Sat Jul 26, 2008 10:41 pm
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Transparent pet picture backgrounds

Postby Ellesmera » Mon Jan 12, 2009 4:28 am

This is cool! Thanks Nick!!!
User avatar
Ellesmera
 
Posts: 20
Joined: Fri Nov 28, 2008 3:57 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Transparent pet picture backgrounds

Postby Leafie » Mon Jan 12, 2009 2:37 pm

Transparency is nice, thanks!
spare a click?
the eggs, the twap and nagi, would definitely love more attention than the others...

ImageImageImageImageImageImage
User avatar
Leafie
 
Posts: 60
Joined: Sun Sep 28, 2008 11:32 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Re: Transparent pet picture backgrounds

Postby Cryos » Fri Jan 23, 2009 11:21 am

sweet! I've always wanted the ability to do this :3 *is very pleased* :lol: Thanks for doing this ^,.,^
Leafie wrote:Transparency is nice, thanks!

Hmmmm... :D Hi Leafie! lol I don't think I've ever run into you on here before :P lol sorry Just had to say hi ;)
Image

~x~ If you have a dragon RP and need more people toss me a message and I'll check it out! ^_^ ~x~

~x~ ImageImageImageImage ~x~
~x~ I was once known as Shinara ^_^ ~x~
User avatar
Cryos
 
Posts: 357
Joined: Wed Sep 24, 2008 10:13 am
My pets
My items
My wishlist
My gallery
My scenes
My dressups
Trade with me

Who is online

Users browsing this forum: Bludragon76 and 12 guests