Forum:Picture Storage Down?

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search

Forums: Index Community help


Tried to upload Wiki.png . No thumbnails displayed, nor the original image. Example: [1] --Austinhuang (talk) 00:41, 12 May 2016 (UTC)

The url to the image is malformed. It's currently http://images.shoutwiki.com/images/enderlist/b/bc/Wiki.png, but it should be http://images.shoutwiki.com/enderlist/b/bc/Wiki.png. For a (hopefully) short-term solution, you can put
(function ($) {
  'use strict';
  var r = '//images.shoutwiki.com/images/',
      s = '//images.shoutwiki.com/';
  $(function () {
    $('img').each(function () {
      var src = this.getAttribute('src');
      this.setAttribute('src', src.replace(r, s));
    });
  });
}(jQuery));
in your MediaWiki:Common.js file. --Saftzie (talk) 09:22, 12 May 2016 (UTC)
It does not update the wiki icon. Reason:[2] --Austinhuang (talk) 12:05, 12 May 2016 (UTC)
Yes, your wiki is broken. The real solution would be to get staff to fix it. In the meantime, you can also put
.mw-wiki-logo {
  background-image: url("//images.shoutwiki.com/enderlist/b/bc/Wiki.png")
}
in MediaWiki:Common.css. --Saftzie (talk) 16:18, 12 May 2016 (UTC)
... and take the css out of the js file. css isn't JavaScript. --Saftzie (talk) 16:25, 12 May 2016 (UTC)
I know. --Austinhuang (talk) 16:27, 12 May 2016 (UTC)
Sorry about this, slight oversight in our recent images maintenance yesterday morning. In future, it's probably worth reporting these issues directly to staff through IRC or a Support Ticket so we can deal with the issue sooner. We can't fix an issue we aren't even aware exists! --Lewis Cawte (talk) ShoutWiki Staff 20:06, 12 May 2016 (UTC)