[Beta] Easy Resize Posted Images - phpbb3.0.x

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
wcanetworks2
Registered User
Posts: 25
Joined: Mon Jun 20, 2011 10:36 pm

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by wcanetworks2 » Wed Jul 06, 2011 6:13 pm

best mod

michael70
Registered User
Posts: 1
Joined: Fri Jan 13, 2012 10:24 am

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by michael70 » Fri Jan 13, 2012 10:43 am

Hi Kber,

I`m installed your MOD on 3.0.10 with Board3 Portal and AeroGreen Skin.
The Easy-Resizer doesnt work :(
All the steps in the install XML are made correctly.

Please can you help me ?

http://www.bitandbyte.org/viewtopic.php?f=21&t=3

Here is the viewtopic_body.html from AeroGreen Skin

Code: Select all

<!-- INCLUDE overall_header.html -->
<!-- INCLUDE easy_resizer.html -->

<!-- IF S_FORUM_RULES -->
	<div class="forumrules">
		<!-- IF U_FORUM_RULES -->
			<h3>{L_FORUM_RULES}</h3><br />
			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
		<!-- ELSE -->
			<h3>{L_FORUM_RULES}</h3><br />
			{FORUM_RULES}
		<!-- ENDIF -->
	</div>

	<br clear="all" />
<!-- ENDIF -->

<div id="pageheader">
	<h2><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>

<!-- IF MODERATORS -->
	<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
<!-- ENDIF -->
<!-- IF U_MCP -->
	<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
<!-- ENDIF -->
</div>

<br clear="all" /><br />

<div id="pagecontent">
<div class="tbspace">
	<table width="100%" cellspacing="0">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" height="30" width="100" valign="middle" nowrap="nowrap">
        <div class="buttons">
		<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
		<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span></a></div>
	<!-- ENDIF -->
        </div>
		</td>
		<!-- IF TOTAL_POSTS -->
			<td class="gensmall" valign="middle" nowrap="nowrap">&nbsp;<b>{PAGE_NUMBER}</b>&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
			<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>
</div>
<!-- IF S_HAS_POLL -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
  </tr>
  <tr>
    <td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
    <td>
	<table width="100%" cellspacing="0">
	<tr>
		<td colspan="2" align="center">

			<form method="post" action="{S_POLL_ACTION}">

			<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center">
			<tr>
				<th>{POLL_QUESTION}</th>
			</tr>
            <tr>
				<td class="row1" align="center"><span class="gensmall">{L_POLL_LENGTH}</span></td>
			</tr>
			<tr>
				<td class="row1" align="center">
					<table cellspacing="0" cellpadding="2" border="0">
				<!-- BEGIN poll_option -->
					<tr>
					<!-- IF S_CAN_VOTE -->
						<td>
							<!-- IF S_IS_MULTI_CHOICE -->
								<input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ELSE -->
								<input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ENDIF -->
						</td>
					<!-- ENDIF -->
						<td>&nbsp;<span class="gen">{poll_option.POLL_OPTION_CAPTION}</span>&nbsp;</td>
						<!-- IF S_DISPLAY_RESULTS -->
							<td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
							<td class="gen" align="{S_CONTENT_FLOW_END}"><b>&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</b></td>
							<td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
							<!-- IF poll_option.POLL_OPTION_VOTED -->
								<td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
							<!-- ENDIF -->
						<!-- ENDIF -->
					</tr>
				<!-- END poll_option -->
					</table>
				</td>
			</tr>
		<!-- IF S_CAN_VOTE -->
			<tr>
				<td class="row1" align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td>
			</tr>
		<!-- ENDIF -->
		<!-- IF S_DISPLAY_RESULTS -->
			<tr>
				<td class="row1" colspan="4" align="center"><span class="gensmall"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></span></td>
			</tr>
		<!-- ELSE -->
			<tr>
				<td class="row1" align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td>
			</tr>
		<!-- ENDIF -->
			</table>
			{S_HIDDEN_FIELDS}
			
			{S_FORM_TOKEN}
			</form>
			
		</td>
	</tr>
	</table>
</td>
    <td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
</table>
<br />
<!-- ENDIF -->

<div class="forumbar">
<table width="100%" cellspacing="0">
			<tr>
				<td nowrap="nowrap">
				<!-- IF not S_IS_BOT -->
					<!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
				<!-- ENDIF -->
				</td>
				<td align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> | <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a></td>
			</tr>
			</table>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
  </tr>
  <tr>
    <td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
    <td>
<!-- BEGIN postrow -->





	<table class="tablebg" width="100%" cellspacing="0">
	<!-- IF postrow.S_FIRST_ROW -->
		<tr>
			<th width="158">{L_AUTHOR}</th>
			<th colspan="2">{L_MESSAGE}</th>
		</tr>
	<!-- ENDIF -->
	<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

	<!-- IF postrow.S_IGNORE_POST -->
			<td class="row3" colspan="3" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
	<!-- ELSE -->

			<td class="profile" align="center" valign="middle">
				<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
				<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
			</td>
				<!-- IF postrow.POST_ICON_IMG -->
					<td class="row3h"><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
				<!-- ENDIF -->
					<td class="row3h" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</div><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POSTED}: {postrow.POST_DATE}&nbsp;</div></td>
		</tr>
		
		<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

			<td valign="top" class="profile">
				<table cellspacing="4" align="center" width="150">
			<!-- IF postrow.RANK_TITLE -->
				<tr>
					<td align="center" class="postdetails">{postrow.RANK_TITLE}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF postrow.RANK_IMG -->
				<tr>
					<td align="center">{postrow.RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF postrow.POSTER_AVATAR -->
				<tr>
					<td align="center">{postrow.POSTER_AVATAR}</td>
				</tr>
			<!-- ENDIF -->
            <!-- IF not (postrow.ONLINE_IMG or postrow.RANK_TITLE or postrow.RANK_IMG or postrow.POSTER_AVATAR) -->
				<tr>
					<td></td>
				</tr>
			<!-- ENDIF -->
				</table>

				<span class="postdetails">
					<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
					<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
					<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->

					<!-- IF postrow.S_PROFILE_FIELD1 -->
						<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
						<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
					<!-- ENDIF -->

					<!-- BEGIN custom_fields -->
						<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
					<!-- END custom_fields -->
				</span>

			</td>
			<td valign="top" colspan="2">
				<table width="100%" cellspacing="5">
				<tr>
					<td>
					<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
						<table width="100%" cellspacing="0">
						<tr>
							<td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span><br /> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
						</tr>
						</table>

						<br clear="all" />
					<!-- ENDIF -->
						<table width="100%" cellspacing="0">
						<tr valign="middle">
							<td class="gensmall" align="{S_CONTENT_FLOW_END}">
                            <!-- IF not S_IS_BOT -->
                            <div class="profile-icons">
                                <!-- IF postrow.U_DELETE --><div class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></div><!-- ENDIF -->
                                <!-- IF postrow.U_WARN --><div class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></div><!-- ENDIF -->
                                <!-- IF postrow.U_INFO --><div class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></div><!-- ENDIF -->
                                <!-- IF postrow.U_REPORT --><div class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></div><!-- ENDIF -->
                                <!-- IF postrow.U_EDIT --><div class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></div><!-- ENDIF -->
                            	<!-- IF postrow.U_QUOTE --><div class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></div><!-- ENDIF -->
							</div>
                            <!-- ENDIF -->
							</td>
						</tr>
						</table>

						<div class="postbody">{postrow.MESSAGE}</div>

					<!-- IF postrow.S_HAS_ATTACHMENTS -->
						<br clear="all" /><br />

						<table class="attachbg" width="100%" cellspacing="1">
						<tr>
							<td class="attachrow"><b class="genmed">{L_ATTACHMENTS}: </b></td>
						</tr>
						<!-- BEGIN attachment -->
							<tr>
								<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row1"><!-- ELSE --><td class="row2"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
							</tr>
						<!-- END attachment -->
						</table>
					<!-- ENDIF -->

					<!-- IF postrow.S_DISPLAY_NOTICE -->
						<span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
					<!-- ENDIF -->
					<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
						<!-- IF postrow.EDIT_REASON -->
							<br /><br />
							<table width="100%" cellspacing="0">
							<tr>
								<td><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
							</tr>
							<tr>
								<td><span class="gensmall"><strong>Reason:</strong> {postrow.EDIT_REASON}</span></td>
							</tr>
							</table>
						<!-- ELSE -->
							<br /><br />
							<span class="gensmall">{postrow.EDITED_MESSAGE}</span>
						<!-- ENDIF -->
					<!-- ENDIF -->

					<!-- IF postrow.BUMPED_MESSAGE -->
						<span class="gensmall"><br /><br />{postrow.BUMPED_MESSAGE}</span>
					<!-- ENDIF -->
					<!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->
                    <!-- IF postrow.SIGNATURE -->
						<span class="postbody signature"><br />_________________<br />{postrow.SIGNATURE}</span>
					<!-- ENDIF -->
					</td>
				</tr>
				</table>
			</td>
		</tr>
        
        <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

			<td align="center" class="profile">
            <!-- IF postrow.ONLINE_IMG -->
			{postrow.ONLINE_IMG}
			<!-- ENDIF -->
            </td>
			<td colspan="2"><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div>
            <div align="right"><a href="#wrapheader"><img src="{T_THEME_PATH}/images/up.png" width="11" height="18" border="0" /></a>&nbsp;</div>
            </td>
	<!-- ENDIF -->
	</tr>
	<tr>
		<td class="spacer" colspan="3" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	</table>
<!-- END postrow -->
<!-- IF not S_IS_BOT -->
	<table width="100%" cellspacing="0" class="tablebg">
	<tr align="center">
		<td class="catb"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" value="{L_GO}" name="sort" /></form></td>
	</tr>
	</table>
<!-- ENDIF -->
</td>
    <td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
</table>
<div class="tbspace">
	<table width="100%" cellspacing="0">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" height="35" width="100" valign="middle" nowrap="nowrap">
		<div class="buttons">
		<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
		<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span></a></div>
		<!-- ENDIF -->
        </div>
		</td>
        <!-- IF S_QUICK_REPLY -->
        <td align="{S_CONTENT_FLOW_BEGIN}" height="35" width="100" valign="middle" nowrap="nowrap">
        <div class="buttons">
        <div class="qreply-icon"><a href="#qr" onclick="layerQR('qr')"><span></span></a></div>
        </div>
        </td>
        <!-- ENDIF -->
		<!-- IF TOTAL_POSTS -->
			<td class="gensmall" valign="middle" nowrap="nowrap">&nbsp;<b>{PAGE_NUMBER}</b>&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
			<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>
</div>
</div>

<div id="pagefooter"></div>

<br clear="all" />

<!-- IF S_QUICK_REPLY -->
<div id="qr" style="display:none;">
<!-- INCLUDE quickreply_editor.html -->
</div>
<!-- ENDIF -->

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<br clear="all" />
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
  </tr>
  <tr>
    <td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
    <td>
	<table class="tablebg" width="100%" cellspacing="0">
	<tr>
		<td class="catb"><h4>{L_WHO_IS_ONLINE}</h4></td>
	</tr>
	<tr>
		<td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
	</tr>
	</table>
</td>
    <td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
</table>
<!-- ENDIF -->

<br clear="all" />
<div class="tbspace">
<table width="100%" cellspacing="0">
<tr>
	<td width="40%" valign="top" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></td>
	<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td>
</tr>
</table>
</div>
<br clear="all" />
<div class="tbspace">
<table width="100%" cellspacing="0">
<tr>
	<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
	<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>
</div>
<!-- INCLUDE overall_footer.html -->
.. tested on Win7 64Bit Firefox 9.0.1 and IE 9
and Ubuntu 10.04 with Firefox 9

thanks
Michael

spankydom
Registered User
Posts: 1
Joined: Fri Jan 20, 2012 8:40 pm

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by spankydom » Fri Jan 20, 2012 8:43 pm

Forgive me if this is a stupid question, but where do i put the files?

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by kber » Tue Jan 31, 2012 1:13 pm

spankydom wrote:Forgive me if this is a stupid question, but where do i put the files?
Hi
simply please read the install file in your browser , then Go :)
Hello All

User avatar
Triadian
Registered User
Posts: 27
Joined: Sun Dec 09, 2001 12:29 pm
Location: Coventry, UK
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by Triadian » Sun May 13, 2012 12:36 pm

for those having issues with the top banner image being resized on custom boards do the following

Open easy_resizer.html
Find

Code: Select all

       if (document.getElementsByTagName)
       {
          for (i=0; i<document.getElementsByTagName('img').length; i++)
in the last line increase i until your board looks correct for most it will be 1 but you may need to use 3 or 5 if you use very custom headers.

for example mine uses only 1 large image at the top and thus my i=1

Code: Select all

       if (document.getElementsByTagName)
       {
          for (i=1; i<document.getElementsByTagName('img').length; i++)
hope this helps some of you.

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by kber » Sat May 26, 2012 9:02 am

Triadian wrote:for those having issues with the top banner image being resized on custom boards do the following

Open easy_resizer.html
Find

Code: Select all

       if (document.getElementsByTagName)
       {
          for (i=0; i<document.getElementsByTagName('img').length; i++)
in the last line increase i until your board looks correct for most it will be 1 but you may need to use 3 or 5 if you use very custom headers.

for example mine uses only 1 large image at the top and thus my i=1

Code: Select all

       if (document.getElementsByTagName)
       {
          for (i=1; i<document.getElementsByTagName('img').length; i++)
hope this helps some of you.
Great , thanks :)
Hello All

Rumlik
Registered User
Posts: 28
Joined: Tue Feb 08, 2011 12:42 pm
Location: Czech Republik
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by Rumlik » Thu Jul 12, 2012 1:51 am

alahamdan wrote:Hello Kber

Yes i just noticed that , i was looking to a picture having problem with its height not the width.

No way to re-size the height too?

Thanks its working fine now.
I confirm that, if the picture is more height than width(like 1600x1200), so they does not re-size the height.

Any progress?

thede18
Registered User
Posts: 128
Joined: Wed Mar 25, 2009 5:42 pm

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by thede18 » Sat Dec 08, 2012 10:01 pm

Where is the MOD download at?? I went to the Egypt site to download but the DL only had a resize.xml (which wouldn't open) and the easy_resizer.html in it (and the html file had nothing on it when I opened it in DW).

I really need a MOD like this...

Any help?

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by Jessica » Sat Dec 08, 2012 10:06 pm

thede18 wrote:Where is the MOD download at?? I went to the Egypt site to download but the DL only had a resize.xml (which wouldn't open) and the easy_resizer.html in it (and the html file had nothing on it when I opened it in DW).

I really need a MOD like this...

Any help?
This mod is still in beta. It's better to use this one: https://www.phpbb.com/customise/db/mod/ ... e_resizer/
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Slackervaara
Registered User
Posts: 195
Joined: Thu Feb 28, 2008 7:46 am

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by Slackervaara » Tue Jan 01, 2013 1:54 pm

I have used Easy Resized Posted Images for more than a year on 3.09 forum and suddenly it stopped working.
I have checked that the files still exists and that the modification of a file still is present.
viewtopic.php?f=70&t=577794

The last modification I did was addition of:
Artodia Mobile and SEO
viewtopic.php?t=2138277

Besides this my only other MOD is a javascript I found on a Swedish site that opens a new window, when clicking on a link in a post and is a modification of overall_header.html.

http://phpbb-se.com/forum/viewtopic.php?f=21&t=5804

I have inspected a forum thread with Web Developer add-on to Firefox and got this output for javascript for
Easy Resized:

Code: Select all

onload_functions.push('resizeimg();');
    function resizeimg()
    {
       if (document.getElementsByTagName)
       {
          for (i=0; i<document.getElementsByTagName('img').length; i++)
          {
             im = document.getElementsByTagName('img')[i];
             if (im.width > 500)
             {
                im.style.width = '500px';
                eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + "','phpbbegypt','fullscale','width=400,height=400,scrollbars=1,resizable=1'); pop.focus();\")");
                eval("im.onclick = pop" + String(i) + ";");
                if (document.all) im.style.cursor = 'hand';
                if (!document.all) im.style.cursor = 'pointer';
                im.title = 'Click Here To See Image Full Size ';
             }
          }
       }
    }

onload_functions.push('resizeimg();');
    function resizeimg()
    {
       if (document.getElementsByTagName)
       {
          for (i=0; i<document.getElementsByTagName('img').length; i++)
          {
             im = document.getElementsByTagName('img')[i];
             if (im.width > 500)
             {
                im.style.width = '500px';
                eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + "','phpbbegypt','fullscale','width=400,height=400,scrollbars=1,resizable=1'); pop.focus();\")");
                eval("im.onclick = pop" + String(i) + ";");
                if (document.all) im.style.cursor = 'hand';
                if (!document.all) im.style.cursor = 'pointer';
                im.title = 'Click Here To See Image Full Size ';
             }
          }

TRUBos
Registered User
Posts: 33
Joined: Fri Sep 06, 2013 11:17 pm

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by TRUBos » Mon Sep 09, 2013 10:05 pm

I uninstalled this mod and now I have many erros when viewing pages on my board.
template->_tpl_load_file(): File ./styles/prosilver/template/easy_resizer.html does not exist or is empty

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_template.php
LINE: 63
CALL: trigger_error()

FILE: [ROOT]/includes/template.php
LINE: 437
CALL: template_compile->_tpl_load_file()

FILE: [ROOT]/includes/template.php
LINE: 657
CALL: template->_tpl_load()

FILE: [ROOT]/includes/functions_template.php
LINE: 227
CALL: template->_tpl_include()

FILE: [ROOT]/includes/functions_template.php
LINE: 66
CALL: template_compile->compile()

FILE: [ROOT]/includes/template.php
LINE: 437
CALL: template_compile->_tpl_load_file()

FILE: [ROOT]/includes/template.php
LINE: 224
CALL: template->_tpl_load()

FILE: [ROOT]/includes/functions.php
LINE: 4874
CALL: template->display()

FILE: [ROOT]/viewtopic.php
LINE: 1812
CALL: page_footer()
Can I get some help on how to remove it.

I can't post new topics still get errors.

User avatar
ViolaF
Registered User
Posts: 1458
Joined: Tue Aug 14, 2012 11:52 pm

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by ViolaF » Tue Sep 10, 2013 12:06 am

Just edit these mod edits from mods xml backward ;)

</open>
styles/prosilver/template/viewtopic_body.html

<find>
<!-- INCLUDE overall_header.html -->

<after-add">
<!-- INCLUDE easy_resizer.html -->

</open>
styles/subsilver2/template/viewtopic_body.html

<find>
<!-- INCLUDE overall_header.html -->

<after-add">
<!-- INCLUDE easy_resizer.html -->

Westovski
Registered User
Posts: 15
Joined: Fri May 08, 2009 10:05 am

Re: [Beta] Easy Resize Posted Images - phpbb3.0.x

Post by Westovski » Tue Nov 12, 2013 1:42 pm

Is this still available?

Website appears to be down. =\

Locked

Return to “[3.0.x] MODs in Development”