2017-09-20 8 views
0

私は現在、HTMLメール&で画像をレンダリングしていません。画像はレンダリングされません。他のメールクライアントでも動作しますが、Android 6.0の場合& Gmail App IMAP Android 4.4電話画面に表示される画像の背景に灰色の背景が表示されます。不足している何かがあるのか​​何かのアンドロイドは問題があるGmailアプリ上のHTMLで背景やCSS背景画像HTML形式の画像Android 6.0および4.4で正しく表示されない

<td class="rightContainr" width="260" style="max-width: 260px; max-width: 260px;"> 
      <!--[if (gte mso 9)|(IE)]> 
       <table width="200" align="center" cellpadding="0" cellspacing="0" border="0"> 
       <tr> 
        <td> 
      <![endif]--> 
      <table class="phoneContainr" width="152" border="0" cellspacing="0" cellpadding="0" style="align:left; max-width: 152px;"> 
       <tr> 
       <td class="phone" align="center" background="http://mailimages.texture.com/print-toGo_2016/background_day0_phone_200x360.png" style="background-image: url('http://mailimages.texture.com/print-toGo_2016/background_day0_phone_200x360.png'); background-size: 180px 324px;" bgcolor="#F2F2F2" width="152" height="312" valign="middle"> 
        <!--[if gte mso 9]> 
        <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:153px;height:324px;"> 
         <v:fill type="tile" src="http://mailimages.texture.com/print-toGo_2016/background_day0_phone_200x360.png" color="#F2F2F2" /> 
         <v:textbox inset="0,0,0,0"> 
        <![endif]--> 
        <div> 
        <table class="cover" align="center" width="140" border="0" cellspacing="0" cellpadding="0" style="align:left; max-width: 126px;"> 
         <tr> 
         <td class="cover"><img class="cover" src="http://image.email.texture.com/lib/fe9a12717365047e71/m/14/featured_story_280x330.jpg" width="126px" height="auto" alt="" style="display: block; max-width: 126px;"></td> 
         </tr> 
        </table> 
        </div> 
        <!--[if gte mso 9]> 
         </v:textbox> 
        </v:rect> 
        <![endif]--> 
       </td> 
       </tr> 
      </table> 
      <!--[if (gte mso 9)|(IE)]> 
        </td> 
       </tr> 
       </table> 
      <![endif]--> 
      </td> 

what it doeswhat it should

+0

あなたのために機能しましたか? – Syfer

答えて

1

背景画像をしません。詳細は以下をお読みください。

メールが に送信され、Gmailのメールアドレス(gmail.com)から送信された場合、バックグラウンド画像はGmailアプリケーションで正常に表示されます。

この問題は、Googleが Androidメールクライアントを、最新の オペレーティングシステム(Gmail 5.0)から5.0(Lollipop)のGmailモバイルアプリに替えて、より深刻になるでしょう。 Android 端末のユーザーは、仕事用メールにアクセスする必要があるため、 Gmailアプリまたはサードパーティのメールアプリを使用する必要があります。

Full article

本当にこの道を行きたいならば、あなたは、2枚の画像に使用を使用して、メディアクエリを使用してGmailアプリでそれを制御することができます。位置を使用して別のもの(モバイル画面の幅のみ)に1つの画像を配置してください。 Gmailのアプリ(最新バージョン)ではメディアクエリがサポートされていることを覚えておいてください。

これはあなたの質問にお答えします。

関連する問題