What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

As explained on the flair page:

to change the theme, add ?theme=clean or ?theme=dark or ?theme=hotdog to the end of the image URL

The majority of the time, this works fine. However, I wanted to add my flair to my signature on a PHPBB2 forum. I can't find the documentation on it at the moment, but I could have sworn that I read that BBCode image tags are only converted to HTML image tags when the image URL "appears to be an image URL." Meaning, a flair URL of http://stackexchange.com/users/flair/HASH.png is valid, but http://stackexchange.com/users/flair/HASH.png?theme=clean is not valid because their parser no longer considers it to be an image URL.

I also tried http://stackexchange.com/users/flair/HASH.png?theme=clean&x=.png but I guess it was smart enough to detect that arguments were being used, still.

Granted it's not a huge deal that I'm stuck on the default theme, but the best fix for my situation would probably be to set up the URL handling such that I can do http://stackexchange.com/users/flair/themes/clean/HASH.png to keep a "true" image URL.

Failing that, does anyone know of a workaround for this issue on PHPBB forums?


Also, as a minor rider/request to this question, offering pre-made BBCode for the flair on the flair page would have saved me a minute.

share|improve this question
2  
It isn't official, but you can take a look at stackflair.com which puts the format options in the middle of the url so as to preserve the file extension. –  Rebecca Chernoff Dec 10 '10 at 4:06
    
@Rebecca: If nothing "official" happens, that indeed seems to be a very good workaround. Thanks for the link! –  Mark Rushakoff Dec 10 '10 at 4:19
add comment

1 Answer 1

You can generally cheat this by doing things like arbitrarily adding a fake param on the end that ends with .png or .jpg

http://example.com/image.png?theme=clean&x=file.png

But if you already tried that, I guess not.

share|improve this answer
    
At this forum, ` [img]stackexchange.com/users/flair/…` does not get rendered as an image, but [img]http://stackexchange.com/users/flair/2bbf9fe446fe4a8c8f1d832554b19079.png[‌​/img] does. –  Mark Rushakoff Dec 10 '10 at 5:49
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .