0

I am using a workflow to email several users when a blog post is published (on sharepoint), this email includes the body of the blog post. This information comes from a lookup.

My email is width="600" and centered on the screen.

The blog post's body includes images, these images are automatically inserted in the body of email as intended. However, depending on the size of these images they brute force the width of my email to match the image size.

Is there anyway I can stop this from happening? Is the only way around this telling the user to upload smaller images (width: height)?

Please comment if you need clarification.

Thank you

1 Answer 1

1

Try including the inline CSS to the body of the email. Use the max-width property for images inside the body's div. For ex. if you blog post body's div has a class 'ms-BlogPost' add css as:

<style type='text/css'>
  div.ms-BlogPost img {max-width: 600px; }
</style>
1
  • 1
    View the source code of the email to see if the url/src of the image is correct.
    – Aveenav
    Commented Aug 19, 2014 at 17:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.