Is there a plugin that automatically resizes an image to fit on a screen? For example when embedding an image in a thread, mobile users can only see half of the picture.
Example:
Example:
![]() |
Is there a plugin that automatically resizes an image to fit on a screen? For example when embedding an image in a thread, mobile users can only see half of the picture.
Example: ![]() (2021-09-05, 07:45 AM)kfakes Wrote: Is there a plugin that automatically resizes an image to fit on a screen? For example when embedding an image in a thread, mobile users can only see half of the picture. In the default MyBB theme you can find following line in the postbit and postbit_classic template
and in the postbit_classic template additionaly the line
You would have to adapt your themes accordingly unless they do not show the scaleimages CSS class. After integrating this in your themes you would have to include following CSS class in your global.css of your themes
and modify the value of max-width to your requirements.... No need for plugin, MyBB Core has this in place already!
my theme already has that intergrated,
postbit_classic: global.css
then add there
object-fit: cover;
|
« Next Oldest | Next Newest »
|