diff --git a/creole/parser/creol2html_rules.py b/creole/parser/creol2html_rules.py
index 590661e..12c13db 100644
--- a/creole/parser/creol2html_rules.py
+++ b/creole/parser/creol2html_rules.py
@@ -52,12 +52,12 @@ class InlineRules(object):
# ''' % proto
# image tag
- image = r'''(?P
+ image = r'''(?i)(?P
{{
(?P.+?) \s*
(\| \s* (?P.+?) \s*)?
}}
- )(?i)'''
+ )'''
#--------------------------------------------------------------------------
# a macro like: <>text<>