![]() |
[How To?] how to auto-resize images in postbit - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: General Support (https://community.mybb.com/forum-176.html) +--- Thread: [How To?] how to auto-resize images in postbit (/thread-167102.html) Pages:
1
2
|
RE: how to auto-resize images in postbit - Ronshaan - 2015-02-16 (2015-02-15, 11:04 AM)Jockl Wrote: I guess you would have to integrate the scaleimages class in your postbit template and try to adapt "max-width"-value in the CSS class "scaleimages". hi, thank u for the help can u guide what to update in postbitcss ? mean what is the code that should be typed please? RE: how to auto-resize images in postbit - Jockl - 2015-02-16 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....
RE: how to auto-resize images in postbit - Ronshaan - 2015-02-17 hi, i did what you advised it worked on google chrome but not working on IE and firefox how to fix that ?? for example - this post http://shaanse.com/Forum/showthread.php?tid=3487 shows normaly on chrome but on other browsers it shows pics out of the page ![]() RE: how to auto-resize images in postbit - Jockl - 2015-02-17 Cannot see any problems at IE, FF and Chrome using the above link. Each browser scales the images correctly. I tried different themes as well. RE: how to auto-resize images in postbit - Ronshaan - 2015-02-18 after doing that now i see the new issue the smiley in postbit is so big i did some thing wrong i guess but can not figure what. ![]() RE: how to auto-resize images in postbit - Leefish - 2015-02-18 Looks like you used width instead of max-width. ? RE: how to auto-resize images in postbit - Ronshaan - 2015-02-18 Yes i did so i fixed it thank you ![]() |