I would like to add the option in the image caption filter module to not caption images in teasers. Does anyone know if there's a function or something to distinguish between a teaser and full-page view in the code of a filter?