At first glance it seems like they change how the picture url for attachments are saved in the database (we are not on 4.1.11 yet, so i can't check).
untested:
change
Code:
if(is_resource($sprite) AND $article['previewimage'] )
{
$imageinfo = getimagesize($article['previewimage']);
if(is_array($imageinfo))
{
to
Code:
if(is_resource($sprite) AND $article['previewimage'] )
{
if(substr($article['previewimage'],0,10) == 'attachment')
{
$article['previewimage'] = 'http://www.your_site/' . $article['previewimage'];
};
$imageinfo = getimagesize($article['previewimage']);
if(is_array($imageinfo))
{
with 'your_site' beeing your site.