Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    1
    Member #
    32033
    Hi there,

    I was wondering if there was any way to lock the vertical or horizontal dimensions of an image to the edge of the browser? I am thinking specifically for mobile here as I'm looking for a way to see this image on a smart phone with it stretched to fit vertically, and allowing you to scroll sideways to view it:

    http://www.tenapenny.net/chineseinternet.jpg

  2.  

  3. #2
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    so which of the 4000 mobile devices are your trying to fit the image to ?

    point is if you use the viewport meta tag... you can minimize headaches

    http://www.onlywebpro.com/2011/08/30...obile-devices/

    once you have control of the browser for mobile... you can define the <img src-"yourfile.jpg" width="100% height="100%"> and the image will fill the screen...

    be warned... not every image you put up there will render exactly right as each mobile browser interprets based on the browser engine specs...

    Your closest bet would be to determine max screen size for a handful of devices... then create your images to that exact size... using the 100% for height and width will push the image slightly to fill the screen...


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

fit any image to any phone screen mobile
,
have picture fit phone screen
,
how to fit picture for mobile phone
,
how to fit the photo on mobile
,

how to fit your picture in screen in cellphone

,
how to make an image fit your phone screen
,
how to make any photo size by mobile screen
,

how to make picture fit phone screen

,

make image fit mobile screen

,

make picture fit phone screen

Click on a term to search for related topics.
All times are GMT -6. The time now is 02:43 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com