Is there anyway to get an image to Fit to Page on a preview?
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?
How do I get this to work with a theme?
Works perfect with the default theme, but not on a theme I have installed
Please ignore.. I am an idiot...
I didn't have css formatting on
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
Does it take a few seconds for anyone else for the picture to resize to fit on page
Fit on Page and Profile Comments
We will make works? Thx