# Allow user to specify size of image via attributes

**URL:** <https://meta.discourse.org/t/allow-user-to-specify-size-of-image-via-attributes/26130>\
**Category:** Feature\
**Created:** [9 Marzo, 2015 15:40 UTC](https://meta.discourse.org/t/allow-user-to-specify-size-of-image-via-attributes/26130 "2015-03-09T15:40:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![accalia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/accalia/32/48626_2.png) [@accalia](https://meta.discourse.org/u/accalia)\
**Post date:** [9 Marzo, 2015 15:58 UTC](https://meta.discourse.org/t/allow-user-to-specify-size-of-image-via-attributes/26130/4 "2015-03-09T15:58:03Z")

</div>

as @RaceProUK said, not much.

here’s the implementation with the relevant parts highlighted.

[https://github.com/AccaliaDeElementia/SockBot/blob/master/sock\_modules/emoji.js#L121-L135](https://github.com/AccaliaDeElementia/SockBot/blob/master/sock_modules/emoji.js#L121-L135)

Basically it follows /posts.json, looking for posts owned by the user the bot is operating on, that haven’t been touched by the bot before. then does a find/replace on a set of emoji, adds a hidden footer and fires off an edit post.

---

_[View the full topic](https://meta.discourse.org/t/allow-user-to-specify-size-of-image-via-attributes/26130)._
