MyBB Community Forums

Full Version: fit on page plugin not working when my advertisements is on ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
as above fit on page plugin is not working when my advertisements is on any idea how to fix this ?
i have also tried this plugin http://mods.mybb.com/view/image-resizer and i just get a sql error when i click install
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 installs 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)
that dont work either
^ please give a test thread url where you have large sized image
i`ve just set attached images to display as thumbnails now and increased the thumbnail size but still need to make other images smaller that was put on using a image code

here you go m8 http://www.vauxhallmodified.com/thread-7...l#pid24707
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.
Pages: 1 2