I just got a new hat! :D screaming with joy Looking at so many users looking all exquisite with their stunningly 'fitted' hats, I'm wondering if there's an option to resize or rotate a hat?

PS: Happy Winter Bash everyone! :)

  • 2
    You can move the hat, but not resize or rotate it – juergen d Dec 17 '13 at 9:57
  • 8
    You can resize your gravatar instead. – Manishearth Dec 17 '13 at 9:58
  • 1
    "Looking at so many users looking all exquisite with their stunningly 'fitted' hats..." They're cheating, they took a new picture of themselves and positioned the hat accordingly. – Time Traveling Bobby Dec 17 '13 at 9:59
  • 5
    This is an iterative process. We could not even move the hats last year. Maybe next year we will be able to resize them, then rotate them the year after, then change their colors or something circa 2020. – Frédéric Hamidi Dec 17 '13 at 9:59
  • 3
    @FrédéricHamidi, users will design the hats in 2050 ;) – Azik Dec 17 '13 at 10:00
  • @Mr.PeanutMonopolyMcManish Oh.. That's a great tip! :) – ankita alung Dec 17 '13 at 10:05
  • @ankitaalung - Or you can simply create a Photoshopped image of yours along with the hat and upload that as your display image :) – SudoRahul Dec 17 '13 at 10:09
  • @R.J, then she should hate the flags to view it. – Azik Dec 17 '13 at 10:09
  • @R.J with a photo-shopped image, I can boast off with the fanciest of headgears! But we don't wanna do that, do we? :) – ankita alung Dec 17 '13 at 10:11
  • @ankitaalung - Yeah that there. Also, the secret to get the secret hats wouldn't be revealed. ;) Love the winter bash on SE :) – SudoRahul Dec 17 '13 at 10:12
  • @Azik - Or may be multiple hats by 2060? – hims056 Dec 17 '13 at 10:34
  • @ankitaalung nice hat by the way :D – Just code Dec 17 '13 at 11:09
  • @dholakiyaankit u think so? :D – ankita alung Dec 17 '13 at 11:32
  • ya ha ha ha i don't have this one @ankitaalung :( – Just code Dec 17 '13 at 11:42
  • Aww! All I wanted was a DownDo hat, but you guys won't let me have one... ;( ;( ;( – Qantas 94 Heavy Dec 18 '13 at 9:23

Sorry, but I have to decline this. The main problem with this is that I want to keep the hat image files used on the major pages – in other words, the question pages – small, because every visitor has to load them. But in order to make scaled or rotated hats (where sub-pixels start to matter) not look horrible, the base image size would have to be much bigger.

Update, one year later: For Winter Bash 2014, we switched to using SVG images, and you can now rotate and scale your hats.

  • 3
    "the base image size would have to be much bigger." SVG? – Time Traveling Bobby Dec 17 '13 at 14:08
  • 2
    @TimeTravelingBobby Sure, that's a thing we can look at next year, but this year we're stuck with bitmaps. – balpha Dec 17 '13 at 14:12
  • 1
    You're using an image sprite. Users only have to load it once. Your servers only have to serve it once per user. – user212646 Dec 18 '13 at 8:42
  • Also, I notice that the hats are the last thing to load on a page, so I would bet you have something going where it is loaded last so the page does not appear to lag and loads all the important content first. – user212646 Dec 18 '13 at 8:50
  • 1
    @fredsbend I'm talking about the vast majority of people who come in from Google through a question link and only ever see one page. For these people "once" is equivalent to "always". And this is not about "our servers" (the images are on a CDN anyway). – balpha Dec 18 '13 at 8:59
  • 2
    I guess I don't understand the problem. That one image is only 57KB. A doubling in size is not that significant. Also, I'm sure you could make it so that it only shows to logged in users (but maybe the promotion is meant to attract new users, though it seems to be designed to keep regular users throughout the holidays). I understand not doing it this year because of time. For future years, it doesn't seem like that big of a deal. – user212646 Dec 18 '13 at 9:06
  • @balpha you can create several "versions" of the same hat, for some of the hats. Not custom resizing or rotating but rather several "tailored" options. Is this feasible request for next year? :) – Shadow The Princess Wizard Dec 18 '13 at 10:09
  • On the update: maybe I need a dunce cap, but what's the UI for doing the rotation and scaling? Can only figure out how to move it... – mattdm Dec 16 '14 at 21:09
  • Oh! I do deserve the dunce cap. "Show controls" button! – mattdm Dec 16 '14 at 21:11
  • 1
    Perhaps also update the tag on the question to [status-complete]? – Travis J Dec 16 '14 at 21:13
  • @mattdm "After choosing a hat on your hat rack and before clicking “Wear hat,” you can move your hat around on your avatar with your mouse (or, on a touch screen, your finger). For advanced adjustments or if you don't want the hat to disappear behind your finger while moving it, check the “show controls” box. This will display two handles that you can drag around, one for moving the hat and one for resizing and rotating it." (from the FAQ). It also showed the UI, I believe, in the blog post. – Matthew Haugen Dec 16 '14 at 21:14
  • @TravisJ Fair enough, it's a WB 2013 question, but I guess it doesn't matter much. – balpha Dec 16 '14 at 21:17
  • It's a WB 2014 question now. :-) – Shadow The Princess Wizard Dec 16 '14 at 21:30

As noted by @balpha, this is now live.

Here is how you use it:

enter image description here

  • Red: When you select the check mark for "show controls" the brown and blue controls are shown.

  • Brown: This control is a click and drag, and allows for the line between the hat and the control to dictate size (by distance) and rotation (by angle).

  • Blue: This control is a click and drag, and allows the hat placement to be moved much like a window would be moved. If the hat is moved towards the edge of the avatar zone, the hat shrinks automatically. You may also move the hat by dragging directly on it.

  • 2
    The blue thing isn't strictly necessary; you can move the hat without "show controls" just by dragging the hat itself. I just added the blue drag handle for two reasons: a) It makes it more obvious that you can move it, and b) on touch screens, where your mouse cursor is your finger, it's nice that you can move your hat while it's not hidden under your finger, so you can see how it fits your avatar. – balpha Dec 16 '14 at 21:33

We do not have any option to resize or rotate the hat. We have only to move the hat which can be done while selecting the hat. May be this should be a feature request for the next Winterbash.

  • 7
    It would be awesome...we could wear the Passed Judgement as beard! – Time Traveling Bobby Dec 17 '13 at 10:00
  • @TimeTravelingBobby Oh how great is a human mind! :D cheers – ankita alung Dec 17 '13 at 10:06
  • 3
    Yup, that's a valid request for next year. And to think previous year we couldn't even change the hat position... how did we survive?! ;-) – Shadow The Princess Wizard Dec 17 '13 at 10:10
  • We still survived very well @Sha :) – hims056 Dec 17 '13 at 10:11
  • @ShaWizDowArd, All I can say is, we can close this question as status declined and reopen next year. – Azik Dec 17 '13 at 10:11
  • 1
    @Azik - May be status-planned – hims056 Dec 17 '13 at 10:13
  • 4
    @hims056 show off! As for tag... status-next-year sounds just right. ;) – Shadow The Princess Wizard Dec 17 '13 at 10:16

You actually don't need the controls to make the hat smaller. Just drag it out of your profile picture, like this:

enter image description here


There's the the important coding and on-site considerations, such as how big or small can it go, does it fit ok at smallest and largest across all possible placements, etc, etc.

But more than that, aren't the hats just a bit of fun?
You have your avatar, then for a few weeks in winter Stack provide some hats to slap on your avatar for a good old simplistic bit of fun.
Resize, change colours, rotate, all unnecessary and in fact I think would take some of the fun element away from them.
If the hat fit perfectly it would just look like any old real avatar image, whereas I like seeing them hap-hazard and slapped on looking too high or low or too wide etc. Makes them look like a fun-like stick-on bit of a laugh.

Each to their own of course, but if you feel that strongly about it, use a graphic editor and resize it yourself directly onto your avatar image and re-upload.

You must log in to answer this question.

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