Announcement

Collapse
No announcement yet.

Restricting Size of Item Image on Email Confirmation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Restricting Size of Item Image on Email Confirmation

    We uploaded very large, hi-res images for all of our items. But now whenever someone purchases and receives the email confirmation, the picture of the item (it is pulling from the Dropdown image option) takes up almost the whole confirmation page. I know it is because of how large and high resolution images we uploaded.

    After talking to 3dCart on the Help chat, they mentioned that if you can code, which I cannot, you can add a line of code into the "Settings - Design - Emails - New Order Customer" somewhere which will limit the size the image can be on the email confirmation regardless of how large the image actually is.

    Any ideas? I would love for someone to be say "type this _____, and here" and BOOM it works!

    Do I need to post the link to the store? (This is my first post on the forums)

  • #2
    First are you using the updated email templates? v2?

    And does the thumbnail code look like this?
    Code:
    <!--START: thumbnail-->
    <img src="[store_url]/[thumbnail]" alt="[itemname]" width="80" style="width: 80px !important; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; max-width: 100%; float: left; clear: both; display: block; padding: 0 10px 0 0;" align="left" />
    <!--END: thumbnail-->

    Comment


    • #3
      I do not believe so, when I go there it says at the top "Note:Installed version is outdated" and it says the installed version is 1.... should I switch to 2? Will that cause any problems anywhere?

      I am sorry that I dont know how to add the code thing like you did, but this is what is looks like.....


      <!--START: product-->
      <tr>
      <td></td>
      <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="10">
      <tr>
      <td width="9%"><!--START: thumbnail-->
      <img src="[store_url]/[thumbnail]">
      <!--END: thumbnail--></td>
      <td width="46%"><span>[itemid] [itemname]</span></td>
      <td width="23%"><div align="left">[unitprice] x [numitems] </div></td>
      <td width="22%"><div align="right"><strong>[itemsubtotal]</strong></div></td>
      </tr>
      </table></td>
      </tr>
      <!--END: product-->

      Comment


      • #4
        If you see there... in your thumbnail settings, there is nothing that says how BIG it should be. The code I cut and pasted was from v2.

        In that code you can see things like "width="80"" and "style="width: 80px !important;". They fixed the coding error in their v2, so that image size would be limited to 80px.

        Im surprised support did not tell you this! And there is no reason to not update. The new template they made is better in every way. If you want to be safe, just cut and paste what you have in there now, so you can revert back if you dont like the new one.

        Comment


        • #5
          Wow! Thank you! All I did was switch to version 2 and it worked. Thanks a bunch, not sure why 3dCart couldn't have told me that lol.

          Thanks again!

          Comment


          • #6
            So..... here I am again. As you can see above, I thought it was fixed, and it should be. I switched to version 2, and clicked Preview and it showed up perfectly, the image was small as it should be, and I saved it.

            But now we just received another order, and when we received the email confirmation, the image is huge again, even though looking at it right now with the Preview button, it is not large and it is small like we want it.

            Any ideas?

            Here is the code....

            <!--START: thumbnail-->
            <img src="[store_url]/[thumbnail]" alt="[itemname]" width="80" style="width: 80px !important; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; max-width: 100%; float: left; clear: both; display: block; padding: 0 10px 0 0;" align="left" /><!--END: thumbnail--></td>

            Comment


            • #7
              Anyone have any ideas by any chance?

              Comment


              • #8
                Sorry, I missed that you asked another question... The emails you get are not the same as the emails sent to the customer... I assume you only updated that one email??

                You should update them all to v2.

                New order - Customer
                New order - Merchant (Thats the one you get)
                Processing
                Partially Shipped
                Shipped

                Etc....

                Comment


                • #9
                  Oh okay, I did not notice that you had to do that to a couple of them. Thanks again! You're a life saver.

                  Comment

                  Working...
                  X