Picking up data-param from parent to support images inside links.