PDA

View Full Version : Show Thread Enhancements - Image resizer


Pages : 1 2 3 [4]

youradhere4222
02-21-2008, 11:42 PM
Hi Spleasure,

Do you plan releasing this for 3.7?

Regards Jason :)

This works for Beta 5, as you just stated...

Jase2
02-21-2008, 11:52 PM
Yes, I know. But I don't want to keep an hack that isn't going to be supported for future versions.

Regards Jason :)

rapidphim
02-23-2008, 05:57 AM
how about v3.6.8?

Jase2
02-23-2008, 11:30 AM
Yes, it works with 3.6.8.

Regards Jason :)

mystic10
02-23-2008, 08:43 PM
is there anway i can remove the statement this image is resized....

Jase2
02-23-2008, 08:57 PM
You would need to edit one of the files, possibly the javascript one.

Regards Jason :)

Dudsmack
02-23-2008, 11:43 PM
I love it - thanks!

Jase2
02-24-2008, 06:14 PM
Yes, it is great!

Regards Jason :)

Gooner
02-27-2008, 08:35 AM
You would need to edit one of the files, possibly the javascript one.

Regards Jason :)

indeed its ugly, thats the only let down for this mod is the stupid white thing which you cant remove without manual edit of code

MissKalunji
02-27-2008, 12:15 PM
is there anway i can remove the statement this image is resized....

I removed mine by template edit check the template i think i had to remove the phrase

Howell
02-27-2008, 07:58 PM
When I view my site in internet explorer 7 I get the following error.


LINE: 379
Char: 1
Error: 'NcodeImageResizer' is undefined
Code: 0
URL: http://www.justopelvauxhall.comLine 379 is as follows.

NcodeImageResizer.MODE = 'enlarge';
Is there any fix for this?

Any help would be appretiated :)

Bradley_Wint
02-28-2008, 01:57 AM
Hey,
I installed this mod on vb 3.7.0 B5 and it worked great at first but when I checked back recently, it stopped working. I checked all my settings and they are intact. When I viewed the page in IE I got the same error.

Error: 'NcodeImageResizer' is undefined
Any help?

Jase2
02-29-2008, 02:51 PM
You mustn't be installing it right. I suggest you go through the install instructions again, overwriting any files on your web server already, as well as overwriting the product.

Regards Jason

insidedesign
02-29-2008, 04:47 PM
Has anyone had issues with this MOD when upgrading to vB 3.7?

Jase2
02-29-2008, 11:11 PM
No, I'm running this with BETA 5 -- works great!

Regards Jason :)

Howell
03-01-2008, 04:06 PM
I found the problem!

The file "ncode_imageresizer.js" in the clientscript directory had disappeared?

It's was there before I upgraded to BETA 5 :confused:

Oh well it's all working fine again now. :up:

leanbulk
03-01-2008, 09:02 PM
Fatal error: Call to a member function query_write() on a non-object in /home/leanbulk/public_html/forum/includes/adminfunctions_options.php(467) : eval()'d code on line 20

I am getting this error when I try to save my settings in the admincp. any help?

Bradley_Wint
03-02-2008, 01:45 PM
Well when I installed it, it was after I install 3.7.0 B5...nonetheless I did a rewrite and it worked again.

What amazes me is when I originally installed it, it worked and then suddenly stopped. Anyway it's fine now. Thanks for the help.

Jase2
03-04-2008, 03:07 PM
Mind sharing on what you did Bradley?

Regards Jason :)

dieselpowered
03-06-2008, 08:44 PM
So it has been confirmed that this mod does in fact work with 3.7??

furst
03-10-2008, 11:49 PM
So it has been confirmed that this mod does in fact work with 3.7??
I'm using it on 3.7 beta 5 without a problem.


Are there any plans to work highslide into this hack?

jiggle
03-14-2008, 07:07 AM
But this hack is only working when a user posts an image with the [ IMG ] bbcode correct ? It does not work when a user uploads an JPG / GIF as attachment, correct ?

Jase2
03-14-2008, 08:04 PM
Why should it work with attachments? Attachments open up within a litebox for 3.7

I may try to keep this going. I will keep it going for my site, but it all depends on whether I get time to post it all here.

Regards Jason :)

dieselpowered
03-15-2008, 06:16 AM
Hmmm mine is only showing 'Click This Bar To View Full Image" why is it not showing the sizing information?

Thanks!

Jase2
03-15-2008, 02:17 PM
Go through the instructions again and make sure you did everything correctly. Chances are, you missed something ;)

Regards Jason :)

dieselpowered
03-15-2008, 05:02 PM
LOL how many instructions were there?

Upload .js file and import product??

Yassuo
03-16-2008, 01:36 PM
Hi,

can I use this modification in localhost?

I try to install in localhost, but have this error message:

Warning: javascript file not found

You have to upload the Javascript file ncode_imageresizer.js to the clientscript folder manually.

And I moved the "ncode_imageresizer.js" to clientscript folder.

Sorry for my bad english.

Thanks.

Jase2
03-16-2008, 02:33 PM
Upload to /clientscript and re-import the product. It should work.

Regards Jason :)

dieselpowered
03-16-2008, 03:19 PM
Upload to /clientscript and re-import the product. It should work.

Regards Jason :)
Thanks, re-imported the product...no sizing information provided on the images...

Re-installed on test board...no sizing information provided on the images...

Like I said, the product works, just is not providing all the information it is supposed to??

picarcik
03-16-2008, 04:24 PM
Nice mod thanks ;-)

Jase2
03-16-2008, 09:12 PM
Thanks, re-imported the product...no sizing information provided on the images...

Re-installed on test board...no sizing information provided on the images...

Like I said, the product works, just is not providing all the information it is supposed to??

Check to see what options you have enabled:

ACP --> vBulletin Options --> nCode Image Resizer options

I cannot see how it's happening if you have installed it correctly, since I'm running it on BETA 6 with no problems whatsoever.

Regards Jason :)

dieselpowered
03-16-2008, 09:58 PM
There are no options that would be responsible for displaying the size information.

Not sure what is going on...like I said, tried it even with a fresh installation of vbulletin.

Jase2
03-17-2008, 05:05 PM
Well, I don't know then. You must be going wrong, since I'm running it completely fine. Do you have any other hacks/mods that may be conflicting with it?

Regards Jason :)

dieselpowered
03-17-2008, 05:17 PM
Not sure, like I said, I even tried it on a fresh installation of Beta 6. Wonder if there could be any server side settings that could affect this?

Jase2
03-17-2008, 05:24 PM
Hmm...I shouldn't think so. Would you like me to take a look?

If Spleasure gives me the go ahead, then I'll take over this hack...but he doesn't seem to be responding.

Regards Jason :)

iDaemon
03-17-2008, 07:53 PM
yes I have installed this nice script

goldendog
03-18-2008, 08:59 AM
This is a nice mod: Thank you I have installed it, Is it possible to have a size for the forum and a different one for the blog, as we know the blog has a smaller viewing area due to the sidebar.

Jase2
03-18-2008, 06:18 PM
This hack was made for vBulletin and not blogs, or other programs ;)

Regards Jason :)

bugzy
03-21-2008, 11:50 PM
Anyone know if upgrade from 3.6.8 PL2 to 3.7 RC1 if this plug in will still work?

Jase2
03-22-2008, 04:59 PM
Yes, I am using it with 3.7 RC1 ;)

Regards Jason :)

testebr
03-25-2008, 05:15 AM
How to change this plugin to work with album images?

jpapadpapa
03-25-2008, 11:41 AM
Does this work for profile pictures also or only in posts? I would LOVE for users to have the ability to click on a profile picture in the member list and see it enlarged!

ianwilcox
03-27-2008, 07:44 PM
Just what i was looking for !!! awesome mod! thanks so much!

dannykilla
03-28-2008, 12:35 PM
Just Installed, this is a truly awesome Mod/hack

Thanks m8
Dan

Jase2
03-28-2008, 11:52 PM
Let's hope vB can implement this by default sometime in the next version (4.0).

Regards Jason :)

furst
03-31-2008, 06:31 AM
How to change this plugin to work with album images?
I am also interested in an answer to this question.

I've got this mod installed on 3.7 beta 5, but I'd also like it if it worked in the albums sections. Any easy way to get this done? Are there plans of offering it in an update?

burntire
04-01-2008, 12:58 AM
Works great 3.7 RC1

burntire
04-01-2008, 01:14 AM
I never noticed this before but, does any have this at the top of the resized photo?

original image is sized %1%2.

I am having the same issue.

Any suggestions?

Sworm
04-02-2008, 09:06 PM
This mod work on vBulletin 3.7 RC2?

TX

logicuk
04-02-2008, 09:10 PM
i installed this mod on vb 3.7 b5 and it dont work :( :(

burntire
04-02-2008, 11:39 PM
This mod work on vBulletin 3.7 RC2?

TX

Yes

ZomgStuff
04-05-2008, 11:14 PM
Why is this in German for me?

adamadamadam
04-06-2008, 04:23 AM
Hello - is it at all possible to setup this theme so that it's installed to specified themes and not ALL themes?

I have some themes that are 100% browser width where image resizing isn't necessary and some that are a set width (1024px) where image resizing is necessary. How do I choose which themes to have this installed to?

mahsazn
04-06-2008, 12:59 PM
does it work with 3.6.8 ?

Kadence
04-07-2008, 04:24 AM
Why is this in German for me?
Do you mean Dutch? Did you download vbulletin-language-nl.xml? You might need to uninstall something.

adamadamadam
04-07-2008, 07:30 PM
Can I choose which themes/styles to install this to?

Kentaurus
04-09-2008, 01:58 AM
Really good hack. Thanks for sharing.

I only did a couple of changes, I post them here for your consideration (I TESTED THE 3.5 version it seems)

The preg_replace code, even if non-expensive, is executed each time a post is parsed, and doesn't use the already in place post cache, you can verify it by querying the postparsed table, the <img> code is left there unreplaced.

Instead, I REMOVED the postbit_complete plugin, and replaced it for a

bbcode_parse_complete plugin with the following content:

if(defined('NCODE_IMAGERESIZER_INIT'))
{
$this->cached['text'] = $text = preg_replace('/<img src="([^"]*)" border="0" alt="" \/>/', '<img src="\\1" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />', $text);
}
With that, the postbit is just parsed once, and subsequent views of the thread/postbit don't call the preg_replace at all. You can check the "postparsed" table and the new <img> info would be there. Since I run a medium-big forum, every bit of optimisation counts :)

And... I'm contributing a spanish translation :)

fsbmax
04-10-2008, 03:34 AM
fixed my problem, human error on my behalf

fsbmax
04-10-2008, 03:35 AM
fixed!^^^

Southernphuk
04-12-2008, 02:51 AM
Works just fine on the latest RC version - no issues or problems.

Jase2
04-14-2008, 04:35 PM
Confirmed. Works great on RC3. :)

nightbloom
04-16-2008, 06:17 AM
I have this hack as well and it does not work for the albums. That would really bring this mod up to date with the new vB version.

Jase2
04-16-2008, 12:14 PM
Because it was not made for the albums ;)

However, I may work on an updated release.

Jase2
04-16-2008, 02:23 PM
Been in touch with Spleasure, and he has given me permission to release an updated version, then take future requests.

Jase2
04-16-2008, 08:44 PM
nightbloom,

Why would you want this for the albums? You can set the max size for albums in ACP.

As Spleasure has given me permission of the code, I will release it for 3.7, then fix any bugs, and add any features.

fulviods
04-17-2008, 01:09 PM
Finally a good script! Work well on 3.7 RC1

Jase2
04-18-2008, 10:53 AM
Just going to release this for 3.7 -- has Spleasure has given me the rights to the code. I will then take future requests, and fix any bugs that may pop up. :)

Jase2
04-18-2008, 09:18 PM
Released for 3.7 and supported: https://vborg.vbsupport.ru/showthread.php?p=1494099

adamadamadam
04-24-2008, 06:25 AM
Hopefully third time's the charm: Can I choose which forums to install this to specifically rather than installing it to my entire message board?

Jase2
04-24-2008, 07:36 AM
No, that is currently not an option. Sorry.

adamadamadam
05-06-2008, 01:47 AM
Alright then - since you're doing updates, COULD you add this feature? Some forums have different styles that are full-screen and some on a fixed width and the ability to choose which forum to do the image resizing on would be really handy.

PHILIPS-08
05-23-2008, 12:30 AM
thanx for the image resizer

thedudleys
06-06-2008, 11:03 AM
Does this work for 3.6.8?

Sadie Frost
06-07-2008, 12:31 AM
Yep it does :)

Marcus_Fenix
06-26-2008, 06:56 AM
-edit- wrong forum :)

usmansabir
06-27-2008, 09:20 PM
great release.. thankx...

Mu Basheer
09-25-2008, 09:02 PM
Great

but there is one compatible with VB 3.7.3?

Best regards

Marco
09-29-2008, 04:46 PM
Version 1.0.1 works fine on vBulletin 3.7.3. :)

sR->Shaun
11-11-2008, 03:26 PM
Great mod, but I'm getting W3 validation errors with the "onload" attribute.



Here's a thread with the problem if you want to toss into validator.w3.org:

http://www.sevenstring.org/forum/artist-reviews-interviews/2459-sevenstring-org-interview-steve-smyth-nevermore.html#post32110

Known problem. It's on my todo list


Any progress on this?

Greni01
01-05-2009, 01:06 PM
Great Addon !! I love it . :up:

Just a question, where can i change the sentence
"This image has been resized. Click this bar to view the full image. The original image is sized 1024x768."

I would like to translate it to german for my users.

Thx in advance :)

PachiUniverse
01-11-2009, 11:52 PM
If this is my site "http://www.mysite.com" will this work on images from "http://www.yoursite.com/logo.jpg"?

That's how all my images are now and I'm wondering if there is a way for this to work on outside image sources.

Thanks.

JohorBahru
01-19-2009, 01:28 PM
will it resize with correct ratio?

maybepost
02-11-2009, 04:32 AM
Does this work with 3.8.1?

whitesoxfan5622
04-03-2009, 01:22 AM
I have it running with 3.8.1
Only problem is the bar says
"This image has been resized. Click this bar to view the full image. The original image is sized %1%2."

It uses %1%2, if anyone know how to just remove that part, let me know!

voter
04-16-2009, 08:52 PM
After I tried to unsintall this I am not more able to change any of my templates.

After pressing save the error comes

It comes Fatal error: Call to undefined method vb_activecache::flush() in ...includes/adminfunctions_template.php(2359) : eval()'d code on line 6

Any idea.

Dollarsign
04-16-2009, 10:39 PM
when posting a large image, is it normal for the image to load at its original dimensions and then be resized into the resize box?

fly
04-17-2009, 09:21 AM
when posting a large image, is it normal for the image to load at its original dimensions and then be resized into the resize box?

Yes. Resizing is all done client side.

accludetuner
11-06-2009, 09:20 PM
Works flawlessly in 3.8.4! Thank you!

joeycannoli
11-07-2009, 02:34 PM
Silly question but does anyone know where in Vbulletin to find the options menu as shown i nthe 4th picture?

muratcan25
01-02-2010, 05:43 AM
Thanks For It
Installed

Sworm
01-04-2010, 06:39 PM
AnyBody have tried this mod on vb4?

socarno
01-14-2010, 10:57 AM
i have error with ie6....
the error make ie6 to close and try to send error to microsoft
any one can help me?

Kolbi
02-10-2010, 02:19 PM
After uninstalling your mod I found some tables still in the database.

Can I delete them or are they used by another mod, too?

These undertables are all content of the user table...

'awesomebox'
'enlarge'
'floatbox'
'greybox'
'highslide')
'lightview'
'lightwindow'
'lytebox'
'newwindow'
'roebox'
'samewindow'
'shadowbox'
'slimbox'
'thickbox'
ncode_imageresizer_maxheight
ncode_imageresizer_maxwidth
ncode_imageresizer_mode

utvchat
10-25-2010, 11:57 PM
works on 3.8.4

Abunch
02-15-2011, 03:21 PM
Does this work on 4.1.1??

Spleasure
02-15-2011, 03:32 PM
No, it doesn't. Later this year I will upgrade the board I manage to vB4 and maybe I will update the Image Resizer. However, it has been a long time since the last update and I think others have created working Image Resizers already. I suggest you look elsewhere on this forum to find other solutions. I'm interested to hear if you have found anything.

Abunch
02-25-2011, 01:44 PM
No, it doesn't. Later this year I will upgrade the board I manage to vB4 and maybe I will update the Image Resizer. However, it has been a long time since the last update and I think others have created working Image Resizers already. I suggest you look elsewhere on this forum to find other solutions. I'm interested to hear if you have found anything.

I did find one that works - looks like they took your code and modified it to work w/ vb4.

Here's the link to the mod:
https://vborg.vbsupport.ru/showthread.php?t=237650&highlight=image+resizer

realmr
06-23-2011, 05:07 PM
any one got this working in 3.8.7 with out issues ?