remove cdn functions, remove get the image functions