|
Super Moderator
|
Yeah. but you would only want to do that if the image was outside of its constraint. What if someone posted an icon? You wouldn't want it resized to 600px, would you?
So, you get the size of the image, then work out the aspect ratio, then if it's over 600px wide, you put this into the <img> tag: PHP Code:
|
||
OOoohhh, sorry, I've got a lot going on right now. I totally read your post wrong.
Yes, it would only need to apply sizing tags to images too large. You are correct. (: By the way, from one sys admin to another, don't ever take a job administrating Lotus Domino / Notes. It will be the bane of your existance. |
|||
|
Super Moderator
|
Quote:
Originally posted by LoudMusic
OOoohhh, sorry, I've got a lot going on right now. I totally read your post wrong. Yes, it would only need to apply sizing tags to images too large. You are correct. (: By the way, from one sys admin to another, don't ever take a job administrating Lotus Domino / Notes. It will be the bane of your existance. Anyway, I'm moving away from the hardcore tech stuff and concentrating on the Project Management and Project Delivery side. Which is nice, especially when I pull the "tech guns" out, and blow the Technical Architects away! :sneaky-laugh: Now my hard-core tech stuff is almost all PHP development, which I'm using for personal projects. |
||
| Hot Topics |
|
Amuse Turbo 500 laps
biaritz
|
|
Show off your latest purchase!
McLaren
|
|
Monte Carlo Online
hugo24
|
|
Shuffle, Hand over, or Glued
888 Tuning
|
|
Best Ferrari
biaritz
|
| More On GTPlanet |
|
- Gran Turismo 5 - GT5 Prologue - Gran Turismo 4 - Online Racing - Gaming - Automotive - Motorsport - Multimedia - Off-Topic! News Feeds Subscribe to GTPlanet's news feed for the latest headlines from the world of Gran Turismo! |