fixed fb img funciton