ReIMG Image Resizer

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17375
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

Code: Select all

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Sun, 3 Jan 2010 14:11:25 UTC


Message: Syntax error
Line: 138
Char: 20
Code: 0
URI: http://www......com/test-t87.html


Message: 'htmls.length' is null or not an object
Line: 1
Char: 1
Code: 0
URI: http://www......com/test-t87.html
Line 138:

Code: Select all

var seo_external = ;
var seo_external_sub = ;
var seo_ext_classes = ;
var seo_hashfix = ;
Javascript errors elsewhere will result in loading js to not work. This is a problem with your SEO install.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
ihab
Registered User
Posts: 21
Joined: Sun Jan 03, 2010 3:51 pm

Re: ReIMG Image Resizer

Post by ihab »

thx soo much

but it doesn't work in arabic version :(

i swa it in ACP -> Post Settings -> Image Resize Settings

but doesn't work :o
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17375
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

ihab wrote:thx soo much

but it doesn't work in arabic version :(

i swa it in ACP -> Post Settings -> Image Resize Settings

but doesn't work :o
Nothing you've said helps. Can you be a bit more specific? What exactly doesn't work? Do you have an example post where it "doesn't work"?
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
ihab
Registered User
Posts: 21
Joined: Sun Jan 03, 2010 3:51 pm

Re: ReIMG Image Resizer

Post by ihab »

i am sorry

the worng was from me :roll:

it is work soooo great now

and thank U soooo much about the MOD ;)
ihab
Registered User
Posts: 21
Joined: Sun Jan 03, 2010 3:51 pm

Re: ReIMG Image Resizer

Post by ihab »

oooooooooops

when i click on like in the img

Image

comes this message

Code: Select all

Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ')' in /home/gazalov1/public_html/test/includes/acp/acp_board.php on line 197
:shock:
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17375
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

What's on lines 150-250 of includes/acp/acp_board.php?
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
ihab
Registered User
Posts: 21
Joined: Sun Jan 03, 2010 3:51 pm

Re: ReIMG Image Resizer

Post by ihab »

Code: Select all

						'print_pm'				=> array('lang' => 'ALLOW_PRINT_PM',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'forward_pm'			=> array('lang' => 'ALLOW_FORWARD_PM',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'auth_img_pm'			=> array('lang' => 'ALLOW_IMG_PM',			'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'auth_flash_pm'			=> array('lang' => 'ALLOW_FLASH_PM',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'enable_pm_icons'		=> array('lang' => 'ENABLE_PM_ICONS',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),

						'legend3'					=> 'ACP_SUBMIT_CHANGES',
					)
				);
			break;

			case 'post':
				$display_vars = array(
					'title'	=> 'ACP_POST_SETTINGS',
					'vars'	=> array(
						'legend1'				=> 'GENERAL_OPTIONS',
						'allow_topic_notify'	=> array('lang' => 'ALLOW_TOPIC_NOTIFY',	'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_forum_notify'	=> array('lang' => 'ALLOW_FORUM_NOTIFY',	'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_bbcode'			=> array('lang' => 'ALLOW_BBCODE',			'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_post_flash'		=> array('lang' => 'ALLOW_POST_FLASH',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'allow_smilies'			=> array('lang' => 'ALLOW_SMILIES',			'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_post_links'		=> array('lang' => 'ALLOW_POST_LINKS',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'allow_nocensors'		=> array('lang' => 'ALLOW_NO_CENSORS',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'allow_bookmarks'		=> array('lang' => 'ALLOW_BOOKMARKS',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'enable_post_confirm'	=> array('lang' => 'VISUAL_CONFIRM_POST',	'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'allow_quick_reply'		=> array('lang' => 'ALLOW_QUICK_REPLY',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),

						'legend2'				=> 'POSTING',
						'bump_type'				=> false,
						'edit_time'				=> array('lang' => 'EDIT_TIME',				'validate' => 'int:0',		'type' => 'text:5:5', 'explain' => true, 'append' => ' ' . $user->lang['MINUTES']),
						'delete_time'			=> array('lang' => 'DELETE_TIME',			'validate' => 'int:0',		'type' => 'text:5:5', 'explain' => true, 'append' => ' ' . $user->lang['MINUTES']),
						'display_last_edited'	=> array('lang' => 'DISPLAY_LAST_EDITED',	'validate' => 'bool',		'type' => 'radio:yes_no', 'explain' => true),
						'flood_interval'		=> array('lang' => 'FLOOD_INTERVAL',		'validate' => 'int:0',		'type' => 'text:3:10', 'explain' => true, 'append' => ' ' . $user->lang['SECONDS']),
						'bump_interval'			=> array('lang' => 'BUMP_INTERVAL',			'validate' => 'int:0',		'type' => 'custom', 'method' => 'bump_interval', 'explain' => true),
						'topics_per_page'		=> array('lang' => 'TOPICS_PER_PAGE',		'validate' => 'int:1',		'type' => 'text:3:4', 'explain' => false),
						'posts_per_page'		=> array('lang' => 'POSTS_PER_PAGE',		'validate' => 'int:1',		'type' => 'text:3:4', 'explain' => false),
						'smilies_per_page'		=> array('lang' => 'SMILIES_PER_PAGE',		'validate' => 'int:1',		'type' => 'text:3:4', 'explain' => false),
						'hot_threshold'			=> array('lang' => 'HOT_THRESHOLD',			'validate' => 'int:0',		'type' => 'text:3:4', 'explain' => true),
						'max_poll_options'		=> array('lang' => 'MAX_POLL_OPTIONS',		'validate' => 'int:2:127',	'type' => 'text:4:4', 'explain' => false),
						'max_post_chars'		=> array('lang' => 'CHAR_LIMIT',			'validate' => 'int:0',		'type' => 'text:4:6', 'explain' => true),
						'min_post_chars'		=> array('lang' => 'MIN_CHAR_LIMIT',		'validate' => 'int:0',		'type' => 'text:4:6', 'explain' => true),
						'max_post_smilies'		=> array('lang' => 'SMILIES_LIMIT',			'validate' => 'int:0',		'type' => 'text:4:4', 'explain' => true),
						'max_post_urls'			=> array('lang' => 'MAX_POST_URLS',			'validate' => 'int:0',		'type' => 'text:5:4', 'explain' => true),
						'max_post_font_size'	=> array('lang' => 'MAX_POST_FONT_SIZE',	'validate' => 'int:0',		'type' => 'text:5:4', 'explain' => true, 'append' => ' %'),
						'max_quote_depth'		=> array('lang' => 'QUOTE_DEPTH_LIMIT',		'validate' => 'int:0',		'type' => 'text:4:4', 'explain' => true),
						'max_post_img_width'	=> array('lang' => 'MAX_POST_IMG_WIDTH',	'validate' => 'int:0',		'type' => 'text:5:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
						'max_post_img_height'	=> array('lang' => 'MAX_POST_IMG_HEIGHT',	'validate' => 'int:0',		'type' => 'text:5:4', 'explain' =>
						'legend_reimg'			=> 'REIMG_SETTINGS',
						'reimg_max_width'		=> array('lang' => 'REIMG_MAX_SIZE',		'validate' => 'int:0',	'type' => false, 'method' => false, 'explain' => false),
						'reimg_max_height'		=> array('lang' => 'REIMG_MAX_SIZE',		'validate' => 'int:0',	'type' => false, 'method' => false, 'explain' => false),
						'reimg_max'				=> array('lang' => 'REIMG_MAX_SIZE',		'validate' => 'int:0',	'type' => 'dimension:3:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
						'reimg_rel_width'		=> array('lang' => 'REIMG_REL_WIDTH',		'validate' => 'int:0',	'type' => 'text:3:4', 'explain' => true, 'append' => ' %'),
						'reimg_swap_portrait'	=> array('lang' => 'REIMG_SWAP_PORTRAIT',	'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'reimg_ignore_sig_img'	=> array('lang' => 'REIMG_IGNORE_SIG_IMG',	'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'reimg_link'			=> array('lang' => 'REIMG_LINK_METHOD',		'validate' => 'string',	'type' => 'select', 'method' => 'select_reimg_link_method', 'explain' => true),
						'reimg_zoom'			=> array('lang' => 'REIMG_ZOOM_METHOD',		'validate' => 'string',	'type' => 'select', 'method' => 'select_reimg_zoom_method', 'explain' => true), true, 'append' => ' ' . $user->lang['PIXEL']),

						'legend3'					=> 'ACP_SUBMIT_CHANGES',
					)
				);
			break;

			case 'signature':
				$display_vars = array(
					'title'	=> 'ACP_SIGNATURE_SETTINGS',
					'vars'	=> array(
						'legend1'				=> 'GENERAL_OPTIONS',
						'allow_sig'				=> array('lang' => 'ALLOW_SIG',				'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_sig_bbcode'		=> array('lang' => 'ALLOW_SIG_BBCODE',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_sig_img'			=> array('lang' => 'ALLOW_SIG_IMG',			'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_sig_flash'		=> array('lang' => 'ALLOW_SIG_FLASH',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_sig_smilies'		=> array('lang' => 'ALLOW_SIG_SMILIES',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'allow_sig_links'		=> array('lang' => 'ALLOW_SIG_LINKS',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),

						'legend2'				=> 'GENERAL_SETTINGS',
						'max_sig_chars'			=> array('lang' => 'MAX_SIG_LENGTH',		'validate' => 'int:0',	'type' => 'text:5:4', 'explain' => true),
						'max_sig_urls'			=> array('lang' => 'MAX_SIG_URLS',			'validate' => 'int:0',	'type' => 'text:5:4', 'explain' => true),
						'max_sig_font_size'		=> array('lang' => 'MAX_SIG_FONT_SIZE',		'validate' => 'int:0',	'type' => 'text:5:4', 'explain' => true, 'append' => ' %'),
						'max_sig_smilies'		=> array('lang' => 'MAX_SIG_SMILIES',		'validate' => 'int:0',	'type' => 'text:5:4', 'explain' => true),
						'max_sig_img_width'		=> array('lang' => 'MAX_SIG_IMG_WIDTH',		'validate' => 'int:0',	'type' => 'text:5:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
						'max_sig_img_height'	=> array('lang' => 'MAX_SIG_IMG_HEIGHT',	'validate' => 'int:0',	'type' => 'text:5:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),

						'legend3'					=> 'ACP_SUBMIT_CHANGES',
					)
				);
			break;

			case 'registration':
				$display_vars = array(
					'title'	=> 'ACP_REGISTER_SETTINGS',
					'vars'	=> array(
						'legend1'				=> 'GENERAL_SETTINGS',
						'max_name_chars'		=> array('lang' => 'USERNAME_LENGTH', 'validate' => 'int:8:180', 'type' => false, 'method' => false, 'explain' => false,),
						'max_pass_chars'		=> array('lang' => 'PASSWORD_LENGTH', 'validate' => 'int:8:255', 'type' => false, 'method' => false, 'explain' => false,),

						'require_activation'	=> array('lang' => 'ACC_ACTIVATION',	'validate' => 'int',	'type' => 'custom', 'method' => 'select_acc_activation', 'explain' => true),
						'new_member_post_limit'	=> array('lang' => 'NEW_MEMBER_POST_LIMIT', 'validate' => 'int:0:255', 'type' => 'text:4:4', 'explain' => true, 'append' => ' ' . $user->lang['POSTS']),
						'new_member_group_default'=> array('lang' => 'NEW_MEMBER_GROUP_DEFAULT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
						'min_name_chars'		=> array('lang' => 'USERNAME_LENGTH',	'validate' => 'int:1',	'type' => 'custom:5:180', 'method' => 'username_length', 'explain' => true),
						'min_pass_chars'		=> array('lang' => 'PASSWORD_LENGTH',	'validate' => 'int:1',	'type' => 'custom', 'method' => 'password_length', 'explain' => true),
						'allow_name_chars'		=> array('lang' => 'USERNAME_CHARS',	'validate' => 'string',	'type' => 'select', 'method' => 'select_username_chars', 'explain' => true),
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17375
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

You've removed something here that you shouldn't have:

Code: Select all

'max_post_img_height'   => array('lang' => 'MAX_POST_IMG_HEIGHT',   'validate' => 'int:0',      'type' => 'text:5:4', 'explain' =>
Replace that with what was there before::

Code: Select all

'max_post_img_height'	=> array('lang' => 'MAX_POST_IMG_HEIGHT',	'validate' => 'int:0',		'type' => 'text:5:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
ihab
Registered User
Posts: 21
Joined: Sun Jan 03, 2010 3:51 pm

Re: ReIMG Image Resizer

Post by ihab »

new problem :S

Code: Select all

Parse error: syntax error, unexpected ')' in /home/gazalov1/public_html/test/includes/acp/acp_board.php on line 209
mmm look may the worng from me don't care :)

i will reinstall it agane :roll:
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17375
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

ihab wrote:new problem :S

Code: Select all

Parse error: syntax error, unexpected ')' in /home/gazalov1/public_html/test/includes/acp/acp_board.php on line 209
mmm look may the worng from me don't care :)

i will reinstall it agane :roll:
Looks like you didn't get rid of the code I thought you did...you just put the code change in the wrong place...right in the middle of the line you were supposed to find :roll:

So basically this line:

Code: Select all

                  'reimg_zoom'         => array('lang' => 'REIMG_ZOOM_METHOD',      'validate' => 'string',   'type' => 'select', 'method' => 'select_reimg_zoom_method', 'explain' => true), true, 'append' => ' ' . $user->lang['PIXEL']),
is supposed to be:

Code: Select all

                  'reimg_zoom'         => array('lang' => 'REIMG_ZOOM_METHOD',      'validate' => 'string',   'type' => 'select', 'method' => 'select_reimg_zoom_method', 'explain' => true),
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
freshprince
Registered User
Posts: 3
Joined: Thu Jan 07, 2010 3:09 am

Re: ReIMG Image Resizer

Post by freshprince »

Hi,

Template: Serenity Green

Problem: Mod will not work.

Description: I installed the mod using the "auto-mod" feature. During isntallation, multiple errors show "could not find"~ or something like such. These however only affect files with "prosilver" in the "file" name or w/e. Just for a test, I tried the resizing thing on the "subsilver2" template, and it seems to work. But only on images using [img] tag, not images displayed through html

Question: How can i make it work on serenity? LOL

Edit: There were multiple things during the installing (again and again) that the "mod couldn't find"
Luk4ward
Registered User
Posts: 73
Joined: Sat Nov 25, 2006 10:12 pm

Re: ReIMG Image Resizer

Post by Luk4ward »

Thx for mod, but there is ugly error when I have to reply. All icons got messed up.

edit:
fixed it by removing position absolute
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17375
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: ReIMG Image Resizer

Post by DavidIQ »

freshprince wrote:Just for a test, I tried the resizing thing on the "subsilver2" template, and it seems to work. But only on images using [img] tag, not images displayed through html
Well...of course. How else would you put an image in a post if not for the [img] tag?
freshprince wrote:Question: How can i make it work on serenity? LOL
You'll need to figure out if it's based on prosilver or subsilver2 and apply the edits from that style to yours.
freshprince wrote:Edit: There were multiple things during the installing (again and again) that the "mod couldn't find"
Then you'll need to do the style edits manually. The only reason the edits to prosilver would fail is if you've modified the template so much that the finds are no longer matching up.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
freshprince
Registered User
Posts: 3
Joined: Thu Jan 07, 2010 3:09 am

Re: ReIMG Image Resizer

Post by freshprince »

oh, ok thanks. And I actually use html for my personal posts LOL so yea.., w/e when i get it to work, I'll just put pictures under normal bbcodes
nicky1952
Registered User
Posts: 24
Joined: Fri Jan 01, 2010 2:01 pm

Re: ReIMG Image Resizer

Post by nicky1952 »

Hey guys, where is the [img] tag define. I just added a bbcode named [imgat] (with alternative text and title] and thought about how to get it working with this mod, because its not ;)

is this mod resizing the html <img> or is this mod resizing the phpbb [img] ?

thx alot !
Locked

Return to “[3.0.x] MOD Database Releases”