We use custom emojis. Some of them are bigger than standard. We use the following CSS hack to display it nicely:
/* Emoji Style */
body img.emoji[title^=":_"] {
width: initial !important;
height: initial !important;
}
This one, as example: (named :_bigboss:)
Since Beta 10 or 11 (we are on latest: v1.7.0.beta11 +38) adding new oversized emoji, generates this error:
/var/www/discourse/app/models/optimized_image.rb:110:in `block in ensure_safe_paths!'
/var/www/discourse/app/models/optimized_image.rb:109:in `each'
/var/www/discourse/app/models/optimized_image.rb:109:in `ensure_safe_paths!'
/var/www/discourse/app/models/optimized_image.rb:135:in `resize_instructions_animated'
/var/www/discourse/app/models/optimized_image.rb:192:in `downsize_instructions_animated'
/var/www/discourse/app/models/optimized_image.rb:213:in `optimize'
/var/www/discourse/app/models/optimized_image.rb:205:in `downsize'
/var/www/discourse/app/jobs/regular/resize_emoji.rb:14:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'
[code]
hostname dragon-app
process_id 110
application_version [a481bf048facd5e0c9a896d52f210b450c5a3d08, d8be3e8bb10f02912107803b28a1aa08080c9f81]
current_db default
job Jobs::ResizeEmoji
problem_db default
opts
path public/uploads/default/_emoji/_bigboss.gif
current_site_id default
[/code]
Other emjoi we added before, are still working without any problems.