added length param to smarty block list_instagram_photos