Today this little guy was dropped of at my husbands work (Petsmart).

He was aparently dropped off there because he wasnt eating or pooping.
So when my hunny first got his hands on this guy he noticed a lot of feces caked up around his potty place. He was impacted with poop and a small piece of bark. He got him all cleaned up and was able to remove all the poop and bark from the area.
But he isnt out of the woods, he also has both of his eyes closed and they seem to be a litle sunken in. Also you can see in the second picture that he has a huge lump at the base of his tail behind his poopy place.
Im wondering if anyone can help me. I know Chameleons are pretty hard to take care of and I dont know to much about them. I will be doing some research but was hoping yall had some input, we really want to get him better and make him a part of the family.
Thanks for your help!