Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On my personal MediaWiki site I am trying to display my StackExchange flair, but I cannot find a way to set the address to the flair on the SE itself.

Just to be clear, I know I could download the flair image itself and put it into the wiki, but since the flair changes with my activity on SE, I want the flair to reflect this activity. Is there a way to have an image hosted on another site display in MediaWiki? Here's what I am trying to display:

<img src="http://stackoverflow.com/users/flair/16964.png" width="208" height="58" 
alt="profile for Cyberherbalist at Stack Overflow, Q&amp;A for professional and enthusiast programmers" 
title="profile for Cyberherbalist at Stack Overflow, Q&amp;A for professional and enthusiast programmers">

Which looks like:

profile for Cyberherbalist at Stack Overflow, Q&A for professional and enthusiast programmers

Can this even be done?

share|improve this question
add comment

1 Answer

There is a configuration setting called $wgAllowExternalImages that you will need to toggle on. Per the documentation:

When set to true, users can bring in an inline image from an external URL. They do this simply by sticking the full URL into the wiki text (without any other surrounding markup being required) That is the direct URL to an image resource on another website.

If allowing all external images isn't something you're interested in, you may consider $wgEnableImageWhitelist instead.

share|improve this answer
    
Amazing. I am going to have to read each and every one of those settings in order to get a sense of which ones might be valuable to me. –  Cyberherbalist Sep 16 '13 at 16:44
    
@Cyberherbalist Read away, and configure to your heart's content -- there's certainly enough different settings to do so! –  Hyper Anthony Sep 16 '13 at 16:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.