?
Solved

Image background color displays incorrectly on iPhone

Posted on 2013-06-01
12
Medium Priority
?
478 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 84

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 84

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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

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 84

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 84

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

PaperPort 14.5 Patch 1 update is often not detected or downloaded automatically. This article provides direct download links to solve the problem for retail (non-bundled) versions of the Standard and Professional editions, as well as the Professiona…
Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
In this Micro Tutorial viewers will learn the basic shortcuts and functions in InDesign.
The goal of the tutorial is to teach the user how to make his/her own presets while editing so it is easier to edit there photos. Create a preset you like and copy that setting then save it in to your presets folder.
Suggested Courses

850 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