Image url extension method