Skip to main content
August 4, 2017
Answered

Can pictures be auto-sized to fit a computer and/or mobile phone?

  • August 4, 2017
  • 1 reply
  • 552 views

Good afternoon!!

Is there a way to have pictures adjust automatically (keeping the same ratio of width to height) regardless of the method the user is using to view the images?  i.e., whether a computer, table, or cell phone?

I am using Dreamweaver CS4 on Windows 8.1.

Any and all suggestions are appreciated!

Thank you!!

This topic has been closed for replies.
Correct answer Nancy OShea

Yes & no.  CS4 has zero support for responsive web design.  It's too old.   However there's no reason you can't code a responsive web site manually with HTML5 and CSS -- providing you understand the concepts and requirements.   That said, different devices have different screen sizes and pixel densities.   Mobile users won't appreciate extra bandwidth that eats up their data plans.  People on really large 4K displays won't appreciate super tiny images.  So you really need to serve images in multiple sizes now.  That's where SRCSET comes in.

http://html.com/attributes/img-srcset/

Nancy

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
August 4, 2017

Yes & no.  CS4 has zero support for responsive web design.  It's too old.   However there's no reason you can't code a responsive web site manually with HTML5 and CSS -- providing you understand the concepts and requirements.   That said, different devices have different screen sizes and pixel densities.   Mobile users won't appreciate extra bandwidth that eats up their data plans.  People on really large 4K displays won't appreciate super tiny images.  So you really need to serve images in multiple sizes now.  That's where SRCSET comes in.

http://html.com/attributes/img-srcset/

Nancy

Nancy O'Shea— Product User & Community Expert
August 5, 2017

Interesting...

SRCSET it is!  I haven't tried it yet, but I will.

Thank you, Nancy!