I'm Touring The United States! Starting in June, I'm conducting private events in 23 American cities. Click here for full details.

Post Reply 
How to scale images so they don't stretch the forum
Author Message
Hotwheels Offline
International Playboy
******
Gold Member

Posts: 5,315
Joined: Jan 2012
Reputation: 80
Post: #1
How to scale images so they don't stretch the forum
A quick tip for those posting pics that stretch the hell out of the forum; The forum will scale the image to fit if you just add a bit of code to the IMG tag.

img=640x400, inside the brackets like normal will shrink the image to those dimensions.

Here is an example of the same pic with and then without doing this;
[Image: 35718d1350401229-2013-camaro-zl1-camarozl1_v2.jpg]

[Image: 35718d1350401229-2013-camaro-zl1-camarozl1_v2.jpg]


If doing a image search on google it will show the dimensions of the photo. The above is 1920x1080 in it's unedited size. You want to be around 6-700 wide for the forum so divide the first number by whatever to fall in that range, then divide the second number by the same to keep the ratio correct. Usually you can divide by 2, 3, or 4 which is plenty easy to do in your head, no need for calculations here. The resized image is 640x360.

Some pics are rather huge and doing this makes them more usable for the forum. Only takes a couple seconds to do.

To see it in the post, just click quote and you will see it in the first image tag.

__________________________________________________

When you can't make them see the light, make them feel the heat.
(This post was last modified: 04-29-2014 03:20 PM by Hotwheels.)
04-29-2014 03:19 PM
Find all posts by this user Like Post Quote this message in a reply
[-] The following 24 users Like Hotwheels's post:
heavy, Tuthmosis, Ocelot, WestIndianArchie, SpiderKing, Dr. Howard, vinman, big poppa, Thomas the Rhymer, DJ-Matt, Professor Fox, Windom Earle, Handsome Creepy Eel, Darius, The Reactionary Tree, Que enspastic, JoyStick, JayJuanGee, PapayaTapper, Lizard King, eradicator, Gmac, Tactician, Built to Fade
void Offline
Alpha Male
****

Posts: 1,199
Joined: Apr 2012
Reputation: 5
Post: #2
RE: How to scale images so they don't stretch the forum
Roosh should code it inside the new post php template. Thanks for the hint.

Brought to you by Carl's Jr.
04-29-2014 03:51 PM
Find all posts by this user Like Post Quote this message in a reply
heavy Offline
True Player
*****
Gold Member

Posts: 2,786
Joined: Sep 2013
Reputation: 36
Post: #3
RE: How to scale images so they don't stretch the forum
Awesome tip...didn't know this but I always try to prevent this. Thanks!

Quick question: I noticed most ppl use a url link vs attaching. Do you simply use whatever url pops up first in a google search?

“Until you make the unconscious conscious, it will direct your life and you will call it fate.”
(This post was last modified: 04-29-2014 03:53 PM by heavy.)
04-29-2014 03:52 PM
Find all posts by this user Like Post Quote this message in a reply
RexImperator Offline
International Playboy
******
Gold Member

Posts: 5,496
Joined: May 2013
Reputation: 27
Post: #4
RE: How to scale images so they don't stretch the forum
Actually, doing this this seems to mess up the display on the mobile version.
05-01-2014 05:32 PM
Find all posts by this user Like Post Quote this message in a reply
Parlay44 Offline
Innovative Casanova
*******
Gold Member

Posts: 6,579
Joined: Aug 2011
Reputation: 67
Post: #5
RE: How to scale images so they don't stretch the forum
I just upload to tinypic.com and let them resize it then grab the URL.

Team Nachos
05-01-2014 05:37 PM
Find all posts by this user Like Post Quote this message in a reply
[-] The following 1 user Likes Parlay44's post:
Rhyme or Reason
Dusty Offline
Innovative Casanova
*******
Gold Member

Posts: 7,717
Joined: Jul 2013
Reputation: 81
Post: #6
RE: How to scale images so they don't stretch the forum
It would be cool to have a section on the forum with threads like this to help with forum functions and "how toos."

Up to the suits in RVF corporate, but I think it would be useful.

Some newbs don't even know how to embed pics and videos and just post links.

Take care of those titties for me.
05-01-2014 06:22 PM
Find all posts by this user Like Post Quote this message in a reply
[-] The following 2 users Like Dusty's post:
MattW, Built to Fade
kbell Offline
International Playboy
******
Gold Member

Posts: 5,027
Joined: Jul 2011
Reputation: 27
Post: #7
RE: How to scale images so they don't stretch the forum
Wow! I always thought you had to either look for a smaller version or manually photoedit and scale it that way. Is the file size the same, if its a huge filesize it still might slow down the forum.
(This post was last modified: 05-01-2014 10:02 PM by kbell.)
05-01-2014 10:01 PM
Find all posts by this user Like Post Quote this message in a reply
heavy Offline
True Player
*****
Gold Member

Posts: 2,786
Joined: Sep 2013
Reputation: 36
Post: #8
RE: How to scale images so they don't stretch the forum
(05-01-2014 10:01 PM)kbell Wrote:  Wow! I always thought you had to either look for a smaller version or manually photoedit and scale it that way. Is the file size the same, if its a huge filesize it still might slow down the forum.

I am no programmer and have very little experience with code at all, but...the OP is in regards to linking the URL, in which case I don't think it even stores the picture, it just shows whatever is at that URL. Hence, if you specify the size, it merely *displays* the image at that URL as a smaller size.

Your comment would be regarding inserting the pic as an attachment...which it appears most ppl don't do.

I second the thread for tips for newbies, tho I just learned by clicking "reply" and seeing what the code looked like then previewing...we're all men here after all, seems like we can figure it out.

“Until you make the unconscious conscious, it will direct your life and you will call it fate.”
(This post was last modified: 05-02-2014 11:46 AM by heavy.)
05-02-2014 11:45 AM
Find all posts by this user Like Post Quote this message in a reply
[-] The following 1 user Likes heavy's post:
Handsome Creepy Eel
LouieG Offline
Beta Orbiter
*

Posts: 140
Joined: Oct 2012
Reputation: 71
Post: #9
RE: How to scale images so they don't stretch the forum
The giant images make threads damn near unreadable on my 13" laptop, so I finally figured out how to fix this forum-wide for myself. Quick rundown:


1. Download and enable the "Stylish" browser extension

Safari, Firefox, Chrome


2. Create a custom style for rooshvforum.com

[Image: Ihc0WAo.png]

Copypastable version of that code:

Code:
img {
max-width: 700px;
max-height: 600px;
}

Large images will re-size proportionally to fall within those constraints (which you should adjust based on your own screen resolution). Using "max-width" and "max-height" prevents smaller images from scaling up.


SFW screenshot of the "10" thread, before:

[Image: dQJz9TY.jpg]

WYB? Who knows.


And after:

[Image: jQOY3ax.jpg]
09-12-2014 07:17 AM
Find all posts by this user Like Post Quote this message in a reply
[-] The following 2 users Like LouieG's post:
JoyStick, Built to Fade
Sourcecode Offline
International Playboy
******
Gold Member

Posts: 4,577
Joined: May 2009
Reputation: 111
Post: #10
RE: How to scale images so they don't stretch the forum
People could also upload their picture.to imgur.
It's I do you all my datasheet pictures.

It automatically sizes them for forums.
And we'll automatically give you the code make them small medium or large.
It also keeps the images of the forum and a third party site

I am the cock carousel
(This post was last modified: 09-12-2014 10:07 AM by Sourcecode.)
09-12-2014 10:06 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[-] The following 1 user Likes Sourcecode's post:
ElFlaco
Hades Offline
Banned

Posts: 3,652
Joined: Feb 2012
Post: #11
RE: How to scale images so they don't stretch the forum
(05-01-2014 06:22 PM)Dusty Wrote:  It would be cool to have a section on the forum with threads like this to help with forum functions and "how toos."

Up to the suits in RVF corporate, but I think it would be useful.

Some newbs don't even know how to embed pics and videos and just post links.

Isn't there a post count limit that you have to reach before you can post videos and images?
09-13-2014 03:49 AM
Find all posts by this user Like Post Quote this message in a reply
Mercenary Offline
International Playboy
******

Posts: 3,337
Joined: Aug 2015
Reputation: 66
Post: #12
RE: How to scale images so they don't stretch the forum
If you are going to post any large images at all on this forum then take the time to learn how to do this guys.
2 versions of the same exact photo below:


BEFORE

[Image: maxresdefault.jpg]



AFTER

[Image: maxresdefault.jpg]




The only difference between these 2 photos is that I added "=900x600" to the line code for the image which fits better.
That's all there is to it.
(This post was last modified: 07-11-2016 06:08 AM by Mercenary.)
07-11-2016 05:54 AM
Find all posts by this user Like Post Quote this message in a reply
[-] The following 2 users Like Mercenary's post:
debeguiled, Built to Fade
Cr33pin Offline
Innovative Casanova
*******
Gold Member

Posts: 7,416
Joined: Nov 2011
Reputation: 181
Post: #13
RE: How to scale images so they don't stretch the forum
I need to scale my penis so it doesn't stretch the vagina so much

Bruising cervix since 96
#TeamBeard
07-11-2016 06:01 AM
Find all posts by this user Like Post Quote this message in a reply
[-] The following 5 users Like Cr33pin's post:
innocent21, Vienna, DJ-Matt, budoslavic, Built to Fade
JayJuanGee Offline
Innovative Casanova
*******
Gold Member

Posts: 6,104
Joined: Aug 2013
Reputation: 78
Post: #14
RE: How to scale images so they don't stretch the forum
There should be a kind of technical fixes area of the forum... hahahahaha..

I had been looking for this thread a couple of months ago, because I had forgotten the techinique to reduce the image size that I had posted... but i could not find it in my history and my search efforts...
07-11-2016 05:56 PM
Find all posts by this user Like Post Quote this message in a reply
[-] The following 1 user Likes JayJuanGee's post:
Built to Fade
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Accountant caught with 1,700 upskirt images after filming up woman’s dress in Topshop Georgepl 1 216 Today 05:44 AM
Last Post: CynicalContrarian
Exclamation New forum rule: Do not post nude or identifiable images of your sexual conquests Roosh 38 20,062 12-01-2018 12:37 PM
Last Post: jacknap
  11 Real Ratings Of Women On The 1-10 Attractiveness Scale Roosh 54 10,903 06-03-2018 09:12 AM
Last Post: Tytalus

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | RooshV.com | Return to Top | Return to Content | Mobile Version | RSS Syndication