vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Image Resizer - Using nCode Script (https://vborg.vbsupport.ru/showthread.php?t=237650)

j3suss 09-02-2011 12:23 PM

Quote:

Originally Posted by Seven Skins (Post 2241142)
This hack does not work for attachments.


Ahmm oK!!

And in future?

Thank you!

Hippy 09-03-2011 04:36 PM

is there a way to get this to work in vbadvanced ??

thanks

I searched the thread but came up empty handed

misericorde 09-07-2011 12:25 AM

Thanks

Installed Nominated https://vborg.vbsupport.ru/external/2011/09/19.gif

morgano 09-07-2011 03:20 PM

One thing I'd like to see is for this to be integrated with the lightbox.

Basically for the image to be resized as it is now, but having the image a click-able link (like an attachment) which opens the fullsize image using the current Vbulletin lightbox solution.

tpearl5 09-08-2011 08:16 PM

Has anyone figured out how to only apply this to a specific section in the CMS? I realize it would involve putting an if condition in the hook for the CMS.

Kerdh 09-09-2011 07:58 PM

Thanks for the mod!

But I have a noob question:

Quote:

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.
Hum... how?

Thanks ^^

tstevens 10-07-2011 02:37 PM

I'm getting the same problem with the scrollbar - this mod just doesn't seem to work at all for some reason. What am I doing wrong?

*issue resolved - just had to make sure I had the javascript in the right place*

We recently had an issue where the CKEditor was attaching images instead of using the IMG BB Code, but that's resolved. Now this resizer doesn't work. Help!

Seven Skins 10-07-2011 03:05 PM

Please make sure the javascript has been uploaded to the correct location.

tstevens 10-07-2011 03:40 PM

How odd - I thought it had been (was in the same place as the original version I had). I uploaded it to the root /clientscript directory and all is well. I should have caught that, but thanks for your time.

davut_c20 10-16-2011 12:54 AM

thank you very much ;)

elcoxx 10-16-2011 03:11 AM

Thanks mate, works like a charm :D

shahryar_neo 10-19-2011 09:21 AM

Thanks man ! works fine on 4.1.7 .

But all of these image resizer mods have a serious problem :

They don't limit the user to post an image with high sized image . they just resize the picture . I mean for example I send a post with an image with dimension of 2000*2000 and size of 5MB . they just resize its dimensions but users have to load 5MB for that picture .

If coders add a option for this , it would be great .

Scalemotorcars 10-19-2011 01:30 PM

I have an external page I would like to add this to. Is there a way to run it using "THIS SCRIPT" or ???

I tried adding the variable to the global start hook in the mod where the other array of THIS SCRIPT's were placed without any change.

Any help would be great. Thanks...

CrashOverrideSE 10-21-2011 12:01 PM

What is with a Lightbox Sulution is it Possible ?

Hippy 10-22-2011 10:26 PM

Quote:

Originally Posted by Scalemotorcars (Post 2258956)
I have an external page I would like to add this to. Is there a way to run it using "THIS SCRIPT" or ???

I tried adding the variable to the global start hook in the mod where the other array of THIS SCRIPT's were placed without any change.

Any help would be great. Thanks...

yes wolud be nice for it to work in vbadvanced....
hope someone can help

hhumas 11-08-2011 08:40 AM

is there any way how to remove the copyright on this product

Juggernaut 11-11-2011 01:23 AM

Quote:

Originally Posted by hhumas (Post 2265612)
is there any way how to remove the copyright on this product

I'm sure there is, but you can't remove the copyright unless you get permission from the mod author or you could just uninstall the product. :)

Seven Skins 11-11-2011 11:37 AM

Quote:

Originally Posted by hhumas (Post 2265612)
is there any way how to remove the copyright on this product

You can make samll donation. Send me a PM/or contact me at my site for more info.

Hippy 11-18-2011 11:01 AM

great mod .. still working with vb4.1.8

thanks for your efforts

Sworm 12-04-2011 07:56 PM

Hi Seven Skins, it look a great job with the yellow bar back....really.....

Should be problems if i try to translate the phrase "Click here to view the original image of xxxx X xxxx" ..... My forum is not english and a lot of user knowing only the italian language .... Thanks

Seven Skins 12-06-2011 08:27 AM

You can translate phrases into Italian.

Mooff 12-14-2011 11:38 AM

don't know whether it has been posted before, but there is a nice and easy way to include different resize sizes for cms and forums. :)

just check the ss_imageresizer template and extend the if vbmcs part (i won't post code, cause we are on 1.3 and haven't found time to upgrade yet - not sure if that template looks different now ;) ).

So as an improvement idea/ feature request: I think many sites do need different resize sizes for cms and boards, so adding another cms resize option in the next version would be nice. Until then (for site admins) change the template above and do it manually. :)


Great addon :)

Sworm 12-19-2011 08:46 PM

Hi SevenSkins..... can i ask you if there's a way to remove this gap from the last phrase in the post and the yellow bar?
http://img818.imageshack.us/img818/8156/gapz.jpg

No Gap in the editor phase
http://img585.imageshack.us/img585/2452/gap1i.jpg

Seven Skins 12-20-2011 09:39 PM

This hack only adds 12 px margin on top of image. According to your 1st screenshot gap is way too big and it must be coming from somewhere else.

Anyways you can edit "ss_imageresizer" template and edit the margin-top: 12px ...

Luca_ITA 12-23-2011 08:36 PM

1 Attachment(s)
Great mod! Installed on 4.1.9
+
italian translate

______
Fixata la traduzione

fromtheflames 12-30-2011 07:15 AM

Hi and thank you for the mod.

I'm not sure if it's only a problem of mine, but if I translate this mod, it won't work anymore.

Luca_ITA 12-30-2011 11:20 AM

I,m so sorry fromtheflames!
i have fixed the issues

fromtheflames 12-30-2011 11:33 AM

I wasn't talking about your translation :-)

I was talking about translate the phrase using the internal vbulletin system

RetroDreams 01-12-2012 06:15 AM

Does this not work in 4.1.9?

Seven Skins 01-12-2012 01:20 PM

What does not work?
Have you uploaded the javascript?

Adek 01-14-2012 06:39 PM

I've got problem on vb 4.1.10 board. Full images are cropped. Do you have vb 4.1.10 with this mod?

Hippy 01-14-2012 11:46 PM

Quote:

Originally Posted by Adek (Post 2287795)
I've got problem on vb 4.1.10 board. Full images are cropped. Do you have vb 4.1.10 with this mod?

works find here .. weird try to reinstall it

Power_user_EX 01-20-2012 06:59 AM

Need some help...
1st I'd like to say that this plugin is very useful and we have it installed on our forums at www.ocfreaks.com

We have also installed another plugin called vaultwiki (https://vborg.vbsupport.ru/showthread.php?t=239377) alongside with your plugin. We just need your help to make it work with vaultwiki. Vaultwiki uses a custom template to show posts as articles and so other normal plugins like Image resize dont work.

AFAIK its because the custom template is not using the necessary hooks which invokes Image Resizer. I tried editing the vaultwiki template and adding the hooks manually and some other changes as well but i cannot get it work... hence i need you help... :)

stwan 01-21-2012 09:54 AM

Not valid xhtml 1.0 code:
HTML Code:

onload="NcodeImageResizer.createOn(this);"

14DH01 01-23-2012 10:04 AM

Hello,
Thank you.
very good Mod's
Unfortunately not work with the hacks v1.0.0

sorry if the question is already asked

my vb v 4.1.10
good day

gorman 01-26-2012 05:18 PM

Quote:

Originally Posted by fromtheflames (Post 2282141)
Hi and thank you for the mod.

I'm not sure if it's only a problem of mine, but if I translate this mod, it won't work anymore.

Exactly the same here.

Also, it doesn't provide the right info for the picture dimension in the "Click here to view the original image of 767x575px" as, instead, the right dimension, in this case... was 1185x889...

Seven Skins 01-27-2012 01:10 PM

Quote:

Originally Posted by 14DH01 (Post 2291341)
Hello,
Thank you.
very good Mod's
Unfortunately not work with the hacks v1.4

sorry if the question is already asked

my vb v 4.1.10
good day


Hack description: This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages and visitor messages. thishack will not work anywhere else apart from the place mentioned.




Quote:

Originally Posted by gorman (Post 2292766)
Also, it doesn't provide the right info for the picture dimension in the "Click here to view the original image of 767x575px" as, instead, the right dimension, in this case... was 1185x889...


Quote:

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.

14DH01 01-27-2012 01:34 PM

Quote:

Originally Posted by Seven Skins (Post 2293033)
Hack description: This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages and visitor messages.


yes I know very well thank you again
5X1000 Star for you ;)

Did you install the 'Linked Images'? try so you will see that your hacks no longer work.
https://vborg.vbsupport.ru/showthread.php?t=277033

Add Alt Text to Linked Images
+"Image Resizer"="Image Resizer" no found

Thank you

gorman 01-27-2012 02:21 PM

I am not using it with expand on the same window. Check this thread:

http://www.dailyrando.it/showthread....ighi-nel-Mondo

14DH01 01-27-2012 03:56 PM

I too used to reduce image.
http://cibiforum.org/threads/242-Vos...ns-Fixe-photos
it is also good to have the name of the image for SEO.

Why not work together? (two hacks )


All times are GMT. The time now is 07:02 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03276 seconds
  • Memory Usage 1,820KB
  • 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
  • (1)bbcode_html_printable
  • (11)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