Help > Forum > Topics & Posts > Limiting the height of photos in posts

Limiting the height of photos in posts

If your posts contain very long photos, you can use the instructions below to limit their height so that a user could see the whole photo without having to scroll down the page.

  1. Log in to your Website Toolbox account.
  2. Click the Integrate link in the main menu.
  3. Click the HTML link.
  4. Insert the following code into the Forum Head Tag HTML Code textbox:

    <style>
    #body-wrapper .post-body-content img {
        max-height: 500px;
    }
    </style>
    <script>
    var editorContentStyle = "";
    </script>
  5. Save the changes.

Note that this will not reduce the file size of the image. It will just change how it's shown on the page.


If you still need help, please contact us.