emanuele feels he forgot something while working on simplifying the bbc resize...
ETA: this code change is not necessary, see messages below
In Load.php, try adding:
if (!empty($modSettings['signature_max_image_width']) || !empty($modSettings['signature_max_image_height']))
{
$context['html_headers'] .= '
<style>
.signature .bbc_img.resized {' . (!empty($modSettings['signature_max_image_width']) ? '
max-width:' . $modSettings['signature_max_image_width'] . 'px;' : '') . (!empty($modSettings['signature_max_image_height']) ? '
max-height:' . $modSettings['signature_max_image_height'] . 'px;' : '') . '
}
</style>';
}
just before:
// Any files to include at this point?
call_integration_include_hook('integrate_theme_include');