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
Lich_king2 Offline
Member
***
Posts: 52
Joined: Jun 2010
Post: #2
RE: How to make Fit On Page work with ProPortal
I'm using ProPortal also, still I'm not sure but there should be some call for the plugin on the portal template. Since the Fit on Page plugin probably inserts the code in postbit also.

It's time for ZeuBB!Tux
Nota Bene: If people want to be successful they need to help each other.
12-15-2010 06:08 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #3
RE: How to make Fit On Page work with ProPortal
User highslide image resizer plugin, it will fit the images at any place, pro portal, xthreads and all.
12-15-2010 07:47 PM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #4
RE: How to make Fit On Page work with ProPortal
(12-15-2010 07:47 PM)1master1 Wrote:  User highslide image resizer plugin, it will fit the images at any place, pro portal, xthreads and all.

I've thought about Highslide...wonder if it will work with Fit on Page?  The only thing I don't like about Highslide is no control over thumbnail size.

[Image: gallery_2_628_39582.jpg]
12-15-2010 09:47 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #5
RE: How to make Fit On Page work with ProPortal
you can change the resize image attributes in the plugin .php file directly and i think it will work along with fit on page
12-15-2010 10:48 PM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #6
RE: How to make Fit On Page work with ProPortal
Good news!  G33k (Fit to page author) logged into my ACP and got me fixed up on the portal!  Everything is golden now!

I may still look into Highslide though!  I like the light box effect.

Thanks everyone!

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

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: