|
|
@@ -64,7 +64,7 @@
|
|
|
var g = (/\[image\-src=\"([\w\W]+?)\"\]/i).exec(content);
|
|
|
while (g !== null) {
|
|
|
content = content.replace(g[0], function() {
|
|
|
- var html = '<a href="#" class="thumbnail"' + '>' +
|
|
|
+ var html = '<a href="local://' + scope.appContent.directory.received + g[1] + '.JPG' + '" target="_blank" class="thumbnail"' + '>' +
|
|
|
'<img style="max-width:270px;max-height:250px;" src="local://' + scope.appContent.directory.received + g[1] + '.JPG' + '" alt="" >' +
|
|
|
'</a>';
|
|
|
loadImg("local://" + scope.appContent.directory.received + g[1] + ".JPG", addImg);
|