News:

Wondering if this will always be free?  See why free is better.

Main Menu

nCode Image Resizer

Started by vbgamer45, May 18, 2008, 01:43:55 PM

Previous topic - Next topic

noaccess

Even after checking every single code that was added (was correctly added), it didn't work. so instead I installed: http://custom.simplemachines.org/mods/index.php?mod=1769

shoeboxjoe

SMF 1.1.13, Custom Theme (Black Rain), No images load at all after nCode installed, red X in IE and nothing in FF.

I installed ncode, installed subs.php manually, copied ncode_imageresizer.js to all themes, also manually edited index.template.php for all themes, max size and width set to 0 and set nCode drop down and height/width options. Now all previous and new linked images don't load at all. Any thoughts? I'm sure its something stupid i missed, thanks!

jaisi

Please make this mod to R5 Also..... please

HunterP

Quote from: jaisi on April 07, 2011, 01:28:07 PM
Please make this mod to R5 Also..... please

It works for RC5. Either emulate or edit the package-info.xml.

http://www.hulpverleningsforum.nl/forum/index.php?topic=3895.msg858518#msg858518

That is on RC5, no problems at all.

jaisi

Hunter Sir could you please attached that mod here..

HunterP

Quote from: jaisi on April 07, 2011, 02:19:04 PM
Hunter Sir could you please attached that mod here..

I attached my package-info on the previous page.

jaisi

ok let me try first and i will tell you

jaisi

Thanks hunter its work great Thank you again

HunterP


jaisi

Quote from: HunterP on April 07, 2011, 04:15:07 PM
Quote from: jaisi on April 07, 2011, 04:13:49 PM
Thanks hunter its work great Thank you again



Sorry to say but i'am geeting this Error

http://******/index.php?action=admin;area=packages;sa=install;package=nCode_Image_Resizer_1_3_1.zip2: fclose(): supplied argument is not a valid stream resourceFile: /home/**/public_html/forum/Sources/Subs-Package.php
Line: 2502

HunterP

Quote from: jaisi on April 07, 2011, 04:16:51 PM
Sorry to say but i'am geeting this Error

If it's only the error and the package is working, don't worry. Get that error myself once in a while but the (de)installed package itself doesn't show any errors.

Kriostasys

#471
for 1.1.13 & 2.0 RC5
sorry only 3 languages

noaccess

Quote from: Kriostasys on April 09, 2011, 05:22:23 PM
for 1.1.13 & 2.0 RC5
sorry only 3 languages
It doesn't do anything at all, 2.0 RC5... uninstalled it.

aishaweb

Quote from: noaccess on May 21, 2011, 06:31:34 AM
Quote from: Kriostasys on April 09, 2011, 05:22:23 PM
for 1.1.13 & 2.0 RC5
sorry only 3 languages
It doesn't do anything at all, 2.0 RC5...

yes it does....

noaccess

Not on mine anyway, no error, installed fine... just doesn't do anything... changed some of the settings several times... etc.

aishaweb

did you change the max image sizes?  if you dont and leave them at 0 it wont have any effect because it just lets the image be whatever size it is.

Kriostasys

in the original version
as well as this he established the size of the images in:
ADMIN
Features and Options
Layout and Options

InstilledBee

This mod seems to have problems on 1.1.13, the code edit on index.template.php is buggy.

The code edit:


echo '<!-- nCode Image Resizer -->
<script type="text/javascript" src="', $settings['default_theme_url'], '/ncode_imageresizer.js"></script>';

// What is the mode?
$mode = 'none';
if (isset($modSettings['ncode_imageresizer_mode']))
{
if ($modSettings['ncode_imageresizer_mode'] == 1)
$mode = 'enlarge';
elseif ($modSettings['ncode_imageresizer_mode'] == 2)
$mode = 'samewindow';
elseif ($modSettings['ncode_imageresizer_mode'] == 3)
$mode = 'newwindow';
}

echo '
<script language="JavaScript" type="text/javascript"><!-- // -->
NcodeImageResizer.BBURL = "', $settings['images_url'], '";
NcodeImageResizer.MODE = "', $mode, '";
NcodeImageResizer.MAXWIDTH = "', empty($modSettings['ncode_imageresizer_max_width']) ? 0 : (int) $modSettings['ncode_imageresizer_max_width'], '";
NcodeImageResizer.MAXHEIGHT = "', empty($modSettings['ncode_imageresizer_max_height']) ? 0 : (int) $modSettings['ncode_imageresizer_max_height'], '";
vbphrase = new Array();
vbphrase[\'ncode_imageresizer_warning_small\'] = \'', $txt['ncode_imageresizer_warning_small'], '\';
vbphrase[\'ncode_imageresizer_warning_filesize\'] = \'', $txt['ncode_imageresizer_warning_filesize'], '\';
vbphrase[\'ncode_imageresizer_warning_no_filesize\'] = \'', $txt['ncode_imageresizer_warning_no_filesize'], '\';
vbphrase[\'ncode_imageresizer_warning_fullsize\'] = \'', $txt['ncode_imageresizer_warning_fullsize'], '\';
// ]]></script>

</head>


is missing a semicolon on the preceeding line.

Anyways I don't know if the issue has been brought up already, or the problem only happened to me, but would like to let the mod author know regardless. :)
Kung Pinoy ka, at nababasa mo 'to, kabayan kita! ;)

Links:


noaccess

Quote from: aishaweb on May 21, 2011, 06:57:52 AM
did you change the max image sizes?  if you dont and leave them at 0 it wont have any effect because it just lets the image be whatever size it is.
I don't have a small forum and I know what I'm doing after all these years... adjusting some stupid settings is not the issue. It simply doesn't work and doesn't output any errors either. Now it could be my particular setup that is causing this, but I doubt it and I don't feel like going through everything to find out what it is either.

jaisi

Please make this mod to 2.0 Gold  Also..... please

Advertisement: