![]() |
Auto-Resize Large Images - EASY Version
Description:
Auto Resizes in showthread those dam large images people post constantly. On the fly and very fast. Inspiration: - I just found out I needed an autoresizer, and tried about 3 of them on here with NO luck. They didnt work whatsoever for whatever reason. I remembered having this piece of code on my 3.0.7 series, and tried it in 3.5.4. Too much luck, a little simple javascript goes along way... ;) Compliancy: Tested & Verifed in both I.E & Firefox Open up headinclude (Add Anywhere) PHP Code:
If you want to adjust the size, alter the variables: var mw = 640; var mh = 480; Click INSTALL if you like! |
Mod nice ... *install*
|
Curious, does it enlarge smaller images ?
|
Quote:
|
Cool. :)
Any possibility of making it a plugin so there is no manual editing involved? |
used it :)
|
Dear Paul.
Im looking for a nice easy imageresizer like this to 3.6.0. Will there come a release for it :) |
3.6.0 version would be nice unless this hack already works with it.
|
thank u
|
This hack DOES work in 3.6
HOWEVER: Unfortunately, not only does it downsize the images in posts nicely and correctly, but it also dowsizes the banner on your page too. Is there a fix or workaround for it doing that (is there a way to make that apply to only images in posts ?) Other than that, good mod, I like! |
If you make your variables larger than your banner, you will have no problems. Im sure your banner isnt larger than 640x480 anyways, if it is, then that can be a problem, yes.
var mw = 640; var mh = 480; Yes it should work for 3.6 |
My banner is the full width of the screen, and my forum is best viewed 1024 x 768, therefore my banner is larger than what you state.
The problem is, I like the mod, and it works well... but I don't want it to apply to the website banner. The question is: Is there somewhere that code can be placed where it will apply to only posts and not the whole page? Cheers |
Hello,
With this installed, can the user click the image and view the original? |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
installed
thank u |
I wish to have it as plugin.
|
just what i was looking for thankyou *installed*
|
Installed and working. Thank you.
I do have 3 requests to make if anyone can help. 1. To set an automatic link to the image to see the large image. 2. The ability to NOT resize an image if hosted on a specified domain. 3. The script not adjust sig image sizes. Anyone have any ideas? |
Took all of 10 seconds and works great, nice :D
And No1 would work for me, gamers dont like there screenshots downsizing (its all the same to me) |
hmm goog thanked
|
Quote:
If this were incorporated, the mod would be perfect :) |
Quote:
End-cap , Spacer , Image , Spacer, End-cap. This way non of the images are large enough to be re-sized AND when the window is minimized the banner will shrink with it. Check out my site. http://www.theuglybuggers.com This way of HTML coding was used.... Sly |
it freezes the whole screen up and makes the bottom and side scrollbar box really small.. gotta delete
|
thanks alot!
this was exactly the solution I was looking for, smart easy and editable. cheers 'sid PS works perfectly on 3.6.2 too |
Thanks, worked fine for me on 3.6.2, though i am adding some code to make resized images clickable and open in new window
|
but how come when i click on it, it does not enlarge itself?
|
Thanksss this is nice
|
Ahhh, this is perfect. Thanks!
|
is there an option to this mod that wil allow a user to click the reduced image and view the original size via a new window?
if it's already part of this mod, is there an option to turn this feature on/off because i can only view the resized images? |
Any possibility the "View Original Image" feature could be added? Thanks!
|
Love this hack, super simple too! I want to put my vote in for a clickable image to show original in new window! :up:
|
very nice and effective. Install
|
All times are GMT. The time now is 01:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|