# Very small non square profile images won't save?

**URL:** <https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757>\
**Category:** Bug\
**Created:** [2015年二月27日 01:41 UTC](https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757 "2015-02-27T01:41:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ichpen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ichpen/32/115584_2.png) [@ichpen](https://meta.discourse.org/u/ichpen)\
**Post date:** [2015年二月27日 01:41 UTC](https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757/1 "2015-02-27T01:41:09Z")

</div>

New one I think discovered by a user. If profile image is not square (i.e. discourse says it’ll crop it) the image isn’t persisted. If image is manually adjusted and square, it will save it.

Using latest 1.3 beta 1 +102 version.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2015年二月27日 02:08 UTC](https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757/2 "2015-02-27T02:08:00Z")

</div>

Are you storing images locally or on s3?

@zogstrip can you have a look at this?

---

<div class="post-metadata">

**Author:** ![ichpen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ichpen/32/115584_2.png) [@ichpen](https://meta.discourse.org/u/ichpen)\
**Post date:** [2015年二月27日 02:13 UTC](https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757/3 "2015-02-27T02:13:31Z")

</div>

I tried both. Same result.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2015年二月27日 02:18 UTC](https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757/4 "2015-02-27T02:18:57Z")

</div>

Can you share some screenshots of what you are seeing?

---

<div class="post-metadata">

**Author:** ![ichpen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ichpen/32/115584_2.png) [@ichpen](https://meta.discourse.org/u/ichpen)\
**Post date:** [2015年二月27日 03:01 UTC](https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757/5 "2015-02-27T03:01:01Z")

</div>

Will do shortly but basically the following steps:

1. Profile
2. Edit profile pic
3. Select custom pic
4. Upload
5. Msg says “image not square and will be cropped etc etc”
6. Nothing happens, new image does not replace the existing avatar pic (at this stage a square pic is usually shown). No error message is shown.

Click save, no new pic.

If I manually resize the pic before uploading it works perfectly. My guess would be the image cropping isn’t working. This did work once upon a time.

EDIT: I just tried it again with a different pic, and it did crop it… Hmm.. Either intermittent issue or some sort of a size restriction.

---

<div class="post-metadata">

**Author:** ![ichpen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ichpen/32/115584_2.png) [@ichpen](https://meta.discourse.org/u/ichpen)\
**Post date:** [2015年二月27日 03:11 UTC](https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757/6 "2015-02-27T03:11:00Z")

</div>

@sam

Aha, so seems like a pic that’s 100x93px maybe too small to crop? If I manually crop it to 93x93 it uploads just fine.

Screenshot below:  
[http://awesomescreenshot.com/06d4i1kmce](http://awesomescreenshot.com/06d4i1kmce)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年七月29日 02:11 UTC](https://meta.discourse.org/t/very-small-non-square-profile-images-wont-save/25757/7 "2015-07-29T02:11:04Z")

</div>


