My favorites | Sign in
Project Home Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 7: IMG Tag Parsing Failure
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jun 2009


Sign in to add a comment
 
Reported by encbladexp, Jun 9, 2009
The {{/folder/bla/blupp|Photo}} will not rendered as IMG Tag. If the Images
source ends with .png oder something it works!

Greetings
Betz Stefan

Jun 10, 2009
Project Member #2 google-c...@jensdiemer.de
Yes, because it used a list of image file extensions:

{{{
    image = r'''(?P<image>
            {{
            (?P<image_target>.+?(\.jpg|\.jpeg|\.gif|\.png)) \s*
            (\| \s* (?P<image_text>.+?) \s*)?
            }}
        )(?i)'''
}}}
see:
https://code.google.com/p/python-creole/source/browse/trunk/creole/creole_parser.py#70

Do you need other extension?

Jun 10, 2009
#3 encbladexp
The Problem is that my URL has no Extension :-(

Greetings
Betz Stefan
Jun 10, 2009
Project Member #4 google-c...@jensdiemer.de
Hm. That's IMHO strange ;)

Can you explain why your image file has no extension???

I have change creole2html, see:
https://code.google.com/p/python-creole/source/detail?r=39
Status: Fixed
Jun 12, 2009
#5 encbladexp
Yes, i can :-P

I have a self written CherryPy Applikation which has /images/gallery/imageid als IMG
Source. This Functions makes a HTTPRedirect to (example) /static/real-image.jpg.

Greetings
Sign in to add a comment

Powered by Google Project Hosting