Restructuring the way image urls are generated.