View Full Version : Automated Image Resize?


csmith12
October 18th, 2012, 06:12 AM
Alex what are your thoughts on this plugin?

http://www.vbulletin.org/forum/showthread.php?t=237650

Functional example; http://www.r6-forum.com/forums/showpost.php?p=2664342&postcount=3104

Alex
October 18th, 2012, 06:27 AM
I'd like the functionality. But we're on vbulletin 3.X, and it's for 4.X (completely different architectures; plug-ins are not compatible across both). Also - vBulletin introduced their own image resizing at some point during the 4.X versions, so I'm not clear why any add-on would be necessary, but we can cross that bridge when we get there.

No rush to upgrade the board to 4.X at this point, we'd lose much of the functionality that we already enjoy. Eventually I'll have to make that move, but it's not imminent.

CZroe
October 18th, 2012, 07:08 AM
That plugin has always caused havoc with animated GIFs. :( The resize algorithm is the kind that you must expand to see the detail (few people would make a needlessly large animate GIF) and they bounce back to the small size each time it loops (many animated GIFs are on a tight loop) which is usually before you could even scroll to fit or center it on your screen.

It should stay expanded if I click the title to expand and I am against implementing it until it does.

Alex
October 18th, 2012, 07:22 AM
There are a few different ways to do the resizing, and they do have pros and cons. I have seen some different plug-ins for the 3.X series, and have considered them in the past, but haven't done much testing on what they might break. I would want it to be seamless, and have no effect on images that are below the size that would require resizing, and I would want it to work on most browsers that people use to visit here; some of the tools only work well on the very latest browser versions.

CynicalC
October 18th, 2012, 08:29 AM
some of the tools only work well on the very latest browser versions.

People should only be using the most updated version of their browsers for compatibility and security reasons.

CZroe
October 18th, 2012, 09:35 AM
People should only be using the most updated version of their browsers for compatibility and security reasons.
Yes, but not every "old browser" is a computer capable of running a modern browser. Nintendo Wii Opera, Playstation Portable, Playstation 3, Nintendo DS Opera Browser, tablets and phones that stopped getting updates, etc.

Alex
October 18th, 2012, 09:41 AM
People should only be using the most updated version of their browsers for compatibility and security reasons.

No argument from me. And in general, people are pretty good about running current versions, no doubt assisted by the auto-update that the major browser vendors have started including as default. But there are still a minority of users here that do use older versions. (firefox 3.6, IE 6, etc.). The number is small, but not as close to zero as I'd prefer.

Yes, but not every "old browser" is a computer capable of running a modern browser. Nintendo Wii Opera, Playstation Portable, Playstation 3, Nintendo DS Opera Browser, tablets and phones that stopped getting updates, etc.

Yup, those are some examples of the outliers that still make up a portion of our users.

alex.s
October 18th, 2012, 11:51 AM
at one point i had my spoof browser ID set to netscape 1.0.

choneofakind
October 18th, 2012, 12:53 PM
I'm using some sort of google Chrome. I really haven't done anything with it. How do I go about checking if I need to update it? You guys seem to know about this computer stuff

csmith12
October 18th, 2012, 01:14 PM
Ok guys I found a solution to my large image problem on this site as well as others.

If your a google chrome user you can add the stylish extension. And then add this code in a style. Give it any name you want.


div[id^="post_message_"] img:not(.inlineimg) {
max-width: 700px;
cursor: pointer;
display:block
}

div[id^="post_message_"] img:not(.inlineimg):hover {
max-width: 100000px;
display:block
}


or all automatically with the following links

http://userstyles.org/styles/14636/neogaf-post-image-re-size-hover
http://userstyles.org/styles/14636

CynicalC
October 18th, 2012, 01:58 PM
at one point i had my spoof browser ID set to netscape 1.0.

I like to post from my glade air freshener.

alex.s
October 18th, 2012, 02:01 PM
yeah but the refresh rate on the glade just isn't up to standard. its not even 1.080potato.

http://img40.imageshack.us/img40/2153/potato2.jpg

Alex
October 18th, 2012, 02:05 PM
I'm using some sort of google Chrome. I really haven't done anything with it. How do I go about checking if I need to update it? You guys seem to know about this computer stuff

Pull down the settings menu to "about google chrome". It will confirm it is up to date or prompt an update.

Jiggles
October 18th, 2012, 02:15 PM
What's wrong with huge pictures?

http://i21.photobucket.com/albums/b276/seanvoight/photo_zpse5e73567.jpg

And for chode we have

http://i21.photobucket.com/albums/b276/seanvoight/Hi%20Res%20Wallpaper/kate-upton9_zps925b1ca4.jpg

http://i21.photobucket.com/albums/b276/seanvoight/Hi%20Res%20Wallpaper/DanielleKnSexyonBeachWallpaper_zps73586182.jpg

http://i21.photobucket.com/albums/b276/seanvoight/Hi%20Res%20Wallpaper/nina-dobrev-sexy-wallpaper-150--2560-x-1600-widescreen_zpsc2647efc.jpg

http://i21.photobucket.com/albums/b276/seanvoight/Hi%20Res%20Wallpaper/lisha-cuthbert-sexy-girl-wallpaper_3000x2448_84355_zpsb87af95c.jpg

http://i21.photobucket.com/albums/b276/seanvoight/Hi%20Res%20Wallpaper/kate-upton-barenecessities-014_zps7068e56f.jpg

choneofakind
October 18th, 2012, 05:23 PM
Pull down the settings menu to "about google chrome". It will confirm it is up to date or prompt an update.

Is this it?

choneofakind
October 18th, 2012, 05:27 PM
FU jiggles, I need a bigger computer screen, or better resolution or something. Those boobs take up my whole screen.

csmith12
October 18th, 2012, 07:03 PM
Is this it?

ummmm no, Version 22.0.1229.94 m

Your are getting an error contacting the update server. Proxy?

csmith12
October 18th, 2012, 07:05 PM
Jiggles, I like big.... images. Yep lets just say images. hahahahha

Alex
October 18th, 2012, 07:08 PM
Chone - you're one of those outliers. For some reason your chrome is slightly broken, and has not been able to update for quite awhile. Fortunately, it's easy to fix. Go into your control panel and pull up Programs (can be named several different things depending on your version of OS), but find the list of programs. Uninstall Chrome.

Then with whatever browser you have left, just go to:

www.google.com/chrome

and install it. You'll be up and running in 30 seconds.

choneofakind
October 18th, 2012, 08:44 PM
Thanks Alex. I'll go make sure I still have internete explorer before I delete Chrome.

If it moves, I can understand it. If I can take it apart, I can tinker with it and get it working again, but I'm really not a big computer person :o

EDIT for you two tech nerds (you know who you are :p):
I made it! I have new Chrome now. It's weird. Very similar to iTunes in a way. I like how it looks; nice, clean, and neat.

But my bookmarks aren't here unless I'm on a new tab! :( and what's with everyone calling things "apps" now?? It's a damn program, not an app. Sheesh. So confusing.

and my plug-in for making my screen dark whilst viewing Youtube videos is no longer here. I need to go find that at the store again...

choneofakind
October 18th, 2012, 09:11 PM
Your are getting an error contacting the update server. Proxy?

Proxy? :confused:

Whiskey
December 8th, 2012, 12:08 PM
Alex

Is it possible to have images that are linked to here resize large images to a maximum size, with a banner at the top to view at full size?

There are quite a few very large photos on the forum which have to be scrolled across or have the zoom on my browser adjusted to see them fully.

I've copied this section from a different site running Vbulletin, you may be able to make some sense of it


<table class="ncode_imageresizer_warning" id="ncode_imageresizer_warning_1" width="800"><tbody><tr><td width="20" class="td1"><img src="http://www.biker.ie/forum/images/statusicon/wol_error.gif" width="16" height="16" alt="" border="0"></td><td class="td2">Click this bar to view the small image.</td></tr></tbody></table>
<img src="http://img.photobucket.com/albums/v229/steve7h/CBX/DSCN3621.jpg" border="0" alt="" onload="NcodeImageResizer.createOn(this);" id="ncode_imageresizer_container_1" height="599" width="800" class="ncode_imageresizer_original">

Cheers:thumbup:

Alex
December 8th, 2012, 12:12 PM
/merged

Alex
April 13th, 2014, 04:50 AM
I added a small mod that will help here:

Resize button for wide images (https://www.ninjette.org/forums/showthread.php?t=175538)