error handler for picture widget