Solved

Image background color displays incorrectly on iPhone

Posted on 2013-06-01
12
464 Views
Last Modified: 2013-06-02
Certain images on my website have an unintended appearance in iPhone.  For example, an image at the top of www.mauitradewinds.com which says "Maui Tradewinds-- Welcoming the Traveler to Paradise".  This image is supposed to have the same background color as the page, but the background appears black on some iPhones.  

The reason I am using images, rather than text itself, is because I couldn't create the desired font by other means.  The backround was applied to these images by setting the Palette Transparency in Paint Shop Pro to equal the background color of the page.
The images look just as intended on desktops and notebooks, but not on some iPhones.
0
Comment
Question by:ddantes
  • 6
  • 6
12 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
"This image is supposed to have the same background color as the page"

There is no background color assigned to your body or wrap elements.
0
 

Author Comment

by:ddantes
Comment Utility
Thank you for participating.  In style.css:
body {
background-image: url("../images/background.jpg");
}
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
background-image: is not background-color: so I don't know what you are talking about then.
0
 

Author Comment

by:ddantes
Comment Utility
Sorry for my lack of distinction with some terms.  The images in question consist of blue text against a beige, textured background.  That background is made from an image called background.jpg, which is also used as the background for the body of the page.  The desired result, which appears on desktops, is blue text against a background which is seamless with the rest of the page.  In some iPhones, what appears is a black rectangle with blue text.
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
Try converting your image to a PNG format with a transparent background.  Paint Shop Pro can do that.
0
 

Author Comment

by:ddantes
Comment Utility
I will try that.  Were you able to reproduce the observation about a black rectangle?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
No, I don't have an iPhone.  By the way, which model iPhones are giving you problems?
0
 

Author Comment

by:ddantes
Comment Utility
My own iPhone 5 and iPad 4th generation don't have this issue, although it has appeared once or twice.  I saw the black rectangle on three iPhones yesterday, while attending a graduation party.  I didn't think to notice what model of iPhone I was using.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
Try the PNG but you need to find out who and what device is having the problem before you can know whether it can be solved.
0
 

Author Comment

by:ddantes
Comment Utility
Will do, and thanks again.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
Sure, let us know how it works out.
0
 

Author Comment

by:ddantes
Comment Utility
Success!  My iPhone happened to have one if its intermittent moods, and it displayed the black rectangle around the title image.  Comparing that with the same image, saved in png format and converted to transparent background, the issue is resolved.  Great suggestion.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Let Bitmoji into your life. Now is the time to learn a new language of smartphone messaging with this brief introduction.
The goal of the tutorial is to teach the user how to use import presets downloaded from the internet into Adobe Lightroom. Once you downloaded the presets go into the preset folder and press import then import your preset and your set it to go.
The goal of the tutorial is to teach the user how to remove a natural vignette your photos and how to add vignette to your photos.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now