diff --git a/core/plugin/openimg/openimg.rb b/core/plugin/openimg/openimg.rb
index 4307ec7..4b26ef8 100644
--- a/core/plugin/openimg/openimg.rb
+++ b/core/plugin/openimg/openimg.rb
@@ -86,7 +86,7 @@ Plugin.create :openimg do
 
   def get_tag_by_attributes(tag)
     attribute = {}
-    tag.each_matches(/([a-zA-Z0-9]+?)=(['"])(.*?)\2/){ |pair, pos|
+    tag.each_matches(/\s*([^=]+)=(['"])(.*?)\2/){ |pair, pos|
       key, val = pair[1], pair[3]
       attribute[key] = val }
     attribute.freeze end
@@ -101,7 +101,7 @@ Plugin.create :openimg do
       attribute = {}
       catch(:imgtag_match){
         dom.gsub("\n", ' ').each_matches(Regexp.new("<#{tag_name}.*?>")){ |str, pos|
-          attr = get_tag_by_attributes(str.to_s)
+          attr = get_tag_by_attributes(str.to_s[tag_name.length + 1 .. -1])
           if element_rule.all?{ |k, v| v === attr[k] }
             attribute = attr.freeze
             throw :imgtag_match end } }
@@ -208,7 +208,7 @@ Plugin.create :openimg do
     t = fetch(url)
     /^(http:\/\/[^\/]+\/)post(\/\d+)/ =~ t
     if $~
-      imgurlresolver($1 + "image" + $2, 'id' => 'content-image')
+      imgurlresolver($1 + "image" + $2, {'id' => 'content-image', 'attribute' => 'data-src'})
     else
       warn "たんぶらの記事ページじゃないっぽい"
       nil
diff --git a/core/plugin/openimg/pattern_file.json b/core/plugin/openimg/pattern_file.json
index e286511..3344a78 100644
--- a/core/plugin/openimg/pattern_file.json
+++ b/core/plugin/openimg/pattern_file.json
@@ -104,7 +104,8 @@
 	"Tumblr image": {
 		"url": "^http://[-0-9a-z]+\\.tumblr\\.com/image/\\d+",
 		"attribute": {
-			"id": "content-image"
+			"id": "content-image",
+			"attribute": "data-src",
 		}
 	},
 	"はてなフォトライフ": {
