transparency support

transparency is now handled correctly for png and gif + check for get
variable with isset + explode added extra variable to get rid of passing
by ref warning