modify inline image handle