Decker Onken
Posts: 0
Joined: Wed Jan 16, 2013 2:31 am

JPEG Dimension Adjust

I'm sorry if this is a simple answer/fix but I can't figure it out:

I have a JPEG photo on a page in my app that I would like to fill the width of the screen then adjust the height to keep the aspect ratio. How would I go about doing this? I want it to be able to fit/fill any android screen size.

Thanks for your help!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

JPEG Dimension Adjust

Hello! In CSS for this photo you would need to addcodewidth: 100%/code - you'll get automatically adjusted photo.

Decker Onken
Posts: 0
Joined: Wed Jan 16, 2013 2:31 am

JPEG Dimension Adjust

Thank you! I knew there was an easy way to do it, just couldn't figure it out! Thanks!

Return to “Issues”