Changing current post image uls with a function

Changing current post image uls with a function