Body: <p>Because of Covid-19 restrictions, our men's group isn't printing and laminating membership cards for 2021. Instead I'm trying to use CiviMail to send a facsimile of the card(s) that the member can print and clip. The cards provide merchant discounts, so many members want to have them. I overprint member name and other information on a blank member card image.</p>
  <p>My problem is that the html/css I prepare gets modified (augmented for responsiveness?) by CiviMail when it sends the mailing.</p>
  <p>i.e. <strong>shrinktofit=&quot;true&quot;</strong> is added to an image class that I want to not scale so that it's viewable</p>
  <p>here's the html in the CiviMail editor window</p>
  <p>div class=&quot;polaroid&quot;&gt;&lt;img alt=&quot;Member Card&quot; src=&quot;https://../sites/default/files/civicrm/persist/contribute/images/LMGA-Logo%20Membership%20Cards%202021.jpg&quot; style=&quot;width:100%&quot;</p>
  <p>becomes the following in the sent email</p>
  <p>div class=&quot;polaroid&quot;&gt;&lt;img alt=&quot;Member Card&quot; <strong>shrinktofit=&quot;true&quot;</strong> src=&quot;https://../sites/default/files/civicrm/persist/contribute/images/LMGA-Logo%20Membership%20Cards%202021.jpg&quot; style=&quot;width:100%&quot;</p>
  <p>I'd like to disable this automatic scaling for this particular mailing. Is that a possibility?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-19T18:58:30.840Z
Comments.Text: If you're on Drupal -> here's how you can get Members to download their own Membership Certificates/Cards -> https://civicrm.stackexchange.com/questions/20241/how-can-members-download-their-own-membership-certificate-card
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-19T19:31:40.283Z
Comments.Text: It is Drupal - This may be exactly what I needed. I'll check it out!
Comments.UserDisplayName: Rick Cunningham
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-19T20:59:25.167Z
Comments.Text: OK, it is EXACTLY what I need, and the link is very detailed and terrific, especially to extend to a screenshot of the view. However, I find that I can't find the fields and relationships that the view requires, and that makes me realize I'm apparently deficient in my knowledge of views and Civi/Drupal integration - specifically, here's where I'm stuck: --------enable Drupal Views; and Create a new View - key elements are Relationships -> connecting CiviCRM Contact w/ Drupal user ID and Contextual Filter -> so we can create a path user/%/membership and the Menu item: Tab: Membership
Comments.UserDisplayName: Rick Cunningham
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-19T21:06:30.980Z
Comments.Text: continued...specifically, here's where I'm stuck: - quoting from the instructions "enable Drupal Views; and Create a new View - key elements are Relationships -> connecting CiviCRM Contact w/ Drupal user ID and Contextual Filter -> so we can create a path user/%/membership and the Menu item: Tab: Membership" I've begun to create the view, but can't find the fields I need (e.g. (Drupal User) CiviCRM Contacts: Display Name, etc. - I realize I'm supposed to create or use relationships and contextual filters, but I'm unsure of the steps. Any ideas?
Comments.UserDisplayName: Rick Cunningham
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-19T22:40:00.957Z
Comments.Text: Relationships and Contextual Filters - are showing in the View screenshot that I posted. Look on the right hand side.
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-20T19:09:01.527Z
Comments.Text: Thanks Karin - yes I saw them (and thanks so much for the screen grab - very helpful!), but I don't seem to have the filter or the relationship available from the pulldown. I'm on D7.73 and possibly these are available in D8 or in some other way I've got to find and install them. Sorry to be so dense!
Comments.UserDisplayName: Rick Cunningham
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-20T20:00:09.003Z
Comments.Text: Those screenshots are D7 
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-21T13:02:04.360Z
Comments.Text: Thanks again Karin - I'm not a D8 user and didn't know the screen shot was a giveaway of the version. My issue is that the contextual filter pulldown doesn't show "CiviCRM Drupal match table ... "  or any other CiviCrm... filters. And the Relationships pulldown doesn't have "CiviCRM Contacts Drupal ID" , and thus I don't have the required fields in the add fields pulldown. Probably I'm missing some required module?
Comments.UserDisplayName: Rick Cunningham
Tags: <civimail>
Title: Preventing CiviMail from Resizing Images for Membership Cards
ThreadText: # Preventing CiviMail from Resizing Images for Membership Cards
  
  (Asked by: username_0 on 2020-12-19)
  
  Because of Covid-19 restrictions, our men's group isn't printing and laminating membership cards for 2021. Instead I'm trying to use CiviMail to send a facsimile of the card(s) that the member can print and clip. The cards provide merchant discounts, so many members want to have them. I overprint member name and other information on a blank member card image.
  
  My problem is that the html/css I prepare gets modified (augmented for responsiveness?) by CiviMail when it sends the mailing.
  
  i.e. **shrinktofit="true"** is added to an image class that I want to not scale so that it's viewable
  
  here's the html in the CiviMail editor window
  
  div class="polaroid">![Member Card](https://../sites/default/files/civicrm/persist/contribute/images/LMGA-Logo%20Membership%20Cards%202021.jpg)
  
  becomes the following in the sent email
  
  div class="polaroid">![Member Card]()shrinktofit="true" src="https://../sites/default/files/civicrm/persist/contribute/images/LMGA-Logo%20Membership%20Cards%202021.jpg" style="width:100%"
  
  I'd like to disable this automatic scaling for this particular mailing. Is that a possibility?
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_1**: If you're on Drupal -> here's how you can get Members to download their own Membership Certificates/Cards -> https://civicrm.stackexchange.com/questions/20241/how-can-members-download-their-own-membership-certificate-card  
  > **username_0**: It is Drupal - This may be exactly what I needed. I'll check it out!  
  > **username_0**: OK, it is EXACTLY what I need, and the link is very detailed and terrific, especially to extend to a screenshot of the view. However, I find that I can't find the fields and relationships that the view requires, and that makes me realize I'm apparently deficient in my knowledge of views and Civi/Drupal integration - specifically, here's where I'm stuck: --------enable Drupal Views; and Create a new View - key elements are Relationships -> connecting CiviCRM Contact w/ Drupal user ID and Contextual Filter -> so we can create a path user/%/membership and the Menu item: Tab: Membership  
  > **username_0**: continued...specifically, here's where I'm stuck: - quoting from the instructions "enable Drupal Views; and Create a new View - key elements are Relationships -> connecting CiviCRM Contact w/ Drupal user ID and Contextual Filter -> so we can create a path user/%/membership and the Menu item: Tab: Membership" I've begun to create the view, but can't find the fields I need (e.g. (Drupal User) CiviCRM Contacts: Display Name, etc. - I realize I'm supposed to create or use relationships and contextual filters, but I'm unsure of the steps. Any ideas?  
  > **username_1**: Relationships and Contextual Filters - are showing in the View screenshot that I posted. Look on the right hand side.  
  > **username_0**: Thanks Karin - yes I saw them (and thanks so much for the screen grab - very helpful!), but I don't seem to have the filter or the relationship available from the pulldown. I'm on D7.73 and possibly these are available in D8 or in some other way I've got to find and install them. Sorry to be so dense!  
  > **username_1**: Those screenshots are D7   
  > **username_0**: Thanks again Karin - I'm not a D8 user and didn't know the screen shot was a giveaway of the version. My issue is that the contextual filter pulldown doesn't show "CiviCRM Drupal match table ... "  or any other CiviCrm... filters. And the Relationships pulldown doesn't have "CiviCRM Contacts Drupal ID" , and thus I don't have the required fields in the add fields pulldown. Probably I'm missing some required module?  
  
  ---
  
  ## 0 answers
  
  