fixing bug #5036
checking places of image before deleting it...
ney-bug5036 :  Merge branch 'ney-bug5036' of https://github.com/NicolasEYSSERIC/Silverpeas-Components into components-5.13.x
components #5.13.x :  Merge branch 'components-5.13.x' of github.com:Silverpeas/Silverpeas-Components into components-5.13.x