News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

nCode Image Resizer

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

Previous topic - Next topic

Ashdaw

You are more than welcome to visit my site.
Greycastle

poomkupz



luuuciano

btw, the new toggle in rc3... is active by default? have to be activated?

I can not find it... and images are just showed at 100%
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Nibogo

Quote from: luuuciano on March 23, 2010, 02:21:09 AM
btw, the new toggle in rc3... is active by default? have to be activated?

I can not find it... and images are just showed at 100%

It's you just need to set a maximun width and height for posted images

As I said it's working for me pretty well :)

luuuciano

mmm, thats is odd... I had it in 0, but then changed it to 600 width, and 600 height...
but things like this: http://cbabikes.com.ar/foros/index.php/topic,1028.0.html
just shows the pictures at 100%...

I have tried changing to default, core themes... and the same (and deleted the file cache, just in case)

that rc3 toggle works with external images too?
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).


Ashdaw

I will ask this again. I would like to know how I can fix the problem I now have with this Mod and version 1.1.11.

1.     Execute Modification     ./Sources/ModSettings.php     Test successful
2.    Execute Modification    ./Sources/Subs.php    Test failed
3.    Execute Modification    ./Themes/default/index.template.php    Test successful
You are more than welcome to visit my site.
Greycastle

luuuciano

install it

go here
http://custom.simplemachines.org/mods/index.php?mod=1197

do a parse to 1.1.11... do the changes to subs.php by yourself
upload the file

at least I would do that... no idea if there is a better way to go


or better, before install it check the parse, subs.php file and study what is ahppening, why it fails to do the change...
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Ashdaw

Quote from: luuuciano on March 27, 2010, 11:00:33 AM
install it
go here
http://custom.simplemachines.org/mods/index.php?mod=1197
do a parse to 1.1.11... do the changes to subs.php by yourself
upload the file
at least I would do that... no idea if there is a better way to go
or better, before install it check the parse, subs.php file and study what is happening, why it fails to do the change...

I did that but, the text that is supposed to be there just isn't. It's hard to replace something that isn't there.
All of that code is missing from my Subs.psp :(
Thanks for trying though. :)

array(
'tag' => 'img',
'type' => 'unparsed_content',
'content' => '<img src="$1" alt="" border="0" />',
'validate' => create_function('&$tag, &$data, $disabled', '
$data = strtr($data, array(\'<br />\' => \'\'));
if (strpos($data, \'http://\') !== 0 || strpos($data, \'https://\') !== 0)
$data = \'http://\' . $data;
'),
'disabled_content' => '($1)',
),
You are more than welcome to visit my site.
Greycastle

luuuciano

upload your Subs.php here
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Ashdaw

Thanks very much luuciano. :)

You are more than welcome to visit my site.
Greycastle

luuuciano

your code from lines 1348 through 1352 have changed... you may search that lines in a full install 1.1.11 Subs.php file, replace them in your Subs.php, upload it and try to install the mod...
as always, do a backup first
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

marko_andres

If i replace the v.1.2 for the v.1.3, will have a problem?

i use the 1.1.11 SMF version

Version SMF: 2.0 RC3
Theme        : Inferno
Portal          : Simple Portal 2.3.2


Por un cambio de conciencia --> http://thezeitgeistmovement.com/

tycms

Quote from: ElectricSquid on September 13, 2009, 10:30:30 PM
I've been going thorough my site validating the XHTML and eliminating errors.
Thats when i found an error that nCode Image Resizer is creating.
The short version is that the attribute "onload" is invalid for XHTML 1.0 Transitional.

Here's what the W3.org validator says about this error...
Doctype:   XHTML 1.0 Transitional

Quote

Validation Output: 1 Error

there is no attribute X
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Line 683, column 173: Attribute "onload" exists, but can not be used for this element.
...etal2.png" alt="" border="0" onload="NcodeImageResizer.createOn(this);" /></a>


The above quoted error is from a div tag located in a users sig, below is the full tag. But this same error happens on every pic that nCode resizes on the page. For some reason "onload" is not a correct attribute to use with XHTML 1.0 Transitional, which SMF uses.

    <div class="signature"><a href="http://redneckfabrication.com" target="_blank"><img src="http://redneckfabrication.com/images/RFmetal2.png" alt="" border="0" onload="NcodeImageResizer.createOn(this);" /></a></div>

So what do I use instead of onload?
How do we get around this and get correct with XHTML 1.0 Transitional?

Any solutions on this?

Miasma

1.   Execute Modification   ./Sources/ManageSettings.php   Test failed
2.   Execute Modification   ./Sources/Subs.php   Test failed

On clean install of 2rc3.

tycms

#336
Miasma, did you try "Emulate version SMF 2.0 RC2"?
http://www.simplemachines.org/community/index.php?topic=49410.msg2584095#msg2584095

I am not currently using nCode Image Resizer, but I remember that I could install it on RC3. It it doesn't work, I can check it again and help you.

luuuciano

btw... weeks ago an NCIR user uploaded here a version that worked and was packed to be used against rc3...
that file/post was deleted?
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).


ishaan

#339
Hello Brother.!!

I am installed ur nCode Image Resizer  mod.

But a msg is showing all image's top

"This image has been resized. click this bar.................."

I want to remove that msg tag. is it possible ? plss tell me how ?

Powered by SMF 1.1.11







Advertisement: