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)

vbob 08-05-2008 06:55 AM

Quote:

Originally Posted by TCattitude (Post 1590657)

Check the readme, and change log for v1.2.6:

Use that new "IMGLINK" tag instead ;)

Yeap it works smooth and creamy with "IMGLINK"...!!! :-)
I could create a new BBCODE button for the "image link"...!!!

Awesome,
thanks...!!! :-)

meissenation 08-05-2008 10:13 AM

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.

habilonline 08-05-2008 11:45 AM

nice Job, thanks..

Pottsy 08-05-2008 01:55 PM

Excellent.

After a lot of messing around, floatbox is the only one I can get to work nicely (with decent navigation and effects) - but in IE6 when you exit floatbox the page jumps to the bottom.

Meta 08-05-2008 05:46 PM

Very nice. Works perfect. Just a little problem ...

If a user embeds an image in a post using the bbcode like this ...

HTML Code:

[img]https://vborg.vbsupport.ru/[/img]
... it works and the image becomes resized.

But if he uses html like this ...

HTML Code:

<img src="http://zones.sphex.net/images/altona2.jpg" />
... it doesn't work. Have been looking and testing since hours now. Maybe i missed something like "it works only with bbcode" or something like that or i missed an option.

Many thanks for the nice mod and your help!

(using highslide)

yathyo 08-06-2008 11:44 AM

Quote:

Originally Posted by yathyo (Post 1591489)
I installed version 1.2.6 everything looks perfect! But when a user post images with no spaces between the horizontal scroll appears. How can I add a
Code:

< br />
tag after each image?

Thanks for the mod!

I have solved it by adding this code to the style css:
td div.alt1 img, td div.alt2 img{display: block;}

TCattitude 08-06-2008 12:28 PM

Quote:

Originally Posted by Meta (Post 1592051)
Very nice. Works perfect. Just a little problem ...

If a user embeds an image in a post using the bbcode like this ...

HTML Code:

[img]http://zones.sphex.net/images/altona2.jpg"[/img]
... it works and the image becomes resized.

But if he uses html like this ...

HTML Code:

<img src="http://zones.sphex.net/images/altona2.jpg" />
... it doesn't work. Have been looking and testing since hours now. Maybe i missed something like "it works only with bbcode" or something like that or i missed an option.

Many thanks for the nice mod and your help!

(using highslide)

I can't support adding images through html. The range of things to cover, to support that, would be too long.
You need to check one by one how this lightboxes are implemented in his own homepages, to check what they add to the img tag: the a href link first with a class or a rel="lightbox" (or similar) and another class and an onlick event to the image for downsizing with ncode's javascript.

It's too much, because with all the html open to a usergroup, you can put images in many forms:
HTML Code:

<img src="http://zones.sphex.net/images/altona2.jpg" />
<img src="http://zones.sphex.net/images/altona2.jpg" alt="" />
<img src="http://zones.sphex.net/images/altona2.jpg" alt="Hello world" />
<img src="http://zones.sphex.net/images/altona2.jpg" border="0" />
<img src="http://zones.sphex.net/images/altona2.jpg" border="0" alt="" />
<img src="http://zones.sphex.net/images/altona2.jpg" border="1" alt="I have a border" />

...etc.

Sorry.

Quote:

Originally Posted by yathyo (Post 1592554)
I have solved it by adding this code to the style css:
td div.alt1 img, td div.alt2 img{display: block;}

Will see it in the next version ;)
Thanks.

Martin9887 08-06-2008 12:57 PM

Excellent mod, TCattitude. Love it.

Some users have been asking for some kind of image zoom feature, do you think something like this is possible?

Thanks.

Meta 08-06-2008 06:11 PM

Quote:

I can't support adding images through html.
Oh. Well. Nice hack anyway. Thank you!

mojo8850 08-07-2008 04:58 AM

What Is The Difrence Between The 2 Types Of Different Names..
Beside The Version Number & 1 Is Image Resizer Other Externel Image Sizer..

Which Is Best For Me ?

TCattitude 08-07-2008 02:02 PM

Quote:

Originally Posted by mojo8850 (Post 1593133)
What Is The Difrence Between The 2 Types Of Different Names..
Beside The Version Number & 1 Is Image Resizer Other Externel Image Sizer..

Which Is Best For Me ?

Guide by version number, not the name.
Just use the lastest.

(Originally was named "external image resizer", because just resize external images embed in posts. Later, more features was added, integration with vb's attachs, vb's albums, etc, so... "external" image resizer was not correct for this mod. And now is named "the image resizer")

yathyo 08-08-2008 08:59 AM

Quote:

Originally Posted by TCattitude (Post 1592568)
Will see it in the next version ;)
Thanks.


I'm sorry, but it only works on FireFox :( Still looking for some solution :(

By the way I'm using this code in the includes/class_bbcode.php file to solve the problem:
Code:

function handle_bbcode_img_match($link)
        {
                $link = $this->strip_smilies(str_replace('\\"', '"', $link));

                // remove double spaces -- fixes issues with wordwrap
                $link = str_replace(array('  ', '"'), '', $link);

                return '<img src="' .  $link . '" border="0" alt="" /><br />';
        }


Ronak 08-08-2008 03:38 PM

i am using the same version of image resizer which u have provided in demo...but i have prob with it...whenever i click the close button ...it automatically redirects to my homepage ....any solutions for this ?

MonkYZ 08-08-2008 05:18 PM

Can somebody tell me if this mod works with vBadvanced also ?

MonkYZ 08-08-2008 11:53 PM

Well, i installed it ok, imported the xml, and when i try to enable it, i get this error all over my website:

Quote:

Fatal error: Cannot redeclare ncode_imageresizer_replace() (previously declared in /home/console/public_html/forum/global.php(365) : eval()'d code:48) in /home/console/public_html/forum/global.php(365) : eval()'d code on line 316
How can i fix this ?

Merjawy 08-11-2008 01:12 PM

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

phpnewbie 08-12-2008 03:07 PM

Hi, nice mod which i'm looking.

But it really "resized" the image, how can i set it got the original size after clicking?

xili4n 08-12-2008 07:04 PM

Installed mod without any problems, but when I try to change External Images default maximum Width/Height I get the following error:

Fatal error: Call to a member function query_write() on a non-object in /home/radiosww/public_html/forum/vb/includes/adminfunctions_options.php(490) : eval()'d code on line 13

Everything else seems to be working fine, and apparently noone else have this problem :confused:

edit: Currently running 3.7.1 Patch Level 2

semaca 08-13-2008 01:22 PM

Installed and Uninstalled ... not works with Internet explorer:(
someone knows a solution to fix this?

Salar 08-14-2008 12:34 AM

Why do i get this:

Booost This 08-14-2008 01:42 AM

Slight problem exists with vBSEO.

Mod works perfectly in threads with displayed images. When you switch to an album to view a picture and you click the picture for a full size it opens the picture in a new or same window. It does not trigger the "rel=lightbox (or whatever you have)" tag correctly. I disabled vBSEO and voila! Problem fixed. I also tried the default skin and it does the same thing.

vBSEO does not like this mod. :(

I am running:
3.7.2 P1 VB Release
3.1 vBSEO
Firefox 3, IE 7 (I tried both, same result). I primarily use FF.

Any ideas?

EDIT: FIXED

For anyone else experiencing the same problem I did, you need to check "no" to Add rel="nofollow" to all external links, dynamic pages, and sorting links under the cp of vBseo.

infernow 08-14-2008 01:56 AM

This is awesome dude thanks
Installed

TrIn@dOr 08-14-2008 02:14 AM

Do you know if some of the templates are offered in Spanish?

yathyo 08-14-2008 08:50 AM

Here you are the imglink icon ;)

http://img299.imageshack.us/img299/4607/imglinkkr2.jpg

solidlink 08-14-2008 10:46 AM

I cant get the image to enlarge properly. For example, when the image is supposed to be 1024 by 768 (just an eg), when it is reduced to 600 by 400, I click on the tab and it enlarges to a smaller size like 800 by 600 (not sure of the exact dimensions) instead of 1024 by 768.

can someone help?

solidlink 08-15-2008 07:45 AM

still waiting for help, my website is at www.onestash.com

regards

D.Baker 08-15-2008 02:01 PM

Hello Tcat,
Great plugin. One little problem I've found. If you you emded the images using the IMG tag, they sit right on top of each other (normally they have a 2px margin by defualt). You can see an example of what I'm talking about here.

Ideally you could give the thumbnailed image a CSS class and that way we could just define it in our style sheet on our own, or even better, in the AdminCP!

solidlink 08-16-2008 03:17 AM

<a href="http://www.onestash.com/forums/showthread.php?t=337" target="_blank">http://www.onestash.com/forums/showthread.php?t=337</a>

The original image is much bigger. However when we use the resizer, even when we click on the tab, it does not enlarge to original size

TCattitude 08-16-2008 02:07 PM

Quote:

Originally Posted by D.Baker (Post 1599266)
Hello Tcat,
Great plugin. One little problem I've found. If you you emded the images using the IMG tag, they sit right on top of each other (normally they have a 2px margin by defualt). You can see an example of what I'm talking about here.

Ideally you could give the thumbnailed image a CSS class and that way we could just define it in our style sheet on our own, or even better, in the AdminCP!

Yeah, sure. Will be in next version ;

Quote:

Originally Posted by semaca (Post 1597767)
Installed and Uninstalled ... not works with Internet explorer:(
someone knows a solution to fix this?

IT works in IE. Was tested in IE, Opera, Safari and Firefox.
Check the readme about known issues and problems with some resizers. It's not a problem with this mod, is about your style + the selected resizer/lightbox.
Sorry.

Quote:

Originally Posted by phpnewbie (Post 1597065)
Hi, nice mod which i'm looking.

But it really "resized" the image, how can i set it got the original size after clicking?

Quote:

Originally Posted by solidlink (Post 1599753)
http://www.onestash.com/forums/showthread.php?t=337

The original image is much bigger. However when we use the resizer, even when we click on the tab, it does not enlarge to original size


Depends of the selected resizer. Not all of the lightboxes have an option to do that. Some just (when click) opens the new layer with the image but ajust them to be in the frame of the website depending of your screen resolution, and don't have and "show full expanded" as floatbox or highslide have (they both have an extra "X" to expand to full size).
Again, not a problem with this mod. I will no reinvent every lightbox here; that's why you have choices ;)

@maidos (ask a question by PM):
Readmes are for READ THEM.
The readme says:
Quote:

II. What does it not do
----------------------------------------
- It does not do server side resizing of images. Everything is done clientside
- It does not prevent long loading times. The images have to be downloaded completely
by the client before the script can resize them.
That must answer your question, i think.

Subah 08-16-2008 03:58 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 ?!

ignoring me :confused:

solidlink 08-16-2008 05:18 PM

Im not talking about the lytebox... im only talking about the normal resizing function :)

Magnumutz 08-16-2008 08:08 PM

Hey, i've been using the Highslide option and it still resizes signature images even if they're under the max allowed sizes...
I even tried ignoring sizes for signatures.

Subah 08-16-2008 10:34 PM

Quote:

Originally Posted by Magnumutz (Post 1600262)
Hey, i've been using the Highslide option and it still resizes signature images even if they're under the max allowed sizes...
I even tried ignoring sizes for signatures.

Seems there is a lot problems with the signatures !!

Jaxel 08-17-2008 02:48 AM

I'm having problems with this mod... the mod itself works perfectly...

The problem is when someone posts an image thumbnail from somewhere like image shack... Any IMG wrapped in a URL tag...

The URL tag will be completely ignored and the IMG will link to the box instead of the URL...

PoetJA-1975 08-19-2008 04:02 PM

Great modification = Installed.
Thanx for sharing - but one quick question/concern... I notice that all images are being "resized" - even those that are within the width/height restrictions.

Example. 300px width / height unlimited... Images that with 250px width are still clickable with the lytebox/shadowbox/etc enabled... Is there a way to make those images unclickable? Just curious.

Anyway - Thanx so much for the brilliant share TCATTITUDE ;)

Jacquii.

Jaxel 08-20-2008 08:06 PM

Is anyone else having the same problem I am having?

HTML Code:

[url=http://www.google.com/][img]https://vborg.vbsupport.ru/[/img][/url]
This will open up the image in FloatBox (what I am using), instead of following the link. Is there any way to fix this? Lots of people use ImageShack thumbnails, and now people cant click on the links anymore.

Headliner? 08-20-2008 08:09 PM

Thankyou very much.

PoetJA-1975 08-20-2008 10:34 PM

Quote:

Originally Posted by Jaxel (Post 1603231)
Is anyone else having the same problem I am having?

HTML Code:

[url=http://www.google.com/][img]google.gif[/img][/url]
This will open up the image in FloatBox (what I am using), instead of following the link. Is there any way to fix this? Lots of people use ImageShack thumbnails, and now people cant click on the links anymore.

As per the 1st thread... There is a new bbcode added = for linked images. Read the included instructions file ;)

Jacquii.

hiepsi@ 08-20-2008 10:39 PM

Set 0 for heigth

ExTincTi0N 08-20-2008 10:43 PM

Okay I am having a problem I picked to use lytebox and it doesn't even work like lytebox it just opens up in the same window and doesn't even get smaller in the post. Whats wrong?


All times are GMT. The time now is 01:18 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.01902 seconds
  • Memory Usage 1,846KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_html_printable
  • (16)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