not sure what is the conflict between
fit on page &
my-advertisements plugins ! anyway, what was the
SQL error with the other plugin ? that was coded for an earlier version of MyBB and does not work without
modifying. have you seen the
plugin's reviews page for a possible fix
ive just done that fix and it install
s now but it does nothing at all all the images are still way too big
^ may be you can use css method
like this
below style properties should be added to bottom of global.css of the theme (advanced edit mode)
.mainimage {
max-width: 500px;
max-height: 500px;
width: expression(this.width > 500 ? "500px" : true);
height: expression(this.height > 500 ? "500px" : true);
}
below to be added as a new MyCode
\[img\](.*?)\[/img\]
replacement code for above MyCode
<img class="mainimage" src="$1"></img>
OR you can try a simple css trick like below
.post_content img {width:100% !important;}
i`ve tried the first 1 and that too does nothing but how do i try the second 1
^ such css code can be added at the bottom of global.css (edit through admin panel & edit in advanced edit mode)
^ please give a test thread url where you have large sized image
url of that thread go to error page, one that serves ??
all mettods have to work, maybe you have a conflict inside your codes, thats a reason to mods works bad, anyway everytime you made changes on css you have to do hard refresh.