i want to filter image when attatching image in my program