rendering image in facebook