if you already configured cache purging in plone.app.caching correctly you'll notice that newsitem/image_thumb and other image sizes will get purged correctly by default.
plone.app.caching does not know about the custom urls for the images because of raptus.linguaplone.
so you'll have to create your own adapter that implements IPurgePaths
for your newsitems
something like this should do the trick:
from z3c.caching.interfaces import IPurgePaths
class ItemImagePurgePaths(object):
"""additional paths to purge not covered by
plone.app.caching default adapters i.e. ObjectFieldPurgePaths
"""
implements(IPurgePaths)
adapts(IYourConentType)
def __init__(self, context):
self.context = context
def getRelativePaths(self):
prefix = self.context.absolute_url_path()
return [prefix + '/image____de____news_scale',
prefix + '/image____de____even_smaller_scale']
def getAbsolutePaths(self):
return []