PDA

View Full Version : Miscellaneous Hacks - Image Resizer - Using nCode Script


Pages : [1] 2 3

Seven Skins
03-05-2010, 10:00 PM
Image resizer using nCode script

This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages, visitor messages and vBadvanced CMPS.

You have the option to:
Disable the hack.
Choose the resize mode.
Default Maximum width.
Enable and disable cms resize option.
Enable and disable postbit resize option.
Enable and disable signature resize option.
Enable and disable blogs resize option.
Enable and disable private messages resize option.
Enable and disable visitor messages resize option.
Enable and disable vBadvanced CMPS resize option.


This hack has been tested:
- Using IE, FF, Chrome and Opera using default skin.

Installation:
- Upload the contents of upload folder to the root of your forum.
- Import the XML file via Plugins & Products > Manage Products > Add/Import Products.
- If you want to use "Enlarge in the same window" option you must edit "Image Medium Max" stylevar for the style you are using. Set this stylevar to high number e.g. 2000px or more if needed.

Upgrade:
- Upload the contents of upload folder to the root of your forum overwriting the existing file.
- Remove old product from AdminCP produact Manager.
- Import the XML file via Plugins & Products > Manage Products > Add/Import Products.

PS. This hack adds one link in the footer to SevenSkins website.


_________________________________ _________________________________

Please:
Nominate this modification for the MOTM.
Support me by donating ... click the link on the right. (Support Developer)
Remember to click Mark as Installed if you use this hack.
_________________________________ _________________________________


03 Sep 2012
Version 1.6
-Added functionality: Resizing of the images in vBadvanced CMPS.

Total Installs to date: 1248
Total Downloads to date: 7068


31 July 2011
Version 1.5


29 Jun 2011
Version: 1.4

-Fixed to work with vBulletin 4.1.4
-remove yellow bar as it was causing issue with vBulletin 4.1.4.
-Added functionality: Resizing of the images in CMS comments.
-Added functionality: Resizing of the images in BLOG comments.


21 Dec 2010
Version: 1.3

Thanks to ZexTasy (https://vborg.vbsupport.ru/member.php?u=238145) for cms plugin code.

Added these option:
-Enable and disable cms resize option.
-Enable and disable postbit resize option.
-Enable and disable signature resize option.
-Enable and disable blogs resize option.
-Enable and disable private messages resize option.
-Enable and disable visitor messages resize option.


25 June 2010
Version: 1.2.0
Fixed to work with vBulletin 404.

06 March 2010
Version: 1.0.0 Released



.

Forum Lover
03-06-2010, 12:51 PM
Now, what could be more simpler then this! INSTALLED. :)

Kolbi
03-06-2010, 12:56 PM
I like that :)

Kolbi
03-06-2010, 01:08 PM
Nice hack but I causes a xhtml issue:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.2-wheel-planet.de%2Fprojekte%2F781-golf-3-cabrio-projekt.html&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&No200=1&verbose=1&user-agent=W3C_Validator%2F1.654
# Error Line 93, Column 105: there is no attribute "onload"

…o_white.gif" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />vo…



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.

Seven Skins
03-06-2010, 01:30 PM
This error has always been there in nCode script. If or when he fixes that I will update this mod.

Kolbi
03-06-2010, 01:52 PM
That?s not a really good thing :(

samiro
03-06-2010, 02:02 PM
wow !!!
nice one !
MOTM

min0taur
03-06-2010, 02:29 PM
Can You Make it work to CMS??

Muggz562
03-06-2010, 08:36 PM
Now this I like :)

cindy helmond
03-06-2010, 10:03 PM
nice but can you add this for albums to ? its not working for albums

tuwebfacil
03-06-2010, 11:00 PM
Hi, its there any way to make it work with vbadvanced?

thank you, great mod!!

elwachiman
03-07-2010, 12:36 AM
tagged.........................

dihuta
03-07-2010, 12:45 AM
Doesn't work with vB4: SuperCharged mod (javascript optimize enable).
Turning off javascript optimize is ok.

Veer
03-07-2010, 05:24 AM
Hi, can you add different size options for blog page and forum post?

Dr.osamA
03-07-2010, 06:01 AM
thanxxx

installed
________

valendono
03-08-2010, 07:21 AM
Post di thread - successfully resized + button to view the actual size
VM - failed
PM - successfully resized + button to view the actual size
Blog - successfully resized + button to view the actual size
User group - failed
Album - successfully resized + button to view the actual size

can u make failed become successfully resized especially on visitor messages and usergroup discussion ?

Extra PC
03-08-2010, 09:43 AM
demo please?

and linked image work with this mod?

Trumpetrhapsody
03-08-2010, 04:16 PM
Can you add an option in the AdminCP to enable/disable that "Click this bar to view the full image" please. I'd rather it just be a click on the image, with no notification. It's especially annoying on signatures.


It would be nice to have a separate set of size restrictions for signatures, rather than a global setting, but I can live without that for now. ;)

steve1966
03-08-2010, 04:43 PM
very good thank you

ximcix
03-09-2010, 08:44 AM
Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank You Thank Yo

Lol

ximcix
03-10-2010, 05:21 PM
I have a suggestion.
Instead of just setting a rule for image width, how about one for "height?"
I have a big problem with members using signature images that are too tall & I have to scroll an entire screen/page to get past their signature.

I would like allow my members to have a signature image that is:
<= 600px wide
<= 300px high

Seven Skins
03-11-2010, 12:22 PM
Can You Make it work to CMS??

nice but can you add this for albums to ? its not working for albums

I am making another hack and it seems to work on CMS and albums. I will post it when I complete the hack.

Post di thread - successfully resized + button to view the actual size
VM - failed
PM - successfully resized + button to view the actual size
Blog - successfully resized + button to view the actual size
User group - failed
Album - successfully resized + button to view the actual size


can u make failed become successfully resized especially on visitor messages and usergroup discussion ?


You can not say failed ... in description of this hack it never says it will do that.

.

YankForum
03-11-2010, 01:25 PM
i love this mod , i had it installed on all my forums since 3.4.0 as i remember

Kolbi
03-11-2010, 02:59 PM
Attachments aren?t resized, too. :)

Sander Prinsen
03-12-2010, 11:56 AM
Thank you! I was waiting for this mod, been using it on 3.x.x for ages. I don't like the way the other 4.x.x resizers work, this is much better.

McCarroll21
03-13-2010, 12:41 AM
Thank you for this! Used it in 3.x and was lost without it in the move to vb4.

djbaxter
03-13-2010, 12:44 AM
Thank you! I was waiting for this mod, been using it on 3.x.x for ages. I don't like the way the other 4.x.x resizers work, this is much better.

I agree. I tried both of the alternatives. This is much better. Thanks for the update. :up:

dihuta
03-13-2010, 02:17 AM
Hi, can you add different size options for blog page and forum post?

Replace this (in sevenskins_imageresizer template)
NcodeImageResizer.MAXWIDTH = '{vb:raw vboptions.sevenskins_imageresizer_maxwidth}';

with:
<vb:if condition="in_array(THIS_SCRIPT, array('blog', 'entry'))">
NcodeImageResizer.MAXWIDTH = '480';
<vb:else />
NcodeImageResizer.MAXWIDTH = '{vb:raw vboptions.sevenskins_imageresizer_maxwidth}';
</vb:if>

replace 480 with your blog image width.

ximcix
03-24-2010, 05:27 AM
It does not work if i use HTML to insert the image, as opposed to BB Code
The image was displayed but not resized

the image i was inserting seemed to be a dynamic URL as it would not display when i used [IMG], so I used HTML "<img src=... >"

Image URL:
http://api.ning.com/files/NjhGbaSxaaUhgACDVqZd8n23X8ehocNjXDg0ZEZ9yVVW1xt179 p-ffO3*Bruui3beDALY4i8eFg0u2NhV1Zwa0b*inAqtwQj/307_stinkmeaner.jpg

Sworm
03-24-2010, 03:10 PM
This should be great, but don't work in the CMS..... not there's some option to allow the resize in CMS too?

o0mohammed0o
03-24-2010, 04:07 PM
thanks Installed

but not working with vbulletin4 Attachemnt system pictures :(

mmoore5553
03-26-2010, 07:32 PM
man i wish i could get this working on my site and i love this mod on my 3.x forum ...seven think you could look for a small donation ?

trilogy33
03-26-2010, 07:44 PM
Brilliant mod, thank you :)

Just a suggestion:
Is it possible to allow percentages, like e.g. 85% of the CSS width?
A max width of 600 is ok for people that are on 1024x768 resolutions (older laptops/new netbooks), but will be tiny on bigger screens.

Seven Skins
03-26-2010, 10:07 PM
I am in the process of making new hack ... if I am successful ... I will try to add custom resize function.

persianvb
03-29-2010, 08:13 PM
please add resize image visitor messages to mod

ReMoN SaMiR
04-02-2010, 03:53 PM
I've installed it, but it's not working with me!

Any help?

Thanks in advance.

djbaxter
04-02-2010, 04:02 PM
I've installed it, but it's not working with me!

Check your settings. If the image size is below the dimensions specified in the ACP settings, it doesn't do anything. You can check it either by inserting a large image, or set the limits to something small in the ACP settings for the add-on to test it.

Greight
04-02-2010, 07:43 PM
Nice mod, but when the image enlarges in the blog entry, it goes behind the blog side bar. So I have to either check the option to open the image in a new tab or open it separately. Can this be fixed?

sticky
04-03-2010, 08:02 AM
Does this work on attachments and linked images?

sisterhood
04-03-2010, 10:07 AM
How can delete this:

Click this bar to view the full image

The_Hawk
04-03-2010, 08:35 PM
Fantastic little mod, just what I needed. I can't wait till it works on the CMS side of things too :D

nul7
04-04-2010, 11:37 PM
so I take it this doesn't scale images that use the [img] bbc code function correct?

customcolor
04-05-2010, 01:03 PM
installed and works great!

i use photobucket to host my photos and i posted a fyi to my members and they love this mod!!!

image fyi (http://www.foxvalleyreefclub.com/forums/showthread.php?258-image-fyi)

osayidan
04-05-2010, 09:26 PM
This appears to be the best of the image resizers working for 4.x, but does it work in the CMS? And if not is there an edit we can do ourselves to make it work in CMS?

The images posted in articles in the CMS sometimes are too big, and not only does it look ugly but there is no scroll bar or any way of seeing the full image. I don't think I'm the only one with this problem, a solution would be very nice.

Edit: nevermind, found one that does the CMS, and pretty much anywhere else on the site.

meissenation
04-07-2010, 10:49 PM
Is there any way to make it so that if you click the bar to expand the image and then click the image (not the bar) again it will open in a new window?

osayidan
04-09-2010, 04:34 PM
So in the end this is actually the best and simplest image resizer. I've now tried all of them, and played around with the code on each, and this one is the winner.

I managed to create a very crude fix for enabling CMS resizing on this one. Problem with it is that the warning bar on top becomes over-sized, probably some CSS issue. Here is an example:
https://vborg.vbsupport.ru/external/2010/04/65.png

If you do not mind this, do not want to wait for a new hack or update to this one, and understand that you are doing this at your own risk, then here is how I did this:

Open: product-sevenskins_imageresizer-v1.0.0.xml

Find:

<plugin active="1" executionorder="5">
<title>Image Resizer: Postbit and Signatures</title>
<hookname>postbit_display_complete</hookname>
<phpcode><![CDATA[if($vbulletin->options['sevenskins_imageresizer_enabled']) {

$post['message'] = preg_replace('/<img src="([^"]*)" border="0" alt="" \/>/', '<img src="\\1" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />', $post['message']);

if($vbulletin->options['sevenskins_imageresizer_resizesignatures']) {
$post['signature'] = preg_replace('/<img src="([^"]*)" border="0" alt="" \/>/', '<img src="\\1" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />', $post['signature']);
}
}]]></phpcode>
</plugin>


Bellow this, and above "</plugins>, add:


<plugin active="1" executionorder="5">
<title>Image Resizer: CMS</title>
<hookname>global_complete</hookname>
<phpcode><![CDATA[
global $vbulletin;
if($vbulletin->options['sevenskins_imageresizer_enabled']){
//Resize Images in message
$output = preg_replace('/<img src="([^"]*)" border="0" alt="" \/>/', '<img src="\\1" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />', $output);

}]]></phpcode>
</plugin>


Save as a NEW file, this way you have the original to go back to if needed.
Uninstal/delete the old hack, you do not need to delete the contents of "upload" folder.
Import the edited one, you do not need to reupload the "upload" folder.

Check if it works for you.

If not, to revert to the old version, uninstal/delete this one. Import the original.


This is likely a very crude method of accomplishing this, and I'm only sharing this for those desperate for a good resizer that works on CMS. For me this is a temporary fix until the author of this hack releases something better.

Note: this was done on 4.0.2, I have no idea how it will behave on any other variation, or if any other mods will interfere.

murekhalir
04-09-2010, 05:12 PM
Does this work on the CMS?

osayidan
04-09-2010, 05:32 PM
Does this work on the CMS?

Not by default but see my post right above yours and see if that helps you.

Morsolo
04-12-2010, 03:00 AM
I have always been a fan of the nCode resizer, primarily because of the bar above the image, which allows users to wrap [URL] around the image. Most - if not, all - resizers make the image clickable to enlarge, so wrapping [URL] has no effect; and a lot of my members do that.

I'd like to see multiple inputs on the AdminCP with multiple locations of images. (For example, being able to set a different max width for CMS, Blog, Posts, PM's, etc.)... Also, I've noticed that it doesn't resize [SIGPIC], which is a minor annoyance.

Also, any know how to set a different width if an image is quoted? My forum is fixed at 900px wide, so my images are resized down to 500px, but then if quoted, they stick out, so I make them set at about 460px... I'd like to be able to utilize max available area.

Even better, is it at all possible to just make max width "100%", so that it'll just resize down to the available area?

...But I'm just nitpicking here, brilliant mod :)

Alucard^
04-14-2010, 05:54 AM
Best image resizer!

But i have a suggestion (that i need) so if you can add it, would be really cool.

I want to use the plugin for signatures too, but with another width and height max.

Sry for my english.

Installed, ofcourse.

sticky
04-14-2010, 07:14 AM
Anyone? Does it resize attachments and links?

Does it work with the CMS?

Morsolo
04-14-2010, 10:59 AM
Anyone? Does it resize attachments and links?

Does it work with the CMS?

Osayidan added to the code to allow it to function with the CMS, seen only a few posts above...
https://vborg.vbsupport.ru/showpost.php?p=2018438&postcount=46

vBulletin resizes attachments itself and ... how can you resize a link?

mofeu
04-17-2010, 03:15 PM
how is this image resizer work?

djbaxter
04-17-2010, 03:27 PM
how is this image resizer work?

It works well. :)

sticky
04-21-2010, 08:04 AM
Osayidan added to the code to allow it to function with the CMS, seen only a few posts above...
https://vborg.vbsupport.ru/showpost.php?p=2018438&postcount=46

vBulletin resizes attachments itself and ... how can you resize a link?
I meant resizing linked images.

Big_Jason
04-23-2010, 07:35 PM
Best image resizer!

But i have a suggestion (that i need) so if you can add it, would be really cool.

I want to use the plugin for signatures too, but with another width and height max.

Sry for my english.

Installed, ofcourse.
x2 on that request. You'd solve my #1 headache if this could independently resize signatures to a different size than posts in images and blogs.

Any thoughts on making that a reality? Pretty please?

Oh and installed :)

MikeWarner
04-24-2010, 07:49 AM
I love this hack - other resizers make something that should be simple into something complicated. This hack keeps it nice and simple!

Quick question though - on trying to improve my YSlow score, it is saying that the ncode js file reference should be moved to the footer. How can I do this?

Sworm
04-26-2010, 09:00 AM
anybody has tried to use it on 4.0.3?

djbaxter
04-26-2010, 09:16 AM
anybody has tried to use it on 4.0.3?

Yep. Working fine for me on 4.03.

Alex@Mk3OC
04-26-2010, 02:30 PM
Working fine on 4.0.3 here as well

ps2wiz
04-26-2010, 09:23 PM
Has anyone else experienced this problem?

After I move a thread that has a resized image, the image appears in its original size. Almost like after moving any thread, this mod excludes it... Any help please?

Manoel J?nior
04-27-2010, 12:16 AM
VERY, VERY Thanks!!!!!

Great bro!

ps2wiz
04-27-2010, 02:05 AM
Has anyone else experienced this problem?

After I move a thread that has a resized image, the image appears in its original size. Almost like after moving any thread, this mod excludes it... Any help please?

In addition to this, if a user edits their post and adds a new image, that new image will not be resiszed.

Manoel J?nior
04-27-2010, 02:44 AM
Would not add to the bar the original image size and for how much it was resized?

cvn
04-27-2010, 04:54 AM
Seven Skins made another mod named "Image Resizer - CMS | Blogs | Posts | Signatures | Albums | VM's | PM's (https://vborg.vbsupport.ru/showthread.php?t=238202)" that resizes images in CMS, Blogs, posts... I installed it in 4.0.2 PL1 and it works well. But I'm not sure if it works with 4.0.3, any one knows?

The mod is already moved to the Modification Graveyard, do you know the reason?

edwinlar
04-27-2010, 05:35 AM
me funciono perfecto

Sworm
04-28-2010, 12:36 PM
Don't work for me is it not retroactive. Uninstalled

ToNetU
04-29-2010, 12:27 AM
thanks but what about profile? and why when i post a pic and then when i want to edit that post to add new picture or write something, the picture i have posted disappear?

any update for this?

installed..

nick682
05-03-2010, 08:06 PM
Is there any way I can use this mod to resize images in my VSa - ChatBox (AJAX) https://vborg.vbsupport.ru/showthread.php?t=235271 ?

doraj
05-04-2010, 07:49 PM
Hello,

is this Hack compatible also with vB CMS?

Thank you

Seven Skins
05-04-2010, 08:35 PM
Hack description is:

This hack resizes images in posts, signatures, blog home page and blog entry page.

doraj
05-05-2010, 08:26 PM
I understand, Seven could you update the Hack and make it compatible also with vB CMS?
It's very used and will be a great news for all member that use it.
Thank you :)

sticky
05-05-2010, 10:09 PM
I understand, Seven could you update the Hack and make it compatible also with vB CMS?
It's very used and will be a great news for all member that use it.
Thank you :)
Is there an image resizer that works with the CMS?

Manoel J?nior
05-05-2010, 10:34 PM
How to with information image real:

116741

Xencored
05-07-2010, 04:58 PM
I am making another hack and it seems to work on CMS and albums. I will post it when I complete the hack.
.

Hi mate cant wait for this but is that the one in the graveyard?

sticky
05-09-2010, 07:53 AM
Hi mate cant wait for this but is that the one in the graveyard?
Same question.

Seven Skins
05-09-2010, 04:00 PM
No that is a different one.
I asked that to be moved to graveyard due to it was resizing all the images including banners etc.

Xencored
05-09-2010, 04:11 PM
No that is a different one.
I asked that to be moved to graveyard due to it was resizing all the images including banners etc.

Ah right awesome mate when can we hope for the cms /album one :D

janslu
05-10-2010, 12:09 PM
I think that's still the best image resizer. Thanks for your work.

Has anyone been able to enable this for group discussions? I've tried creating a plugin hooked to group_discussionbit_display_complete with the following code:

if($vbulletin->options['sevenskins_imageresizer_enabled']) {
$message['message'] = preg_replace('/<img src="([^"]*)" border="0" alt="" \/>/', '<img src="\\1" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />', $message['message']);
}

but it doesn't seem to work. Any help will be appreciated.

murekhalir
05-11-2010, 05:49 AM
sexy

sticky
05-13-2010, 02:03 AM
When can we expect the new version that works with the CMS?

Alecsmith
05-13-2010, 06:07 AM
Working perfectly thanks :)

LHCGreg
05-14-2010, 01:49 AM
Resizing does not happen in post preview mode. Also, it would be great if you could choose the resize threshold separately for images in signatures. Otherwise, great mod.

ArminTECH
05-16-2010, 03:00 AM
Installed

puertoblack2003
05-18-2010, 07:02 PM
hello,

members that is using IE is getting program force close on my site homepage.I had to disable it and find another alternate solution.

Theater
05-24-2010, 05:06 PM
Hi, its there any way to make it work with vbadvanced?

thank you, great mod!!

2nd this ^^^

The original one had support to let it work for vBadvanced.
http://www.ncode.nl/vbulletinplugins/

Thank you for the mod as well. It works great for the forums part of my site. :)

neverstop
05-27-2010, 05:21 PM
anyone else having trouble with the css of the warning bar with this? I edit the table.ncode_imageresizer_warning css and it no changes get made?

KURTZ
05-30-2010, 01:08 PM
is there the possibility to put the resized images centered in the post by default?

djbaxter
05-30-2010, 01:34 PM
is there the possibility to put the resized images centered in the post by default?

I for one would not like it centered by default.

If you want the image centered, put center tags around it.

KURTZ
05-30-2010, 01:36 PM
I for one would not like it centered by default.

If you want the image centered, put center tags around it.

OK, but if i wanna do that? what is the way? :p

djbaxter
05-30-2010, 01:47 PM
OK, but if i wanna do that? what is the way? :p


Insert image using any method you like.

Highlight image.

Click on center icon in edit bar above edit box.

There may well be others who would like the OPTION of having images centered by default. I'm just saying that I would personally NOT like that as the only option.

KURTZ
05-30-2010, 02:27 PM
Insert image using any method you like.

Highlight image.

Click on center icon in edit bar above edit box.

There may well be others who would like the OPTION of having images centered by default. I'm just saying that I would personally NOT like that as the only option.

i know this mate, i'm wondering about if we can do this with some edits into the plug-in ... :)

djbaxter
05-30-2010, 02:43 PM
Oh.

I would start by trying various edits to the template: sevenskins_imageresizer

Big C
05-31-2010, 03:21 AM
Works great!! Thanks!

Marked as installed

Kolbi
06-01-2010, 02:07 PM
Why is the clientscript file not compressed?

samuelflo
06-02-2010, 08:41 PM
Works great. Looking forward to one that will do the Albums...that would be awesome. I love how simple this is.

Installed, and nominated.

stemmy
06-13-2010, 05:45 PM
Its been asked before but does this hack work with linked images ??

JAFRI
06-14-2010, 04:15 AM
nice ,,, Thanks

pant
06-14-2010, 07:07 AM
Its been asked before but does this hack work with linked images ??

It's been answered before, yes. :D

BlackHoster
06-19-2010, 09:16 AM
Not working with 4.4 thank you :)

graham_w
06-19-2010, 11:00 AM
Yep confirmed not working with 4.0.4 - seems vbulletin have introduced their own image resizer through stylevars and stuffed up all of the plugin versions. Hope you can help with this!

KURTZ
06-19-2010, 11:15 AM
Yep confirmed not working with 4.0.4 - seems vbulletin have introduced their own image resizer through stylevars and stuffed up all of the plugin versions. Hope you can help with this!

where's the option for the resizer onto the 4.0.4? i can't find it ...

graham_w
06-19-2010, 11:22 AM
Its in Stylevars

postbit_content_max_image_width

I set it to 50% so the images from external sites that are displayed are never larger than 50% of the viewers post area - but would prefer to use this mod to control the height also.

KURTZ
06-19-2010, 11:26 AM
Its in Stylevars

postbit_content_max_image_width

I set it to 50% so the images from external sites that are displayed are never larger than 50% of the viewers post area - but would prefer to use this mod to control the height also.

yes absolutely ...

Mrdby
06-19-2010, 12:39 PM
works GREAT!

pant
06-19-2010, 12:43 PM
Is this mod needed any more after the release of 4.04, apparently there is a stylevar we can modify which will do the same thing as this out of the box?

meschiash
06-19-2010, 04:42 PM
Doesn't work on 4.0.4 :(

KURTZ
06-19-2010, 05:44 PM
Its in Stylevars

postbit_content_max_image_width

I set it to 50% so the images from external sites that are displayed are never larger than 50% of the viewers post area - but would prefer to use this mod to control the height also.

just checked... this doesn't works for the blogs ...

robbiefritz
06-20-2010, 10:15 AM
Just upgraded to 4.04. Resizing stopped working. Could you look into this please? Really like this hack! Thanks.

pant
06-20-2010, 01:39 PM
Just upgraded to 4.04. Resizing stopped working. Could you look into this please? Really like this hack! Thanks.

As posted by Graham, you can turn this mod off now and instead use your stylevar to modify the pictures by default.

AdminCP > styles & templates > style manager > stylevars

postbit_content_max_image_width

graham_w
06-21-2010, 01:08 AM
As posted by Graham, you can turn this mod off now and instead use your stylevar to modify the pictures by default.

AdminCP > styles & templates > style manager > stylevars

postbit_content_max_image_width

I personally don't like the inbuilt vbulletin option.

It doesn't allow you to specify a max height, also you cannot click to see the full image.

Give me this mod over the vbulletin option anytime.

just checked... this doesn't works for the blogs ...

No it doesn't. :( Maybe need to remove the reference to the new vbulletin option in the css which may restore functionality to this mod ? I will have a play a bit later.

graham_w
06-21-2010, 01:16 AM
Scrap that - I removed some code from the postbit.css and the mod now works on the blogs but not in posts ... still looking for a solution.

graham_w
06-21-2010, 02:12 AM
Well I have to leave for the afternoon, but I have so far found that removing the following code from postbit.css will stop the inbuilt vbulletin resizer from working, and allows this mod to work again - but it only appears to work in the blogs and not in the posts. I'm using postbit legacy, but perhaps someone can confirm it doesn't work in postbit also ? There must be something i'm missing - anyone have any ideas?

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar postbit_content_max_image_width};
_width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}

snakedevil
06-21-2010, 07:48 AM
Just upgraded to 4.04. Resizing stopped working. Could you look into this please? Really like this hack! Thanks.


Similar problem on 4.0.4 :(

sticky
06-21-2010, 09:30 AM
Well I have to leave for the afternoon, but I have so far found that removing the following code from postbit.css will stop the inbuilt vbulletin resizer from working, and allows this mod to work again - but it only appears to work in the blogs and not in the posts. I'm using postbit legacy, but perhaps someone can confirm it doesn't work in postbit also ? There must be something i'm missing - anyone have any ideas?

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar postbit_content_max_image_width};
_width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}

There is a built in resizer now?

graham_w
06-21-2010, 07:36 PM
Yep - controlled by Stylevars

postbit_content_max_image_width

But it doesnt resize blog, only post images.

Alex@Mk3OC
06-21-2010, 08:55 PM
Fixed this in 4.0.4

I removed the following code from postbit.css:

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar postbit_content_max_image_width};
_width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}

The re-installed the product xml file and it works again :)

graham_w
06-22-2010, 01:36 AM
Fixed this in 4.0.4

I removed the following code from postbit.css:

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar postbit_content_max_image_width};
_width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}

The re-installed the product xml file and it works again :)

EDIT - tried it and it didn't work for me.

Zombo
06-22-2010, 01:37 AM
Fixed this in 4.0.4

I removed the following code from postbit.css:

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar postbit_content_max_image_width};
_width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}

The re-installed the product xml file and it works again :)

I reinstalled and it still doesnt work :(

Seven Skins
06-22-2010, 06:24 PM
I am working on this and you can see the live demo @ http://www.celebfungfx.com/ and brower through Picture Gallery.

Once I fix few more things I will release it soon.

KURTZ
06-23-2010, 09:35 AM
I am working on this and you can see the live demo @ http://www.celebfungfx.com/ and brower through Picture Gallery.

Once I fix few more things I will release it soon.

glad to hear this mate ... :)

lucky_hacker
06-24-2010, 06:44 AM
not working on 4.0.4

Seven Skins
06-25-2010, 05:20 PM
This product has been updated download the new product file and import.

steve1966
06-25-2010, 05:31 PM
thanks you for updating this great add on

Lky
06-25-2010, 05:36 PM
This product has been updated download the new product file and import.

Thank you, installed..

meschiash
06-26-2010, 06:52 AM
Work's :) Thank's

ps. in stylewars-> postbit_content_max_image you must have bigger size that you have in mod.

snakedevil
06-26-2010, 10:56 AM
Thanks

Works :)

DaRK mAN306
06-26-2010, 11:14 AM
Thnx 4 the update, INSTALLED ..
I've translated the mod into arabic lang (UTF-8 & non UTF-8), I hope that u don't mind that :) ..

Thnx again ..

Alex@Mk3OC
06-26-2010, 11:31 AM
Any chance of having a setting so that users can set their own preference for the image re-sizer? As we have users on a wide variety of resolutions

Staircase
06-26-2010, 02:05 PM
I downloaded it, but I don't have the JS file... ?? The folder I have after unzipping contains two files: product-sevenskins_imageresizer-v1.0.2.xml and SevenSkins.url. No ncode_imageresizer.js.

Seven Skins
06-26-2010, 05:51 PM
^ lol .. forgot to add that in the new zip file. Anways it has been added.
Enjoy

Seven Skins
06-26-2010, 05:52 PM
Any chance of having a setting so that users can set their own preference for the image re-sizer? As we have users on a wide variety of resolutions

I tried to make this mod as light as possible. If I add that it will be adding queries.

Zombo
06-26-2010, 06:02 PM
I tried to make this mod as light as possible. If I add that it will be adding queries.

how about to give the choice between px or % just like the VB resizer?

with % its relative to resolution of the client.

djbaxter
06-26-2010, 06:03 PM
I tried to make this mod as light as possible. If I add that it will be adding queries.

Appreciated. vB4 is more resource hungry than vB3 to begin with, in my experience. Anything that adds more queries than absolutely necessary should be avoided.

pant
06-26-2010, 06:40 PM
Using the style var method but set to 100% of users width works a charm.

graham_w
06-26-2010, 09:55 PM
Any chance of having seperate settings for signatures - not all users use the [sigpic] code for images in signatures so ALL images are being resized.

I don't think this mod resized images in signatures previously ? Or was there a setting to allow it ?

Cheers

Veer
06-27-2010, 02:10 AM
Please add seperate settings for blogs and cms as well.

Mrdby
06-27-2010, 02:16 AM
STILL SHOWING SevenSkins Image Resizer 1.0.1 Resizes images in Posts and Blogs. Why didn't it change to 1.0.2?

nguyenthanhphon
06-27-2010, 03:50 AM
STILL SHOWING SevenSkins Image Resizer 1.0.1 Resizes images in Posts and Blogs. Why didn't it change to 1.0.2?
diito

it no work in my forum http://www.diendanvungtau.com/ (vBulletin 4.0.4)

DaRK mAN306
06-27-2010, 07:02 AM
diito

it no work in my forum http://www.diendanvungtau.com/ (vBulletin 4.0.4)

Hello there,

make sure that the Max width for postbit images stylevar is set to a higher value than the one in the SevenSkins mod .!

Go to Styles & Templates >> Style Manager >> StyleVars >> Postbit >> Max width for postbit images and set it to a high value (e.g 1000) ..

That shouldmake it work ..

KURTZ
06-27-2010, 09:34 AM
Hello there,

make sure that the Max width for postbit images stylevar is set to a higher value than the one in the SevenSkins mod .!

Go to Styles & Templates >> Style Manager >> StyleVars >> Postbit >> Max width for postbit images and set it to a high value (e.g 1000) ..

That shouldmake it work ..

yes i can confirm that :)

KURTZ
06-27-2010, 09:48 AM
found an issue: when you reply in a thread in the 'Topic Review' the images aren't resized ...

Seven Skins
06-27-2010, 02:29 PM
Topic Review or Preview.

This hack work on showthread pages, not newthread or newreply.

KURTZ
06-27-2010, 02:46 PM
Topic Review or Preview.

This hack work on showthread pages, not newthread or newreply.

i mean: when you reply a thread (go advanced) at the bottom you have the 'topic review', there the images aren't resized ...

Alex@Mk3OC
06-27-2010, 04:00 PM
I tried to make this mod as light as possible. If I add that it will be adding queries.

Would you be willing to add it as an option we can enable if we want to?

robbiefritz
06-27-2010, 06:21 PM
Fantastic, thanks!

Seven Skins
06-28-2010, 04:22 PM
i mean: when you reply a thread (go advanced) at the bottom you have the 'topic review', there the images aren't resized ...

Ok, As I said before this hack works only on showthread pages.

Would you be willing to add it as an option we can enable if we want to?

Not in this version, sorry.

KURTZ
06-28-2010, 04:27 PM
Ok, As I said before this hack works only on showthread pages.

i understand your point :) but what i asking for is something to fix this trouble ... :)

rabidkevin
06-29-2010, 05:13 AM
Will this resize images on the calendar?

lasjaakon
06-29-2010, 12:19 PM
There are some spelling errors where it says: Resigzed image instead of resized image. Where can I edit this to be correct?

Thank you!

voglermc
06-29-2010, 01:19 PM
There are some spelling errors where it says: Resigzed image instead of resized image. Where can I edit this to be correct?

Thank you!

open the .js file in a text editor and find it. It's in there only once. Then reupload that file

Kaosvf
07-02-2010, 10:03 AM
When I go to "Search phrases" and translate (Click this bar to ... etc) then no longer works.

pant
07-02-2010, 08:27 PM
Can I just say AGAIN, I used to use this but since VB now gives me the option to resize pictures to fit within the users window I just use that instead.

Check this post as an example, the actual picture is bigger than my screen anyway but it doesn't spill out any more.

http://www.the-sps.org/threads/6155-Post-a-random-picture-thread?p=579848&viewfull=1#post579848

Veer
07-03-2010, 07:34 AM
Can I just say AGAIN, I used to use this but since VB now gives me the option to resize pictures to fit within the users window I just use that instead.

Check this post as an example, the actual picture is bigger than my screen anyway but it doesn't spill out any more.

http://www.the-sps.org/threads/6155-Post-a-random-picture-thread?p=579848&viewfull=1#post579848
How vb4 resize images?

pant
07-03-2010, 07:56 AM
How vb4 resize images?

Via the stylevar system, post picture maximum width or something similar, works a treat.

Yellow Slider
07-03-2010, 12:24 PM
how does vB4 re-sizes attachments on it self? it just let us set a max' width \ height to the attachments, I don't want to limit users from uploading attachments, I just want to show the attachments without ruining the page.

pant
07-03-2010, 12:30 PM
Go into your stylevars and start typing postbit_content_max image, when that begins to appear click on it.

I have mine set % 100 this means that it will completely fill the post box but not spill outside, works a charm and means less plugins.

Yellow Slider
07-03-2010, 01:16 PM
Go into your stylevars and start typing postbit_content_max image, when that begins to appear click on it.

I have mine set % 100 this means that it will completely fill the post box but not spill outside, works a charm and means less plugins.

thats working for all of the images, I just want to have to option to resize (and enlarge) attachments too.

pant
07-03-2010, 01:56 PM
Oooooooooo not sure about that one now, maybe someone else will know the appropriate stylevar.

Try just typing image into the stylevar thingy and see what comes up.

Astyanax
07-03-2010, 02:42 PM
thats working for all of the images, I just want to have to option to resize (and enlarge) attachments too.

Not working. I tested it with a linked image and it's still far too big to fit in the forum.

pant
07-03-2010, 02:51 PM
Not working. I tested it with a linked image and it's still far too big to fit in the forum.

What's your linked image?

Can you post the url so that I can repeat it?

Veer
07-03-2010, 02:54 PM
Via the stylevar system, post picture maximum width or something similar, works a treat.
That's great, Does it work on blog posts as well?

Astyanax
07-03-2010, 03:02 PM
What's your linked image?

Can you post the url so that I can repeat it?

http://sprintwallpaper.com/images/wallpapers/70136098/Computer/Windows%207/windows-7-wallpaper.jpg

pant
07-03-2010, 03:07 PM
http://sprintwallpaper.com/images/wallpapers/70136098/Computer/Windows%207/windows-7-wallpaper.jpg

Here it is posted on our forum using the stylevar method :)

http://www.the-sps.org/threads/6155-Post-a-random-picture-thread?p=580012&viewfull=1#post580012

Astyanax
07-03-2010, 03:09 PM
Here it is posted on our forum using the stylevar method :)

http://www.the-sps.org/threads/6155-Post-a-random-picture-thread?p=580012&viewfull=1#post580012

I found the error. I had set 100 px. It should have been 100%. Thanks. :)

pant
07-03-2010, 03:16 PM
Glad I could help, not sure about blog posts or anything else :)

Astyanax
07-03-2010, 03:20 PM
Glad I could help, not sure about blog posts or anything else :)

Yeah it doesnt work in blog posts. Maybe should suggest that to the vBulletin team.

gopherhockey
07-10-2010, 05:03 PM
I actually like the ability to click on the header of the image and have it display in real size if people want. The vb way doesn't do that. I assume this is the only mod that still does that....

Ryan.
07-13-2010, 12:29 PM
open the .js file in a text editor and find it. It's in there only once. Then reupload that file

Thanks for that! I fixed the spelling error, and also fixed the icon. It wasn't displaying - it was listed as wol_error.GIF instead of .PNG.

Works a charm on 4.0.4. :)

manutdvn
07-22-2010, 06:58 AM
Thanks. It works on 4.0.5, but it seems not to work in quote post. How to resize the picture in quote?

Thank you.

giorgino
07-23-2010, 04:41 PM
Not work for me... Disinstalled

houseofpolitics
07-24-2010, 03:36 PM
Is it possible to get it to work on vbadvanced?

mitch84
07-25-2010, 05:04 AM
hi, vb4.0.4/5 use now stylevars for resizing images, so this hack is not useful

voglermc
07-25-2010, 12:59 PM
hi, vb4.0.4/5 use now stylevars for resizing images, so this hack is not useful

Please provide detail in how to do this.

Alex@Mk3OC
07-25-2010, 02:27 PM
hi, vb4.0.4/5 use now stylevars for resizing images, so this hack is not useful

The stylevars don't allow user to click to view the image full size though, so this mod is still very useful

gopherhockey
07-25-2010, 09:00 PM
Nice.. installed.

BTW: I had an older version of a similar hack that would display the photo size on the bar where you click for a bigger version. Just a request for simmilar feature ;)

brainwart
07-25-2010, 09:16 PM
Works perfect!. Installed.

Winter Sonata
07-29-2010, 05:29 PM
can it be worked with VBA

Sparrow-Sean
07-29-2010, 09:14 PM
Thanks,

V4 Success!

Sean

haidm
07-30-2010, 05:08 AM
Must refresh after edit post to resize image in 4.0.5.

manutdvn
07-31-2010, 03:03 PM
Must refresh after edit post to resize image in 4.0.5.
Did it work in quote post?

Robbed
08-02-2010, 12:39 AM
Please provide detail in how to do this.

StyleVars >> Postbit >> postbit content max image width

I had to set it to a high number for this hack to work.

sarangan
08-02-2010, 11:08 PM
You forgot to change version number in current xml file:

<version>1.0.1</version>
Change it to

1.0.2

manofphat
08-04-2010, 12:14 AM
I know this probably isn't an issue with this product itself but whenever an image is enlarged on my forum that's bigger then the viewable dimensions of the forum I get a vertical scrollbar at the bottom of the post instead of the image stretching the forum. Any suggestions?

Ryan.
08-04-2010, 10:51 AM
I know this probably isn't an issue with this product itself but whenever an image is enlarged on my forum that's bigger then the viewable dimensions of the forum I get a vertical scrollbar at the bottom of the post instead of the image stretching the forum. Any suggestions?

This is happening to me now too, but only since upgrading to 4.0.5.

Any idea how to make it go back to just regular enlarging, and not making it enlarge inside the table itself and making the horizontal scroll bar appear?

Ryan.
08-04-2010, 10:54 AM
Oh and yeah, if you go to "go advanced" or quote them, it doesn't work. But that isn't of major concern to me.

sticky
08-08-2010, 02:04 PM
Could I get this to resize by max % instead of pixels?

Ohiocustoms
08-09-2010, 11:37 PM
Any chance of adding an option to open with lightbox?

racingsolution
08-10-2010, 12:31 AM
This didn't resize pics I have in posts displayed in vbAdvanced..

also on the resize phrase, it says "Resigzed Image"

LordVader
08-10-2010, 05:26 AM
Using the style var method but set to 100% of users width works a charm.

Thanks for that.

I messed around with this for a while & then i saw your post.

I uninstalled this plug-in & edited the stylevars file to display %100 & all the pictures on my forum display perfectly in different resolutions.

Also, if you want to see the picture in its original size when using the new built in vbulletin image resizing, simply Right Click On The Picture & Select ( View Image )

I hope that helps some of you :)

Will. :)

Ryan.
08-13-2010, 12:20 PM
This is happening to me now too, but only since upgrading to 4.0.5.

Any idea how to make it go back to just regular enlarging, and not making it enlarge inside the table itself and making the horizontal scroll bar appear?

This seems to no longer be happening with 4.0.6, it's back to normal. :)

sross
08-15-2010, 01:01 AM
working on 4.0.5 i just had to make sure my stylevar resize did not interfere with the resizer setting. so i had stylevar resize at 550px and resizer at 550px and it failed

D19RNY
08-15-2010, 01:52 AM
It keeps telling me - To enable or disable this hack use product manager.

sticky
08-18-2010, 09:24 AM
Thanks for that.

I messed around with this for a while & then i saw your post.

I uninstalled this plug-in & edited the stylevars file to display %100 & all the pictures on my forum display perfectly in different resolutions.

Also, if you want to see the picture in its original size when using the new built in vbulletin image resizing, simply Right Click On The Picture & Select ( View Image )

I hope that helps some of you :)

Will. :)
Would you please explain how to edit the file to show 100% so it works for all resolutions?

der_darkon
08-18-2010, 07:04 PM
I followed the instructions in https://vborg.vbsupport.ru/showpost.php?p=2018438&postcount=46 and it just wont work in the CMS. :(

Anyone got this hack to work on vB 4.0.6 in the CMS?

der_darkon
08-20-2010, 08:32 PM
Really? No one?

:(

masonox
08-21-2010, 02:29 PM
To enable or disable this hack use product manager.

I have no option to enable it?

masterweb
08-22-2010, 09:51 AM
Installed in just 1 minute, thanks for such easy and lite mod bud.

Noerenberg
08-22-2010, 09:26 PM
Is there a possibility that it is used only for the signature?

Terrona
08-23-2010, 03:42 PM
Thanks works well in v 4.0.6
But I see no turn off, I do not see the option to work in signatures, if you can fix it would be a great mod.

https://vborg.vbsupport.ru/ (http://www.subirimagen.org/host1/view.php?filename=744rezice.jpg)

liefdesdichter
08-24-2010, 06:49 AM
pictures in post and signature shouldnt be the same could you fix that also
so can give signature pictures another size?

Tailfeathers
08-24-2010, 09:34 PM
Mine looks the same as above - no signature option sadly :(

sticky
08-28-2010, 09:46 AM
Using the style var method but set to 100% of users width works a charm.
How did you do this?

YankForum
08-28-2010, 09:27 PM
any possibility to set different maximum width for different screen resolutions ?

sticky
08-29-2010, 07:01 AM
any possibility to set different maximum width for different screen resolutions ?
Not sure why more people don't take this into account when creating these mods.

Alex@Mk3OC
08-29-2010, 01:23 PM
any possibility to set different maximum width for different screen resolutions ?

Or allow users to set their own re-size requirements in their usercp. I have askded for this to be added and even PM'd the mod author with a paid request to add it for me, but never heard anything back :(

Cherkez
09-01-2010, 09:35 AM
thanks a lot
it works great

Absolution
09-01-2010, 08:14 PM
Would love if I could get this working in the CMS.

pmk_1992
09-07-2010, 03:22 AM
not work with 4.0.4

it show To enable or disable this hack use product manager.
and not have option to work in signature

Tariq AlAli
09-08-2010, 11:31 PM
works fine on 4.0.6 thank you

zonaenlinea
09-09-2010, 01:59 AM
Thanks works well in v 4.0.6
But I see no turn off, I do not see the option to work in signatures, if you can fix it would be a great mod.

http://www.subirimagen.org/host1/images/744rezice.jpg (http://www.subirimagen.org/host1/view.php?filename=744rezice.jpg)

Same thing happens to me:confused::(

KProjects
09-15-2010, 10:37 PM
Thanks! Installed on 4.0.7 - everything looks good.

jacobsen1
09-17-2010, 06:48 PM
installed, thanks!

Ryan.
09-18-2010, 11:27 AM
This is happening to me now too, but only since upgrading to 4.0.5.

Any idea how to make it go back to just regular enlarging, and not making it enlarge inside the table itself and making the horizontal scroll bar appear?

This seems to no longer be happening with 4.0.6, it's back to normal. :)

Just upgraded to 4.0.7 and the problem is back again, the scroll bar is appearing and it's enlarging within the table again... ugh.

tomcat77
09-21-2010, 03:13 PM
Can someone show a sample how the hack is working in 4.0.7 please.

This hack works with on board uploaded pics too or not?

Im looking for a picture resizer with the bar on the top so I can enlarge to a bigger size.

Seven Skins
09-22-2010, 03:40 PM
^ Working example: http://www.celebfungfx.com/threads/1879-Kim-Kardashian-Vegas-Magazine’s-7th-Anniversary-Party-in-LV

You may need to comment out the code below from postbit.css

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar postbit_content_max_image_width};
}

tomcat77
09-23-2010, 09:05 AM
Thank u! But those pictures are hosted with Imageshak and are not uploaded with vBulletin. I need a sample from board uploaded pics.

Thank u anyway.

Dragonsys
09-23-2010, 03:17 PM
Thank u! But those pictures are hosted with Imageshak and are not uploaded with vBulletin. I need a sample from board uploaded pics.

Thank u anyway.

do you mean attachments? Attachments show up as thumbnails in the post.

Samsine
09-26-2010, 06:24 PM
Hi,

we show attachments as full size pic, not as thumbnail.
And I need a mod, who can resize this fullsize.

Regards

Dragonsys
09-27-2010, 07:36 PM
Hi,

we show attachments as full size pic, not as thumbnail.
And I need a mod, who can resize this fullsize.

Regards

it should work just fine.I just tried it on my test site and it re-sized the attached image,

ravencr
09-28-2010, 10:42 PM
This is resizing images in my blog, but not the cms. Has there been something to fix it to do it in the cms, as well?

Chris

ravencr
10-04-2010, 08:15 PM
Why would it all of a sudden stop resizing on one forum and not in another? How can I check that?

Chris

ravencr
10-04-2010, 08:30 PM
Actually, mine are resizing, but they're not providing the bar at the top to select to enlarge them.

Chris

ravencr
10-04-2010, 08:34 PM
And, to top it off, I posted a new photo within a thread that has been resizing, and only the new photo is resizing, but not providing the top bar to expand it. Any ideas please?

Chris

ravencr
10-06-2010, 12:23 AM
Anybody know what I need to check to get my uploaded photos to actually go to the fullsize image when a user clicks the top bar? Right now, it's being prevented by something? Any ideas on what would cause this?

Chris

Dave@Canibeat
10-06-2010, 02:36 AM
I have uploaded the ncode_imageresizer.js script to clientscript folder via FTP and I have imported the XML file and I still can;t seem to get this to work with vB 4.0.7.

Is there a way to actually turn off the warning block?

jluerken
10-08-2010, 11:15 AM
Ho can I make this working in vbCMS?

Ryan.
10-09-2010, 09:56 PM
Just upgraded to 4.0.7 and the problem is back again, the scroll bar is appearing and it's enlarging within the table again... ugh.

I'm still having this problem, here is an example on my forum:

http://www.theninthconfiguration.com/forum/showthread.php?7-Forum-updates&p=117&viewfull=1#post117

Can anyone tell me what to edit to make it go outside the table so the scroll bar doesn't appear?

kfyonur
10-10-2010, 08:13 PM
it didn't work on 4.0.5

Sicilian
10-27-2010, 08:40 AM
Working on 4.0.8, thank you :)

denman75
10-27-2010, 12:25 PM
this really does what the other resize mods say they do!!
thank you very much
*installed
*nominated

Freddy.k
10-29-2010, 12:14 AM
thank you very much

Eduardo Leon
10-29-2010, 01:55 PM
nice work .

well , i search this hack ... thnx for share ^^ !

bada_bing
10-29-2010, 02:56 PM
I have enabled this hack but how some in the product settings the enable/disable feature is not listed but rather tells you this

Image Resizer
To enable or disable this hack use product manager.

This is not what is shown in your preview picture ?

LordVader
10-31-2010, 02:28 PM
Its in Stylevars

postbit_content_max_image_width

I set it to 50% so the images from external sites that are displayed are never larger than 50% of the viewers post area - but would prefer to use this mod to control the height also.

I set mine to 100% & it was working perfectly, but i just upgraded vbulletin to 4.0.8 & now it won't work & my images are all being displayed at half size ?

Its saying something about it being Deprecated In 4.0.8

Anybody got any ideas ?

Thanks

Seven Skins
10-31-2010, 06:03 PM
^^

Find in postbit.css template:

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar postbit_content_max_image_width};

}


Replace it with:

/*.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar postbit_content_max_image_width};

}*/


It work ;)

See demo here: http://www.celebfungfx.com/threads/2679


.

Manoel J?nior
11-07-2010, 02:23 PM
MOD 1.0.1 or 1.0.2???

<version>1.0.1</version>

See error my Forum:

http://www.adrenaline.com.br/forum/overclocks/321922-ranking-cinebench-11-5-a.html#post1064029266

It does not resize whole.

If we copy the address and put it in the browser will see the actual image size is: 1920x1080.

How can I do to fix?

Manoel J?nior
11-10-2010, 01:02 AM
Help?

Seven Skins
11-10-2010, 03:01 PM
Is your question related to this hack?

Reason I ask the above qustion is because ... I dont see this hack installed on your site.

OldSchoolDSL
11-11-2010, 01:04 AM
Not sure if this is working on my forum or not.

A user posted an imagine offsite and its bleeding over, so I installed this mod. Image still bleeding over.

Though the image is in the blogs if that counts. 4.0.8

OldSchoolDSL
11-11-2010, 01:17 AM
Not sure if this is working on my forum or not.

A user posted an imagine offsite and its bleeding over, so I installed this mod. Image still bleeding over.

Though the image is in the blogs if that counts. 4.0.8

Seems I got this working with this mod installed

https://vborg.vbsupport.ru/showthread.php?p=2120409

(they both seem to work together & play nicely)

l2-inferno
11-12-2010, 10:31 AM
Image Resizer:

To enable or disable this hack use product manager.

pls help

Seven Skins
11-13-2010, 12:23 PM
Goto: AdmonCP > Plugins & Products > Manage Product ... use the controls on the right to disbale/anable this hack.

JaBaT
11-17-2010, 09:16 AM
I see more people ask but dont see the answer.

Your screenshot is diferent from reality.
I have installed 1.0.2, but see 1.0.1 in my adminpanel and options are different that your screenshot.
I want the option for dissabled in signatures.

peppefark
11-17-2010, 12:19 PM
Ho installato la MOD ma nelle impostazioni mi appare scritto: To enable or disable this hack use product manager.

What should I do to fix it?

sickmint79
11-23-2010, 06:30 PM
on 4.0.8 and need some help.

1. warning image on bar isn't showing

2. the resize only seems to resize up to some limit vbuleetin already has. for example, i can set my script max size at 700. vbulletin already seems to be reducing images to like 800. the original image is really 1000. at 800 i'm given no resize bar, at 700 i'm giving a resize bar, but it only resizes up to 800. i can't find this 800 listed in any setting. hrm? what's going on? please help! have enjoyed how well this script works on 3.8.

i just downloaded this at the top of the thread - says 1.0.1 in the product manager

Kyoshokid
11-24-2010, 04:46 AM
This mod works with vb4.0.8 with a little help.

With vb 4.0.5 and 4.0.6 you had to do:
Admin cp > stylemanger > your theme > style vars > postbit > postbit_content_max_image_width > and set it to a high number for the mod to work.

Now in vb 4.0.8 they removed postbit_content_max_image_width, now you have to edit:

Admin cp > stylemanger > your theme > style vars > common > image_medium_max > and change this to a high value and the mod will work once again.

Hope this helps you guys out.

sickmint79
11-24-2010, 05:57 AM
hey that did it! thanks a lot :)! i also had to go out and grab an error gif from a previous version of vbulletin since that image is now a png.

peleh
11-26-2010, 10:38 PM
Hi, one question.

Is it possible to inform the user about the size of the original image? So the user would be aware of the size before clicking on the full image button.

mavigul
12-06-2010, 07:55 AM
thankx