Author Topic: Resizing images  (Read 1283 times)

0 Members and 1 Guest are viewing this topic.

Offline Machiavelli

  • Curmudgeon
  • Hero Member
  • *****
  • Posts: 4,222
  • Gender: Male
  • Realist
Resizing images
« on: June 09, 2017, 12:03:41 am »
Is the image too large for the screen? Don't worry. It can be easily resized.

These are the standard image tags for BB code:  [img][/img]

However, the image resizing tags differ, depending on which software client we are using.

We currently use the SMF (Simple Machines Forum) client.

Therefore, the image resizing tags look like this: [img width=(number of pixels)][/img]

This is an oversized image without the resize tags:

[img]https://i.imgur.com/AOJ6ZUp.jpg[/img]

As you can see, it's too large for the screen.



Now, here is the same image resized to a width of 600 pixels:

[img width=600]https://i.imgur.com/AOJ6ZUp.jpg[/img]

This fits the screen better (but depending on the feedback you get from other users, you may have to shrink the image further):



Offline Suppressed

  • Hero Member
  • *****
  • Posts: 12,921
  • Gender: Male
    • Avatar
Re: Resizing images
« Reply #1 on: June 13, 2017, 05:13:45 pm »
@Machiavelli

On occasion, I've noticed images that have appeared smaller but enlarge when clicked.  Anyone have a clue whether that's something that can be forced to happen?
+++++++++
“In the outside world, I'm a simple geologist. But in here .... I am Falcor, Defender of the Alliance” --Randy Marsh

“The most effectual means of being secure against pain is to retire within ourselves, and to suffice for our own happiness.” -- Thomas Jefferson

“He's so dumb he thinks a Mexican border pays rent.” --Foghorn Leghorn

Offline thackney

  • Hero Member
  • *****
  • Posts: 12,267
  • Gender: Male
Re: Resizing images
« Reply #2 on: June 13, 2017, 05:24:13 pm »
@Machiavelli

On occasion, I've noticed images that have appeared smaller but enlarge when clicked.  Anyone have a clue whether that's something that can be forced to happen?

This does it.  Click the smaller image in the first post.
Life is fragile, handle with prayer

Offline Frank Cannon

  • Hero Member
  • *****
  • Posts: 26,097
  • Gender: Male
Re: Resizing images
« Reply #3 on: June 13, 2017, 05:34:23 pm »
The best way to resize a pic at TBR is to just post it and let someone else get pissed off and fix it.

Offline mystery-ak

  • Owner
  • Administrator
  • ******
  • Posts: 383,695
  • Gender: Female
  • Let's Go Brandon!
Re: Resizing images
« Reply #4 on: June 13, 2017, 05:46:16 pm »
The best way to resize a pic at TBR is to just post it and let someone else get pissed off and fix it.

lmao...and that is usually me... *look*
Proud Supporter of Tunnel to Towers
Support the USO
Democrat Party...the Party of Infanticide

“Therefore do not worry about tomorrow, for tomorrow will worry about itself. Each day has enough trouble of its own.”
-Matthew 6:34

Offline endicom

  • Hero Member
  • *****
  • Posts: 10,113
Re: Resizing images
« Reply #5 on: June 13, 2017, 06:13:17 pm »
What the resizing above did not do is reduce the image in terms of bytes and that can matter when the image is of megabytes. Reducing the byte size can be done in HTML but I haven't seen how.

Offline roamer_1

  • Hero Member
  • *****
  • Posts: 43,957
Re: Resizing images
« Reply #6 on: June 13, 2017, 11:51:51 pm »
What the resizing above did not do is reduce the image in terms of bytes and that can matter when the image is of megabytes. Reducing the byte size can be done in HTML but I haven't seen how.

That really doesn't matter on the fly... the whole file at the link still has to be downloaded in order to render it with less pixels... less weight. So in function, it would save you nothing.

To make the pic lighter, one would have to upload a lighter version somewhere and link to that instead.

Offline endicom

  • Hero Member
  • *****
  • Posts: 10,113
Re: Resizing images
« Reply #7 on: June 14, 2017, 12:53:30 am »
That really doesn't matter on the fly... the whole file at the link still has to be downloaded in order to render it with less pixels... less weight. So in function, it would save you nothing.

To make the pic lighter, one would have to upload a lighter version somewhere and link to that instead.


So the reduced versions I see are probably done by the site owner. I'd think that could beg legal problems.

Oceander

  • Guest
Re: Resizing images
« Reply #8 on: June 14, 2017, 01:00:41 am »

So the reduced versions I see are probably done by the site owner. I'd think that could beg legal problems.

Why?

Offline endicom

  • Hero Member
  • *****
  • Posts: 10,113
Re: Resizing images
« Reply #9 on: June 14, 2017, 01:51:12 am »
Why?


Because linking to an image is one thing and appropriating the image another.

Oceander

  • Guest
Re: Resizing images
« Reply #10 on: June 14, 2017, 01:53:20 am »

Because linking to an image is one thing and appropriating the image another.

using css to resize the image is not appropriating the image.