Опубликовано: 23 июня 20178 г IPBoard 3.4.5Вставленная изображение выходит за рамки поста Settings: Topics, Posts and Polls: - Automatic resize image force size: 1024 На бальшом разрешение монитора всё ok: Но на 800/600: Ссылка для примера: http://goo.gl/WkPDRK Выручайте пожалуйсто :) я никак не смог исправить.
Опубликовано: 23 июня 20178 г В css у Вас img.bbc_img { max-width: 1024px !important; max-height: 1024px !important;} Меняйте на img.bbc_img { max-width: 70% !important; max-height: 70% !important;} И будет масштабировать.
Опубликовано: 23 июня 20178 г Автор img.bbc_img { max-width: 1024px !important; max-height: 1024px !important; }Это определяется с: "Settings: Topics, Posts and Polls: - Automatic resize image force size: 1024" Если добавить в css:img.bbc_img { max-width: 70% !important; max-height: 70% !important; }Он не работает. А то можно и 99% skin_global:<if test="$this->settings['resize_img_force']"> <!-- Forces resized images to an admin-defined size --> <style type='text/css'> img.bbc_img { max-width: {$this->settings['resize_img_force']}px !important; max-height: {$this->settings['resize_img_force']}px !important; } </style> <else /> <style type='text/css'> img.bbc_img { max-width: 100% !important; } </style> </if>
Опубликовано: 23 июня 20178 г Автор @Атаман Спасибо. Сделаю так, думаю будет лучше :) Работает в любом разрешение монитора <if test="$this->settings['resize_img_force']"> <!-- Forces resized images to an admin-defined size --> <style type='text/css'> img.bbc_img { max-width: 99% !important; max-height: 99% !important; } </style> <else /> <style type='text/css'> img.bbc_img { max-width: 100% !important; } </style> </if>
Опубликовано: 23 июня 20178 г Раздобыл доступ на один ресурс. Это определяется с: "Settings: Topics, Posts and Polls: - Automatic resize image force size: 1024" Просто нужно установить 0, и после в коде уменьшить % Работает в любом разрешение монитора <if test="$this->settings['resize_img_force']"> <!-- Forces resized images to an admin-defined size --> <style type='text/css'> img.bbc_img { max-width: 99% !important; max-height: 99% !important; } </style> <else /> <style type='text/css'> img.bbc_img { max-width: 100% !important; } </style> </if>
Опубликовано: 23 июня 20178 г Автор @Атаман Огромное спасибо за внимание и помощь. Всё работает отлично.
IPBoard 3.4.5
Вставленная изображение выходит за рамки поста
Settings: Topics, Posts and Polls: - Automatic resize image force size: 1024
На бальшом разрешение монитора всё ok:
Но на 800/600:
Ссылка для примера: http://goo.gl/WkPDRK
Выручайте пожалуйсто :) я никак не смог исправить.