MyBB Community Forums

Full Version: Image Resizer including for Portal Page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I've recently got 'Fit on Page' plugin, it's brilliant I must say. It works great on all my forum posts and threads. The problem with it, it doesn't resize the images on the portal page for my new theme. Is there any way to tweak this, perhaps add some code to have it working there as well?
I WILL PAY FOR HELP!
My website is here: http://destinycraft.hostzi.com/

This is my portal template:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<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 = "{$lang->fitonpage_topbar_resized}";
	var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
	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>
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
</td>
<td>&nbsp;</td>
<td valign="top">
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>
I will pay for help.
My website is http://destinycraft.hostzi.com/
Use this instead: http://mods.mybb.com/view/image-resizer-&-optimizer
I have portal page outside mybb folder and it still works Smile