vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - The Image Resizer. Powered with Lytebox / Highslide / Lightview / and many more! (https://vborg.vbsupport.ru/showthread.php?t=184571)

gabrielt 08-25-2008 11:36 PM

Hey,

I found a small bug on nCode Image Resizer: UserCP inclusion plugin.

Where is:

Code:

$customfields['threadview'] .= '<fieldset class="fieldset">
                                                                <legend><label for="theimageresizer">' . $vbphrase['ncode_imageresizer_profileoptions_title'] . '</title></legend>' . $vbphrase['ncode_imageresizer_profileoptions_title_desc'] . '';

Should be:

Code:

$customfields['threadview'] .= '<fieldset class="fieldset">
                                                                <legend><label for="theimageresizer">' . $vbphrase['ncode_imageresizer_profileoptions_title'] . '</label></legend>';

Two errors: you used </title> instead of </lable> and you can post a text ($vbphrase['ncode_imageresizer_profileoptions_title_desc']) outside the table that follows or you will have a break in layout. In fact, $vbphrase['ncode_imageresizer_profileoptions_title_desc'] and $vbphrase['ncode_imageresizer_mode_description'] are identical, showing that the above piece was added by mistake.

Cheers,
Gabriel.

zeroyon 08-26-2008 10:59 AM

There seems to be an issue with "errors on page" improper syntax if used with the Zoints Profile system.. any clues...

Line 390 Character 30 Improper syntax... attached is the page code..

TCattitude 08-26-2008 12:38 PM

Quote:

Originally Posted by gabrielt (Post 1606882)
Nice. Installed. A small bug though. Line 120 from ncode_imageresizer.js must be changed from

mimg.src = NcodeImageResizer.BBURL+'/images/statusicon/wol_error.gif';

to

mimg.src = '/images/statusicon/wol_error.gif';

Thanks
Gabriel.

For me (and many others) in multiples installs, this works ok. Comes in that way from ncode image resizer for vb's 3.6.x.
I just change (in headinclude template) the order of the javascripts. Now it declare first, and then call the ncode .js

Quote:

Originally Posted by gabrielt (Post 1606946)
Hey,

I found a small bug on nCode Image Resizer: UserCP inclusion plugin.

Where is:

Code:

$customfields['threadview'] .= '<fieldset class="fieldset">
                                                                <legend><label for="theimageresizer">' . $vbphrase['ncode_imageresizer_profileoptions_title'] . '</title></legend>' . $vbphrase['ncode_imageresizer_profileoptions_title_desc'] . '';

Should be:

Code:

$customfields['threadview'] .= '<fieldset class="fieldset">
                                                                <legend><label for="theimageresizer">' . $vbphrase['ncode_imageresizer_profileoptions_title'] . '</label></legend>';

Two errors: you used </title> instead of </lable> and you can post a text ($vbphrase['ncode_imageresizer_profileoptions_title_desc']) outside the table that follows or you will have a break in layout. In fact, $vbphrase['ncode_imageresizer_profileoptions_title_desc'] and $vbphrase['ncode_imageresizer_mode_description'] are identical, showing that the above piece was added by mistake.

Cheers,
Gabriel.

Was already mentioned earlier in the thread, and is already fixed in v1.2.7 ;)

...

@Subah, i'm not ignoring you. It's just this threads for keep bugfixing and feature request are not efficient at all. Sorry.

TCattitude 08-26-2008 01:32 PM

Quote:

Originally Posted by Subah (Post 1586975)
Having lettle problem with the sighutre when i click on the bar to see the orginal size "inlargment in the same windows" its work fine but i click on it again to return to the small size it would`nt ?!

Fixed in v1.2.7

Quote:

Originally Posted by digibyte (Post 1591306)
Hi,

How can I disable this (brilliant!) plug-in for a specific style? I don't want all this javascript in my mobile vBulletin styles. Any ideas? Thanks!

Implemented in v1.2.7

zglows 08-26-2008 03:00 PM

This is an awesome mod TCattitude.
In a forum I visit when you add a very large image through [IMG] bbcode, and load the final post the image is not displayed until is fully loaded.
So the style never breaks.

Is this possible to accomplish?

TCattitude 08-26-2008 04:52 PM

Quote:

Originally Posted by Arminios (Post 1584991)
W3 validation error

Any ideas?

Fixed. New option/choice in v1.2.7

Arjan 08-26-2008 06:49 PM

This mod works just fine with the IMG tags for me.
But with the embedded attachments it does not work for me. The embedded attachments stay the original size.
When I look in the HTML code, I see "onLoad" added to the IMG tag for the IMG BB-code but not for the embedded attachments.

Here you can see it in one post: external image is resized, attachment stays original size:
http://www.nederlandseluchtvaart.nl/....html#post4081

Tested on my other site: Same issue:
http://www.simmerspaintshop.com/foru...size-test.html

Any clue what is going wrong here?

vbboarder 08-26-2008 09:03 PM

Quote:

Originally Posted by Arjan (Post 1607573)
This mod works just fine with the IMG tags for me.
But with the embedded attachments it does not work for me. The embedded attachments stay the original size.
When I look in the HTML code, I see "onLoad" added to the IMG tag for the IMG BB-code but not for the embedded attachments.

Here you can see it in one post: external image is resized, attachment stays original size:
http://www.nederlandseluchtvaart.nl/....html#post4081

Tested on my other site: Same issue:
http://www.simmerspaintshop.com/foru...size-test.html

Any clue what is going wrong here?

This mod works fine for me for both external images and attachments. What media player are you using? I'm using Shadowbox with no problems.

TCattitude 08-26-2008 11:36 PM

v1.2.7 (August 26th, 2008)
- Added. Option to exclude certain styles from apply all the image-resizer thing.
That way you can exclude you "mobile" style (mobile style hack @ vb.org)
and not overload that with all the javascripts from lightboxes.
Downsize: images in those excluded styles will not resize images.
- Added. CSS Class for resized images. You can easily customize your needs for HOW
to display a downsized image, borders, spacers, and many others only using
the defined CSS Class.
CSS class for img tags are:
tcattdimgresizer ->normal IMG tag
tcattdimglink -> IMGLINK tag
- Fixed. Proper fieldset in UserCP options for Image Resizer. Now really fixed (i hope).
- Fixed. Using "resize in same window" for signatures not downsize well the image
after user click to go back from full size to small size.
- Fixed. Not a fix really, but implemented the downsize of image attachments in vbadvanced
news module. I'm not using vbadv anymore, that's why i don't "see" that before.
- Fixed/Added. Fix the Not Valid XHTML 1.0 Transitional.
Added an option to choose a new javascript metod to resize images, that's
100% valid. Is optional, so you can keep the old and nice Ncode mode,
or change it to the new one.

vbboarder 08-27-2008 12:28 AM

Thanks for the update! Everyone, vote for this mod (I'm sure it can win or at least get 2nd place ;) ): https://vborg.vbsupport.ru/showthread.php?t=186918


All times are GMT. The time now is 09:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01680 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete