# I'll NATURALSIZEFLAG \*you\*, you lousy HTML

**URL:** https://boards.straightdope.com/t/ill-naturalsizeflag-you-you-lousy-html/7962
**Category:** Factual Questions
**Created:** [March 1, 2000, 8:04pm UTC](https://boards.straightdope.com/t/ill-naturalsizeflag-you-you-lousy-html/7962 "2000-03-01T20:04:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)
#### Post date: [March 1, 2000, 8:04pm UTC](https://boards.straightdope.com/t/ill-naturalsizeflag-you-you-lousy-html/7962/1 "2000-03-01T20:04:00Z")

</div>

OK, if you’re bringing a picture onto the web page you are designing, you can display it life size or you can resize it by specifying height and width.

\<IMG SRC=“Folder/Subfolder/Target.jpg” WIDTH=“377” HEIGHT=“71”\> that kind of thing

…but! If you don’t know the original dimensions of the image, you can distort the image onscreen. How do you get an image to resize **proportionally** , preserving the aspect ratio? I was told to use the NATURALSIZEFLAG, but I don’t seem to have the hang of it.

The HTML in question is being calculated in FileMaker Pro, so the actual image source will be different depending on what record is the active record (i.e., calculation field defined as “…”\<IMG SRC="&QMk&“Folder/Subfolder/”&FIELDNAME&".jpg"…", etc), so I don’t know the parameters of the image beforehand. Some will be square, some tall rectangles, some wide rectangles.

* * *

Disable Similes in this Post

---

<div class="post-metadata">

### Author: ![Atrael](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@Atrael](https://boards.straightdope.com/u/Atrael)
#### Post date: [March 1, 2000, 9:18pm UTC](https://boards.straightdope.com/t/ill-naturalsizeflag-you-you-lousy-html/7962/2 "2000-03-01T21:18:00Z")

</div>

Only use one specifict command…either height or width, not both…if you just give it one of them, it will re-size proportionalty

---

<div class="post-metadata">

### Author: ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)
#### Post date: [March 1, 2000, 10:30pm UTC](https://boards.straightdope.com/t/ill-naturalsizeflag-you-you-lousy-html/7962/3 "2000-03-01T22:30:00Z")

</div>

Well, that’s convenient! Thanks!

* * *

Disable Similes in this Post

---

<div class="post-metadata">

### Author: ![Kat](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@Kat](https://boards.straightdope.com/u/Kat)
#### Post date: [March 2, 2000, 1:37am UTC](https://boards.straightdope.com/t/ill-naturalsizeflag-you-you-lousy-html/7962/4 "2000-03-02T01:37:00Z")

</div>

Or, if you did need to find out the dimensions of a graphic, right click on the image, then click on “Properties” on the menu that comes up.

* * *

Your Official Cat Goddess since 10/20/99.

_SD chat:_  
**\<Jophiel\>** Kat’s here! the board must be down!
