Remove get_public_path and get_img_tag calls, use url and getImgTag