Thread Rating:
  • 20 Vote(s) - 3.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release 1.4/1.6] Fit on Page (Update: v2.3 Released)
Is there anyway to get an image to Fit to Page on a preview?
Reply
Hello, i have Fit on Page and ProPortal
I read a post in page 26 of this topic in which G33K said to change all scripts in PROPORTAL templates in
<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
    var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
    var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
    var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
    var fitonpage_topbar_resized = "Image has been scaled down %PERCENT% (%RSIZE%). Click this bar to view original image (%OSIZE%). Click image to open in new window.";
    var fitonpage_topbar_full = "Image is shown in its original resolution (%OSIZE%). Click this bar to resize image to fit in page (%RSIZE%). Click image to open in new window.";
    var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
    var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
    var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
    var fitonpage_location = "portal";
-->
</script>
For me it didn't work. Why?
Founder of Gamer-Core.it, Gamer-Nest.com and Militarypedia.it
[Image: logo.png]
Reply
How do I get this to work with a theme?

Works perfect with the default theme, but not on a theme I have installed
Reply
You'll need to make these changes to the templates of the custom theme: http://community.mybb.com/thread-53553-p...#pid582651
Reply
(2014-01-27, 12:38 PM)Cameron:D Wrote: You'll need to make these changes to the templates of the custom theme: http://community.mybb.com/thread-53553-p...#pid582651
I had already tried that with no luck

I've edited the template, but this photo for example is not showing http://irishmotoring.com/showthread.php?...10#pid1210
Reply
Please ignore.. I am an idiot...

I didn't have css formatting on Sad
Reply
Hi I have the exact same problem. Side of the image just cut out. I am using themefreak.net Duty-call theme. Any workaround? please let me know
[Image: uKVQ1Bc.png]

Best seo And money making forum
Reply
Does it take a few seconds for anyone else for the picture to resize to fit on page
Reply
Fit on Page and Profile Comments

We will make works? Thx
Reply
It doesn't work for me Sad Using ChowSpace
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)