SquareOne background images not sizing properly on iPad and iPhone

Homepage Community Forums SquareOne Theme Support SquareOne background images not sizing properly on iPad and iPhone

Viewing 31 posts - 1 through 31 (of 31 total)
  • Author
    Posts
  • #14226
    Gary
    Customer

      Hi Wes,

      We’re having problems with SquareOne background images not resizing properly when displayed on an iPad and iPhone. We just purchased SquareOne on Sep 29, 2014 so I assume we have the latest version. I see there are other earlier posts on this issue. Is there a fix yet?

      On the iPad, the background image shows a very small section of the image which is enlarged and distorted in both portrait and landscape mode. On the iPhone 5s, it looks fine in portrait mode but is is enlarged and distorted in landscape mode.

      The development site is at http://www.phipoint.com/wp-mba/

      Love the theme. Would just like to get this resolved. Thanks!


      Gary Meisner

      #14242
      Eric
      Customer

        I have an iPhone 5s and every image looks fine in landscape and portrait mode. I don’t have an iPad though. When you look at the squareone demo do any of the images show up distorted? Just trying to see if the issue occurs in the main demo or not.

        Anyone out there with an iPad please take a look and help us out 🙂


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #14245
        Gary
        Customer

          Thanks, Eric. After posting, I noticed that the same resizing issues occur on the SquareOne demo site as well, so it’s not just my site.

          Go to http://demo.appfinite.net/squareone/ on an iPad (landscape or portrait) or on an iPhone 5s (landscape only, portrait is OK) and you’ll see that the background images of the buildings are all very enlarged, showing only a very small and distorted portion of the original image.

          Are you sure the image is OK in landscape on the iPhone 5s? It’s zoomed and distorted on mine, just as with the iPad.


          Gary Meisner

          #14253
          Eric
          Customer

            I’m still not seeing any blurred or distorted images. I’ve looked at it with an iPad and it still looks perfectly fine. The images aren’t supposed to completely resize since they are background images. Another example of how it’s supposed to function – http://demo.studiopress.com/parallax/


            I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

            #14265
            Gary
            Customer

              Thanks for checking but there is a big difference in how it resizes, even on the iPhone in landscape vs portrait. It looks abnormally zoomed in and distorted on the iPad and in iPhone landscape. In other words, it’s resizing it far larger than the original image, even on a smaller screen where there is no need to. See the difference in how the image is sized on these two photos:

              http://www.phipoint.com/wp-mba/wp-content/uploads/SquareOneBG-iPhonePortrait.PNG

              http://www.phipoint.com/wp-mba/wp-content/uploads/SquareOneBG-iPhoneLandscape.PNG

              Landscape is zoomed to higher than the original resolution of the photo, making it look blurry and a bit odd since it’s excessively zoomed on one small part of the photo. This is how both portrait and landscape look on the iPad. The SquareOne demo has the same effect. It’s just not as obvious since it’s a building instead of a face.


              Gary Meisner

              #14280
              Jessy
              Customer

                Both links look fine to me as well (demo and phipoint link). I’m checking from an iPhone 5S in both modes, and I see no blurry images.

                I also checked StudioPress’ Parallax theme and the images resize the exact same way.

                #14437
                Gary
                Customer

                  I ran out of time to respond on a timely basis to the above post, but the issue on the theme zooming and magnifying the background image is still open.

                  To demonstrate the issue, I created a background image with a grid of lines that are only 1 pixel in width. I then took screenshots of the site with that background image with iPad and iPhone in portrait and landscape.

                  On the iPhone, the grid lines appear as 1 pixel in width, very thin and sharp.

                  On the iPad, the grid lines are thick and fuzzy because they have been zoomed in beyond 100% of the original image size (perhaps more like 400%) and magnified by the theme in responsive mode.

                  This same effect is happening on the background images on the live site, which now live at http://www.beautyanalysis.com.

                  See the following images for illustration, and show at full size in your browser:

                  http://www.phipoint.com/images/test/SquareOne-iPad-Landscape.PNG
                  http://www.phipoint.com/images/test/SquareOne-iPad-Portrait.PNG
                  http://www.phipoint.com/images/test/SquareOne-iPhone-Portrait.PNG
                  http://www.phipoint.com/images/test/SquareOne-iPhone-Landscape.PNG




                  Not the worst problem in the world to have, but would be nice to get this fixed as the super zoomed in images look odd on the website.

                  Thanks!


                  Gary Meisner

                  #14462
                  Eric
                  Customer

                    @Gary, well I can’t speak for everyone, but I can say your site and the SquareOne demo is showing up as it should from my end. The background images are not supposed to completely resize 100% since some users may have images that are really wide, or really narrow……They made it to where the background images resize equally for everyone. I’m definitely not seeing any blurry or zoomed in images when viewing from multiple phones. I have an iPhone 5 and I’ve checked on another persons 5s as well as an Android and everything has looked fine.


                    I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                    #14642
                    vincentpolisi
                    Customer

                      I’ve got the same issue with both my site and the demo.

                      Virtual Arbitrage

                      Do we need to change the mobile viewport settings or what?

                      Really need to get this fixed to launch the site.

                      Any help is greatly appreciated.

                      #14660
                      Eric
                      Customer

                        @vincentpolisi What issue are you having exactly? I just visited your site and checked from my iPhone, but I’m not seeing any issues as the background image is showing up as it should.

                        As I mentioned in my last comment, the background images aren’t necessarily supposed to resize 100% (only the inline images are), they’re only supposed to shrink a little bit due to the size of the image. It’s usually a large width and shorter height. The reason for this is so the images don’t look distorted by being resized unequally.


                        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                        #14672
                        vincentpolisi
                        Customer

                          @eric

                          With a mobile responsive website based off of HTML5 and CSS3, the images should resize based on the mobile viewport settings. In some cases, it’s required to setup two different images so you have images that are “Retina Ready” upon resizing.

                          In this case, the background image resizing is a complete disaster. They need to resize just as the static widget referenced images do so the question is, how do we accomplish that?

                          #14673
                          Gary
                          Customer

                            I have to agree with Vincent. Something is very wrong with the background image resizing on SquareOne for mobile platforms.

                            On my post above I provided some examples of the problem by creating a background with a grid of lines that were 1 pixel in width. SquareOne in mobile significantly magnified the 1 pixel line and made it blurry.

                            Here’s another example on my client’s site. It shows the same section of the home page as it looks in Chrome on a Windows desktop and then in Safari on an iPad.

                            http://www.phipoint.com/images/test/SquareOne-BeautyAnalysis-WindowsDesktop.PNG
                            http://www.phipoint.com/images/test/SquareOne-BeautyAnalysis-iPad.PNG
                            http://www.phipoint.com/images/test/SquareOne-BeautyAnalysis-iPhone.PNG

                            As you can see, the iPad rendering of the background image enlarges the image way beyond it actual size. There’s about 111 pixels on the original image from the tip of the woman’s ear to the center of her eye. On the iPad this same small section of the original photo is enlarged to fill about 760 pixels of the screen. This makes the site look very odd if you’re viewing it on an iPad. On the iPhone the image is still enlarged, but not by quite as much.


                            Gary Meisner

                            #14687
                            Eric
                            Customer

                              I’m not sure what’s going on. When I check they look fine….except for when I looked on a smaller android tablet (iPhone and iPad looked fine). I’ll send an email to Wes to see if he can take a look and provide a fix so it works consistently across all tablets.

                              Working with mobile responsive code is pretty difficult at times because there aren’t that many ways to inspect the code from a tablets point of view in the same way as a dektop/laptop. Hopefully he’ll be able to work his magic on this.


                              I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                              #14718
                              Wes
                              Moderator

                                Thanks for letting me know, I’ll take a look and come up with something to make it look better. It could take a while as there are many tests I will have to do get everything working, but I’ll get it looking as best as I can.

                                By default it’s supposed to look similar to other themes with background images….for example, take a look at SP’s theme with background images to see what I’m referring to – http://bit.ly/1xasTwe It pretty much works the same way. Although, I have seen something better that was done on another site, but it was a plugin that was doing it….which means javascript and other things were being used. Hopefully I can come up with a clean way to do it without too much code to keep everything simple.

                                I’ll update this thread once I come up with something.

                                #14776
                                vincentpolisi
                                Customer

                                  @Wes

                                  That’s the problem. It’s not doing what Parallax Pro does at all on mobile.

                                  Have a look:

                                  Parallax Pro on iMac: Parallax Pro on iMac

                                  Here’s how it looks on my iPad Mini:

                                  Second parallax image on the iMac:

                                  and the second parallax image on the iPad Mini:

                                  Now, take a look at SquareOne on the iMac versus iPad Mini:

                                  iMac:

                                  iPad Mini:

                                  Second image on SquareOne:

                                  iMac:

                                  iPad Mini:

                                  I’m going to have to switch the new site over to Parallax Pro until we can get a solution to this because it’s not working properly.

                                  #14781
                                  Gary
                                  Customer

                                    @Wes: Thanks, Wes, for looking into this.

                                    I’ve only seen the zoom distortion on the iPad, but it’s probably going to be a deal breaker for me too. I like SquareOne much better than Parallax Pro and have used SquareOne for three of my sites. For some background images though, the iPad rendition makes the site look very poorly designed at best and freakish at worst. I hope you can come up with a quick, simple fix so all your SquareOne users can use it without issues.

                                    Really love your themes. Thanks much for the creativity and technical expertise.


                                    Gary Meisner

                                    #14785
                                    Wes
                                    Moderator

                                      Thanks @vincentpolisi @Gary for the screenshots. I actually just recently went and purchased an iPad mini so I can do some testing. My daughter has the regular iPad so I’ll be using both tablets to test everything (which will be good since they are different sizes).

                                      I’m not sure what happened because everything was working fine before. I’m sure it’s something small that I’m overlooking, but either way I’ll find it and get it working very soon. I’ve been finishing up a lot of things lately from my checklist, and this is next on the list.

                                      If you get a chance check out the inSync theme and let me know how it looks on your end – http://demo.appfinite.net/insync/ ….the affect is similar, and it seems to be working when I check on the iPad and iPhone. I just need to figure out whats missing/changed in SquareOne

                                      #14786
                                      Gary
                                      Customer

                                        Hi Wes. Thanks much for making this next on your checklist. Yes, InSync looks fine on the iPad and iPhone, both in landscape and portrait.

                                        Here’s one tip I just found that may help identify the problem:

                                        I viewed both demos in Chrome on my PC, grabbing and resizing the width of the browser width from almost full screen to the smallest width possible.

                                        When doing this, there’s a very different behavior that occurs in the resizing of the background image in InSync vs. SquareOne.

                                        The background image on InSync resizes dynamically as soon as you start to decrease the width of the browser window, and it has about six different variations in background image size that it uses as you drag the browser width to the narrowest available size.

                                        By contrast, the background image on SquareOne stays at exactly the same size until you get to just under about 750 pixels in the width of the browser window, and it then only has one other background image size that it holds all the way down to the narrowest available width of the browser window. As a result, you’re seeing only a very small portion of the background image in a smaller sized window, which gives the effect that it has been zoomed improperly.

                                        I suspect this behavior is not confined to the iPad, but is rather just an unfortunate coincidence of the iPad’s screen resolution and dimensions being at a particularly bad point of the image not resizing properly in SquareOne as it does in InSync.

                                        I hope that helps to narrow down where in the code the two are different and results in a quick, easy fix.


                                        Gary Meisner

                                        #14800
                                        Wes
                                        Moderator

                                          I think I have it figured out. I’ve been testing on a local install, so once I make sure everything is working properly I’ll upload to the demo link, and have you check it out to make sure everything is working on your end.

                                          #14803
                                          Gary
                                          Customer

                                            Sounds great, Wes. I appreciate the effort and look forward to the link.


                                            Gary Meisner

                                            #14810
                                            Wes
                                            Moderator

                                              Seems to be working now. I checked on the iPad mini, iPhone 5, and iPhone 5s….I still need to check on a regular sized iPad – http://demo.appfinite.net/squareone/

                                              #14811
                                              Wes
                                              Moderator

                                                Let me know once you’re able to check the demo on your end – http://demo.appfinite.net/squareone/

                                                Also, let me know what device you’re using just so I can make sure.

                                                Here is what I added in the 1140px responsive section of the css –

                                                /* Desktops, laptops and iPads (landscape)
                                                --------------------------------------------- */
                                                
                                                @media only screen and (max-width: 1140px) {
                                                
                                                	.head-bg,
                                                	.home-feature-1,
                                                	.home-feature-2,
                                                	.home-feature-3,
                                                	.home-feature-4,
                                                	.home-feature-5,
                                                	.home-feature-6,
                                                	.home-feature-7,
                                                	.footer-widgets {
                                                		/*-moz-background-size: auto;*/
                                                		/*-webkit-background-size: auto;*/
                                                		background-attachment: scroll;
                                                		/*background-position: center;*/
                                                		/*background-size: auto;*/
                                                	}
                                                
                                                }
                                                

                                                I removed the other parts of the code from the responsive section since the above code fixes the issue.

                                                #14813
                                                Gary
                                                Customer

                                                  I was hoping to report “all fixed” but there still seems to be an issue. On the iPad, it’s better I think but here’s what I see:

                                                  On InSync, the image on my PC screen at 1920×1080 shows the same left and right outside portions of the image that I see on my iPad. In other words, I see the street light on the left and the 4th window of the building on the right on both screens.

                                                  On SquareOne, the image on the iPad is a cropped version of the one that shows on the PC screen. I only see the red stop light on the left side and the right tip of the Bank of America sign on the right side.

                                                  So on the iPad, SquareOne is showing what appears to be exactly one half of the background image while InSync is showing it’s entire width.

                                                  I also note that when I resize the Chrome browser window on the PC from full width to the smallest possible width, that InSync visibly shrinks the size of the background image during the resize to half its original size. SquareOne retains the original size of the image. I can send or upload screen shots from the iPad if needed.

                                                  Is there a way to just use the InSynch responsive code in the SquareOne theme? InSync seems fine as is.


                                                  Gary Meisner

                                                  #14816
                                                  Eric
                                                  Customer

                                                    @Wes it appears to be working again.

                                                    The issue was only on tablets. Desktops, laptops, and mobile phones all looked fine, it was just certain tablets that needed adjusting. It looks a lot better now.


                                                    I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                                                    #14827
                                                    Gary
                                                    Customer

                                                      It does look better, but the resizing still doesn’t behave like InSync. I’d like an updated version of SquareOne to test on my own site, and I suspect that Vincent in the posts above would as well. Can we be your beta-testers?


                                                      Gary Meisner

                                                      #14838
                                                      Wes
                                                      Moderator

                                                        @Gary sure I can do that, but before I do let me take another look at it and make another adjustment so I can make sure I get everything right. Once I get that done I’ll send you the update…..actually, if I get everything working properly I may just go ahead and update the theme so that you can download it from your account – https://appfinite.com/my-account

                                                        I’ll keep you updated.

                                                        #14845
                                                        Jessy
                                                        Customer

                                                          The background images scale as they should on my end using a Macbook Pro with external 24 inch monitor, and also when I check on my iPhone and iPad (haven’t checked my Droid tablet since I assume it will show the same as the iPad).

                                                          Was the issue already fixed or am I missing something?

                                                          #14847
                                                          Eric
                                                          Customer

                                                            Yes he had it fixed a while ago, it was just the tablets that weren’t scaling the background images properly. The images were “zoomed in” and pixely for some users, but is all fixed now. Were just waiting on the final update. Although you won’t need to wait for the update, you can just add the code below to your responsive css –

                                                            /* Desktops, laptops and iPads (landscape)
                                                            --------------------------------------------- */
                                                            
                                                            @media only screen and (max-width: 1140px) {
                                                            
                                                            	.head-bg,
                                                            	.home-feature-1,
                                                            	.home-feature-2,
                                                            	.home-feature-3,
                                                            	.home-feature-4,
                                                            	.home-feature-5,
                                                            	.home-feature-6,
                                                            	.home-feature-7,
                                                            	.footer-widgets {
                                                            		/*-moz-background-size: auto;*/
                                                            		/*-webkit-background-size: auto;*/
                                                            		background-attachment: scroll;
                                                            		/*background-position: center;*/
                                                            		/*background-size: auto;*/
                                                            	}
                                                            
                                                            }
                                                            

                                                            I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                                                            #14848
                                                            Jessy
                                                            Customer

                                                              Thanks Eric. If I wanted to remove the parallax effect how would you do it?

                                                              #14850
                                                              Eric
                                                              Customer

                                                                That’s not technically parallax, but it’s similar in its ways. To remove it for this theme, just “comment out” or remove the background-attachment: fixed; part of your css (which should be around line 1819 by default under the “site header” section) and it will remove that effect entirely.


                                                                I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                                                                #14864
                                                                Wes
                                                                Moderator

                                                                  I updated the theme a couple days ago, so you all should be able to download it if you need the udpate. You can visit your account link to download the latest version – https://appfinite.com/my-account

                                                                  If you’ve made changes to a site that you are currently working on, then I would manually add the code (posted above) so that you don’t overwrite your previous work – https://appfinite.com/topic/squareone-background-images-not-sizing-properly-on-ipad-and-iphone/#post-14811

                                                                Viewing 31 posts - 1 through 31 (of 31 total)
                                                                • The topic ‘SquareOne background images not sizing properly on iPad and iPhone’ is closed to new replies.