Underhair image api using PHP