svn: /web/php/trunk/js/ common.js

From: Date: Thu, 22 Sep 2011 06:14:06 +0000
Subject: svn: /web/php/trunk/js/ common.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-12239@lists.php.net to get a copy of this message
stewartlord Thu, 22 Sep 2011 06:14:06 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=317136 Log: Corrected mime type of thumbnail images in data URI. Changed paths: U web/php/trunk/js/common.js Modified: web/php/trunk/js/common.js =================================================================== --- web/php/trunk/js/common.js 2011-09-22 06:11:35 UTC (rev 317135) +++ web/php/trunk/js/common.js 2011-09-22 06:14:06 UTC (rev 317136) @@ -265,7 +265,7 @@ link.attr('href', photo.url); link.attr('title', photo.title); image = $('<img>'); - image.attr('src', 'data:Image;base64,' + photo.data); + image.attr('src', 'data:image/jpeg;base64,' + photo.data); $(node).append(link.append(image)); } },

« previous php.webmaster (#12239) next »