Modifying block edit template to change for images