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)

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

Quote:

Originally Posted by min0taur (Post 1998507)
Can You Make it work to CMS??

Quote:

Originally Posted by cindy helmond (Post 1998752)
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.

Quote:

Originally Posted by valendono (Post 1999664)
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

Quote:

Originally Posted by Sander Prinsen (Post 2002138)
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

Quote:

Originally Posted by Veer (Post 1998891)
Hi, can you add different size options for blog page and forum post?

Replace this (in sevenskins_imageresizer template)
PHP Code:

NcodeImageResizer.MAXWIDTH '{vb:raw vboptions.sevenskins_imageresizer_maxwidth}'

with:
PHP Code:

<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:
HTML Code:

http://api.ning.com/files/NjhGbaSxaaUhgACDVqZd8n23X8ehocNjXDg0ZEZ9yVVW1xt179p-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?


All times are GMT. The time now is 03:14 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.01505 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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