PDF Templates - Reduced Images do not show

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khopper
    Senior Member
    • Sep 2017
    • 329

    PDF Templates - Reduced Images do not show

    PDF Templates - Reduced Images do not show, However if image is not reduced in size it will show just fine.
    Current version: 5.7.7
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    the image resizing by 50%, 25%, etc. buttons are not working. If you want to change the image size, please press the code view button (</>) and change the 'width' and 'height' parameters for the <img> tag. Example:
    Default image settings:
    Code:
    <img style="[COLOR=#FF0000]width: 678px;[/COLOR]" src="?entryPoint=attachment&amp;id=5de7acec10882dbfa">
    Customized image settings:
    Code:
    <img style="[COLOR=#FF0000]width: 458px; height: 100px[/COLOR];" src="?entryPoint=attachment&amp;id=5de7acec10882dbfa">
    or
    Code:
    <img style="[COLOR=#FF0000]width: 458px; height: auto;[/COLOR]" src="?entryPoint=attachment&amp;id=5de7acec10882dbfa">

    Comment

    • khopper
      Senior Member
      • Sep 2017
      • 329

      #3
      I also noticed that in edit mode that it adds an extra line... is this normal behavior? See screen shots.

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        I assume that you copied this text from a 3-rd source. Am I right? In this way, the text always is copying with its font style settings. I think this 'style' is the cause of this issue. To make sure please open a code view (</>). There should be the tags like <br>. I suggest you in the future always use "Remove Font Style" to prevent such situations.

        Comment

        • khopper
          Senior Member
          • Sep 2017
          • 329

          #5
          I originally copied from Word to --> Notepad (which removes all formatting) then copied to --> CRM Template via "Google Chrome" by Right Clicking "Paste as Plain Text".
          &
          I also selected "Remove Font Style" and it does the same thing.

          Comment

          • Maximus
            Senior Member
            • Nov 2018
            • 2731

            #6
            Investigate the code view (</>). Is there some surplus code / text? Remove it and check whether an empty string is disappeared?

            Comment

            • khopper
              Senior Member
              • Sep 2017
              • 329

              #7
              Is it possible to have PDF templates run via conditions such as a Workflow and Emailed?

              Comment

              • khopper
                Senior Member
                • Sep 2017
                • 329

                #8
                Maximus ?

                Comment

                • Maximus
                  Senior Member
                  • Nov 2018
                  • 2731

                  #9
                  As far as I know, there is no such an ability.

                  Comment

                  • khopper
                    Senior Member
                    • Sep 2017
                    • 329

                    #10
                    Perhaps this could be a future feature enhancement request? Maximus In later versions of Espo?

                    Comment

                    • Maximus
                      Senior Member
                      • Nov 2018
                      • 2731

                      #11
                      It's up to Yuri. So I suggest you to create a topic in the Feature request branch.

                      Comment

                      Working...