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)

Jaxel 08-21-2008 03:30 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1603357)
As per the 1st thread... There is a new bbcode added = for linked images. Read the included instructions file ;)

Jacquii.

I have tried it with "IMGLink tag" set to both Yes and No... and neither made a difference for me.

PoetJA-1975 08-21-2008 05:05 AM

Quote:

Originally Posted by Jaxel (Post 1603492)
I have tried it with "IMGLink tag" set to both Yes and No... and neither made a difference for me.

It's a known "issue"
There's nothing you can do about making the images as clickable links with the image resizer installed. You can only use the new [imglink] bbcode or some other image bbcode instead, because all [img] are now associated with the resizer ;)

Jacquii.
Quote:

The Image Resizer adds a new link ("a href" html tag) to the posted images, and brokes all posted images WITH a link, like this:
[img]imgurl[/img].
The link will not open, just the image into the selected Lightbox.

It's not a bug. All the Lightboxes NEEDS this link to open the fancy layers over the website.

To solve this, The Image Resizer add a new BBcode: IMGLINK
Use like the normal IMG tag, and use it for images with a link, like this:
[imglink]imgurl[/imglink]
Those IMGLINK tag will not have any Lightbox attached, and you can still choose if downsize them.

Jaxel 08-21-2008 05:26 AM

Oh... I get it...thanks...

The instructions in this mod for the [imglink] stuff is in broken english, so I couldnt understand it.

solidlink 08-21-2008 12:42 PM

I got this problem when I tried to access blogs:

Fatal error: Call to undefined function: ncode_imageresizer_replace() in /home/navigk/domains/onestash.com/public_html/forums/blog.php(2768) : eval()'d code on line 2

xili4n 08-21-2008 12:42 PM

Noone else experiencing the same problems I am?

https://vborg.vbsupport.ru/showpost....&postcount=218

Subah 08-21-2008 03:29 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 ?!

Quote:

Originally Posted by Subah (Post 1600368)
Seems there is a lot problems with the signatures !!

Quote:

Originally Posted by Subah (Post 1600119)
ignoring me :confused:

Why is TCattitude ignoring me ?

cjddrum1 08-21-2008 06:29 PM

I am having a problem with safari when this modification is enabled. It works fine in OSX on firefox but when I boot up safari and visit my site with the mod enabled it just freezes and crashes... :confused:

LWS 08-22-2008 04:18 AM

Installed and so far seems to be working perfect! Thanks for this mod..it was exactly what i needed!

vbboarder 08-23-2008 11:59 PM

Quote:

Originally Posted by meissenation (Post 1591775)
Works good, just seems like it's not compatible with ajax. I find myself having to refresh a page before the lytebox decides to work, especially after creating a new thread or new post. Using Firefox 3.0.1.

Quote:

Originally Posted by Merjawy (Post 1596215)
I was checking all the different types, some of them brake the forum.. so I had to stick with few only... I can't remember which ones didn't work.

also, when editing a thread/post with quick edit, all attachments disapear .. I had to edit with full editor to bring them back

lovely mod though
Thanks

I also had the Image Resizer and other JS mods (ie: bbCode spoiler) not working after a user performs a quick reply or quick edit. However, after installing these 2 cool mods by PHPKD, I no longer have that problem! The 2 mods are:

Advanced Quick Reply: https://vborg.vbsupport.ru/showthread.php?t=180330

Advanced Quick Edit: https://vborg.vbsupport.ru/showthread.php?t=184971

Not sure how these 2 mods fixed the problem, but hey it's working! :D
Note: I'm using VB 3.7.2 and Shadowbox in this mod.

gabrielt 08-25-2008 10:19 PM

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.

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

Currawong 08-27-2008 12:33 AM

Edit: Can download it now.

zglows 08-27-2008 05:08 AM

voted for mod of the month.
thanks for the update!

Can you please answer my previous question?

Arjan 08-27-2008 05:29 AM

Quote:

Originally Posted by vbboarder (Post 1607662)
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.

You mean you see things correctly on my pages?
I can hardly believe that, since for the embedded attachemnts the tag onload="NcodeImageResizer.createOn(this);" is missing, which is there in the external images.
And I have the feeling you haven't even taken a look, since you have to ask which mediaplayer I use...

jambo_1969 08-27-2008 05:46 AM

For some reason - PNG files won't show ?

Arjan 08-27-2008 06:11 AM

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?

Meanwhile installed the new version on the second site. and tried TCattd mode. Embedded attachments are still not downsized
Tried turning off CMPS and vbSEO, but problem is still there.
Disabled PassiveVid, no avail.

As a test and possible quick and dirty fix I tried to put onload="NcodeImageResizer.createOn(this);" into the class_bbcode.php in this line
PHP Code:

$replace[] = "<img src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;d=$attachment[dateline]\" border=\"0\" alt=\"" 

I tried a few different ways, but the all cause errors. Can someone tell me what the line should look like with onload="NcodeImageResizer.createOn(this);" in it?

Stoebi 08-27-2008 06:17 AM

Hi

Thanks for the update. :)
It is possible to update highslide 3.3.22 to 4.0.4, please?


Regards, Stoebi

Sakera 08-27-2008 08:12 AM

Has anyone found a solution for highslide not centering images when zooming external images ? They Zoom out from upper left corner instead of from the image itself....

GrendelKhan{TSU 08-27-2008 11:14 AM

couldn't find the answer...

anyone know if this works with VBAGALLERY (aka vbphotopost gallery)?

Subah 08-27-2008 11:40 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1608134)
couldn't find the answer...

anyone know if this works with VBAGALLERY (aka vbphotopost gallery)?

No it is not

TCattitude 08-27-2008 12:25 PM

Quote:

Originally Posted by zglows (Post 1607438)
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?

That will require server resources to check the image dimensions and "hide" it until is fully loaded, i think, and that's not the point of this mod (to use server resources for image downsizing).
Really, i don't figure out how they (from your example) did it (in case they don't use server resources for that).

Quote:

Originally Posted by GrendelKhan{TSU (Post 1608134)
couldn't find the answer...

anyone know if this works with VBAGALLERY (aka vbphotopost gallery)?

I don't own that product, so... sorry, nothing i can do.

Quote:

Originally Posted by Arjan (Post 1607930)
You mean you see things correctly on my pages?
I can hardly believe that, since for the embedded attachemnts the tag onload="NcodeImageResizer.createOn(this);" is missing, which is there in the external images.
And I have the feeling you haven't even taken a look, since you have to ask which mediaplayer I use...

It works like that.
Attach "integration" only means about replacement for vb's default lightbox to lightbox selected by you in the admincp.
Attachments have thumbnails and when i test it, i use those, so i don't see a point in downsize them if already have a downsize version of the image within the thumb itself.

But, it's not a bug.

Quote:

Originally Posted by Stoebi (Post 1607951)
Hi

Thanks for the update. :)
It is possible to update highslide 3.3.22 to 4.0.4, please?


Regards, Stoebi

Yeah sure. Will release a minor update today i hope, 1.2.7b, just for that.

Arjan 08-27-2008 12:58 PM

Quote:

Originally Posted by TCattitude (Post 1608164)
It works like that.
Attach "integration" only means about replacement for vb's default lightbox to lightbox selected by you in the admincp.
Attachments have thumbnails and when i test it, i use those, so i don't see a point in downsize them if already have a downsize version of the image within the thumb itself.

But, it's not a bug.

OK, I thought it would also resize embedded attachments. I know it is possible from a hardcoded resize mod.
I didn't consider it a bug, but thought something on my boards was getting in the way somehow.
Reason why I want it on embedded attachments, because I do not use thumbnails since I want to display the full image in articles and tutorials.
But that does also allow users to post (too) big images at other places.

Could you tell me how to add onload="NcodeImageResizer.createOn(this);" in the line in the php file, like I asked before? My attempts with a / before the " did throw up errors.
If I manage to add it, then this mod works exactly like I would want it to.

jambo_1969 08-27-2008 01:29 PM

PNG images files ?

Actually now I dig deeper, using Lytebox, it seems very hit or miss whether it actually works ?

Sometimes it opens in a new window, sometimes I get a hanging white box, other times, it does work...

What am I missing ?

irishblue 08-27-2008 03:23 PM

thanks for the update! love this mod :)
however it is still not working on vbadvanced in its img tags, do we need to insert some code in the vbadvanced templates?

ps: lytebox doesn't seem to work in the new version, it opens just the image in the same window but without the lightbox effect. I switched to lightview and it is working fine.

TCattitude 08-27-2008 03:46 PM

Quote:

Originally Posted by Arjan (Post 1608190)
OK, I thought it would also resize embedded attachments. I know it is possible from a hardcoded resize mod.
I didn't consider it a bug, but thought something on my boards was getting in the way somehow.
Reason why I want it on embedded attachments, because I do not use thumbnails since I want to display the full image in articles and tutorials.
But that does also allow users to post (too) big images at other places.

Could you tell me how to add onload="NcodeImageResizer.createOn(this);" in the line in the php file, like I asked before? My attempts with a / before the " did throw up errors.
If I manage to add it, then this mod works exactly like I would want it to.

Solved.
Added and option in v1.2.8 to downsize attachs with no thumbs.

Quote:

Originally Posted by irishblue (Post 1608272)
thanks for the update! love this mod :)
however it is still not working on vbadvanced in its img tags, do we need to insert some code in the vbadvanced templates?

ps: lytebox doesn't seem to work in the new version, it opens just the image in the same window but without the lightbox effect. I switched to lightview and it is working fine.

I have no vbadvanced install running on live, and... too lazy to install it on the test board (for now; thing to do outside here). Some example url to "see" the problem?.

NO lightbox was touched in this update (and in v1.2.8 just highslide will be updated). So, i think it's not a problem with this mod and his update.

TCattitude 08-27-2008 03:53 PM

Update released.

v1.2.8 (August 27th, 2008)
- Updated. Highslide from 3.3.22 to 4.0.4
- Added. Option to downsize attached images with no thumbnail.
- Fixed. A problem with highslide image path in forums with vb's files
in the server root. Before some installs take the paths well, some not.
Changed the way it load the CSS into the highslide template (just path vars)
to fix that, using vboptions->bburl for full path.

To upgrade you need to:
- upload (and overwrite) the file folder /clientscript/highslide/
Then, re-import the new 1.2.8 product (allow overwrite = yes).

irishblue 08-27-2008 03:56 PM

Quote:

Originally Posted by TCattitude (Post 1608286)
Solved.
Added and option in v1.2.8 to downsize attachs with no thumbs.

I have no vbadvanced install running on live, and... too lazy to install it on the test board (for now; thing to do outside here). Some example url to "see" the problem?.

NO lightbox was touched in this update (and in v1.2.8 just highslide will be updated). So, i think it's not a problem with this mod and his update.

here's an example url for vbadvanced: http://www.denisehocc.com/
it works in the thread: http://www.denisehocc.com/forum/showthread.php?t=5822

Subah 08-27-2008 04:04 PM

Thanks for the update again ;)

Bansidhe 08-27-2008 04:30 PM

Quote:

Originally Posted by irishblue (Post 1608295)
here's an example url for vbadvanced: http://www.denisehocc.com/
it works in the thread: http://www.denisehocc.com/forum/showthread.php?t=5822

Hello Irishblue -

I used Highslide and I actually installed this mod last night and updated it myself to version 4.0.4. Sorry TC it was before I woke up this morning to see that you have already done that in the lastest version.

With vbadvanced, Highslide works fine with [img] attachments. It auto downsized the images on the portal page. You can check it out here:

http://dpworldgaming.dpguild.net/

See more of the [img] tage here :

http://dpworldgaming.dpguild.net/for...ead.php?t=3358

And attachment look here (post #20):http://dpworldgaming.dpguild.net/for...?t=3358&page=2

I didn't do anything special for the [img] downsizing to work. I use the same mod. I just changed the way my Highslide looks when used.

MadK 08-27-2008 04:32 PM

Thanks for the latest upgrade, but that's how the latest URL for some images looks like now:

forums/clientscript/highslide/clientscript/highslide/graphics/loader.gif

jambo_1969 08-27-2008 05:02 PM

Nope.

Nada works.

Can someone tell me whether I need to manually alter ANY CSS/Template or the JS files ?

THanks in advance for your support - but I'm getting sick of seeing a white box with a swirly thing going round and no picture....

Do I need to disable the standard VB settings for resizing or Lightbox ?


All times are GMT. The time now is 11:32 AM.

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.01633 seconds
  • Memory Usage 1,877KB
  • 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
  • (1)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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