Solved

Image background color displays incorrectly on iPhone

Posted on 2013-06-01
12
466 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 83

Expert Comment

by:Dave Baldwin
ID: 39213980
"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
ID: 39213991
Thank you for participating.  In style.css:
body {
background-image: url("../images/background.jpg");
}
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39214017
background-image: is not background-color: so I don't know what you are talking about then.
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:ddantes
ID: 39214025
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 83

Accepted Solution

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

Author Comment

by:ddantes
ID: 39214764
I will try that.  Were you able to reproduce the observation about a black rectangle?
0
 
LVL 83

Expert Comment

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

Author Comment

by:ddantes
ID: 39214789
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 83

Expert Comment

by:Dave Baldwin
ID: 39214792
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
ID: 39214806
Will do, and thanks again.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39214815
Sure, let us know how it works out.
0
 

Author Comment

by:ddantes
ID: 39214933
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Save Password on Citrix Mobile Receiver 1 85
Shortcomings of iPhone's text message feature 4 86
iPhone v Android phone 7 49
Problem to file 13 39
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Learn new improvements released by Google for Google Calendar. Noted in this article are simple tips and tricks that can make your everyday use of Google Calendar better.
The goal of the tutorial is to teach the user how to add a water mark to there photo. Once you have a photo you like you have to go into the water mark setting and add a water mark to the image. You can either choose a text watermark or an image…
The goal of this is to tech the user how to export photos out of Lightroom and the different options they have. Select which photos you want to export : Select where you want to export and with which options : Export :

813 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

18 Experts available now in Live!

Get 1:1 Help Now