How to make Fit On Page work with ProPortal
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #1
How to make Fit On Page work with ProPortal
After RateU's success at getting my article gallery to resize images using the Fit On Page plugin, I figured I'd start a new thread to see if anyone can help me get my ProPortal working with Fit On Page.  Right now, everytime there is a new announcement post with large images, my ProPortal margins break.  I'd love to be able to have resized posts on the portal!  The portal is used as my home page.

This is a minor problem and I understand if you guys are busy...but I figured I'd ask because you all make it look easy!  I have been messing around with it all day and haven't gotten anywhere!  LOL

This is my pro_portal_announcement template

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$icon} <a href="{$mybb->settings['bburl']}/{$announcement['threadlink']}">{$announcement['subject']}</a></strong></td>
</tr>
<tr>
<td class="trow2" align="right" valign="middle">
<span style="float: left;">{$avatar}</span>
<span class="smalltext">{$lang->posted_by} {$profilelink} - {$anndate} {$anntime}<br />{$views} {$numcomments}</span>
</td>
</tr>
<tr>
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" width="100%">
	<tr>
		<td class="trow1" style="border: 0px;">
			<p style="margin: -2px 0;">
				{$message}
			</p>
			{$post['attachments']}
		</td>
	</tr>
</table>
</td>
</tr>
<tr>
<td class="trow2" align="right" valign="middle">
<span class="smalltext">
<a href="{$mybb->settings['bburl']}/printthread.php?tid={$announcement['tid']}"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/printable.gif" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" /></a>&nbsp;<a href="{$mybb->settings['bburl']}/sendthread.php?tid={$announcement['tid']}"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/send.gif" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>
</span>
</td>
</tr>
</table>
<br />


[Image: gallery_2_628_39582.jpg]
12-15-2010 06:49 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
How to make Fit On Page work with ProPortal - RocketFoot - 12-15-2010 06:49 AM

 Standard Tools
Forum Jump: