Add dashed border to empty images