Hack Forums
Here's an easier way to resize your large thread images. - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: General Topics (https://hackforums.net/forumdisplay.php?fid=7)
+--- Forum: World (https://hackforums.net/forumdisplay.php?fid=445)
+---- Forum: The Lounge (https://hackforums.net/forumdisplay.php?fid=25)
+---- Thread: Here's an easier way to resize your large thread images. (/showthread.php?tid=5806163)

Pages: Pages 1 2


Here's an easier way to resize your large thread images. - Fυcĸleѕѕ - Mar 1, 2018

We all know images can be resized by putting custom dimensions in the image tag:
Code
[img=200x300]image.png[/img]


The problem is if you don't know the original dimensions, it's hard to do without throwing off the aspect ratio and fucking up your image.

1) Instead of using pixels, use a percentage:
Code
[img=50%]image.png[/img]

2) Preview your thread and the percentage will be replaced with the length x width.


Like so:

[Image: 3234d63880a0d2c01f8b589164a1e7da.gif]


Try it by replying to this thread with a large image.


RE: How to easily resize your thread images while maintaining the aspect ratio. - Renowned - Mar 1, 2018

In all my years of being here, I didn't realise it was this easy to re-size an image straight on HF. Used to spend ages resizing them manually.


RE: Easily resize thread images while maintaining aspect ratio. - Y3LI0NZ - Mar 1, 2018

Cheers for this, sure it will help alotof people.


RE: Easily resize thread images while maintaining aspect ratio. - Ninja - Mar 1, 2018

Nice tutorial man. I'll be sure to follow this whenever I need to do this.


RE: Easily resize thread images while maintaining aspect ratio. - Elitas - Mar 1, 2018

Hmm, I think I knew about this but never used it, this is pretty useful. Thanks for the guide. I'll definitely use it.

Does it accept more than 100%? Like 110%?

Asking, because I don't have an image to test it on right now.


RE: Easily resize thread images while maintaining aspect ratio. - ✔ Soufian ✔ - Mar 1, 2018

Been on HF for years and yet I didn't know about this...
Always putting huge images between spoiler tags while there's actually a solution for it lol


RE: Easily resize thread images while maintaining aspect ratio. - Fυcĸleѕѕ - Mar 1, 2018

(Mar 1, 2018 07:18 AM)Elitas Wrote:  Hmm, I think I knew about this but never used it, this is pretty useful. Thanks for the guide. I'll definitely use it.

Does it accept more than 100%? Like 110%?

Asking, because I don't have an image to test it on right now.

It does. Seems like the only thing that doesn't always work is making a really small image even smaller.


RE: Easily resize thread images while maintaining aspect ratio. - Elitas - Mar 1, 2018

(Mar 1, 2018 07:32 AM)Fυcĸleѕѕ Wrote:  It does. Seems like the only thing that doesn't always work is making a really small image even smaller.

Hmm, it can't get too small, otherwise it wouldn't even be 1px x 1px. 🤐


RE: Easily resize thread images while maintaining aspect ratio. - Fυcĸleѕѕ - Mar 1, 2018

(Mar 1, 2018 07:21 AM)✔ Soufian ✔ Wrote:  Been on HF for years and yet I didn't know about this...
Always putting huge images between spoiler tags while there's actually a solution for it lol

Welcome to the future mother fucker.


RE: Easily resize thread images while maintaining aspect ratio. - Haseo™ - Mar 1, 2018

Thank you very much for the tip, I didn't know about this either.
will save me lots of time!


RE: Easily resize thread images while maintaining aspect ratio. - Fυcĸleѕѕ - Mar 1, 2018

(Mar 1, 2018 07:21 AM)✔ Soufian ✔ Wrote:  Been on HF for years and yet I didn't know about this...
Always putting huge images between spoiler tags while there's actually a solution for it lol

Yeah it's really annoying when I open a spoiler and it takes up the entire screen.


RE: Easily resize thread images while maintaining aspect ratio. - spradebassen - Mar 1, 2018

thank you a lot for this fuckless


RE: How to easily resize your thread images while maintaining the aspect ratio. - N1l0c - Mar 1, 2018

(Mar 1, 2018 07:09 AM)Renowned Wrote:  In all my years of being here, I didn't realise it was this easy to re-size an image straight on HF. Used to spend ages resizing them manually.

Exactly what I thought.
Maybe this came with 1.8? Dunno.


RE: Easily resize thread images while maintaining aspect ratio. - Charger - Mar 1, 2018

Really?
[Image: sNWv8z3.gif]
[Image: sNWv8z3.gif]

I never knew you could do percentages.


RE: Easily resize thread images while maintaining aspect ratio. - Danny Khalifa - Mar 1, 2018

Fuck, I never realized I could do this lmao
Thanks