Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-28739

copy and pasting web images will not attach the image to the page

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Steps to reproduce

      1. Search for an image on the web
      2. Right click and choose copy
      3. Open the editor
      4. Right click and choose paste
      5. Save page

      The pasted image will display correctly but the image will not be attached to the page. Storage format of the image will look like below.

      <p><br /></p>
      <p><ac:image>
          <ri:url />
        </ac:image></p>
      <p><br /></p>
      

      Confluence is expecting the URL of the image but it is empty.
      Reproduced on IE, FF, Safari and Chrome
      For details, can refer to the following video
      Recording #18.mp4

      Workaround:

      Workaround 1
      An easy workaround for this is to:

      1. Paste the image from web into Paint.
      2. Then select the image in paint and Copy it again
      3. Paste it on your Confluence page.

      The image will be saved as an attachment.

      Workaround 2

      1. Copy the image link
      2. Add the image as web link (Insert Image >> Image from the web >> paste the image url >> click insert)

            [CONFSERVER-28739] copy and pasting web images will not attach the image to the page

            I've written a python script to solve it almost. Here is my GitHub repo: [ConfluencePictureDump|https://github.com/yao177/ConfluencePictureDump/blob/main/README.md.] Welcome bugs report & PR!

            York Zhang added a comment - I've written a python script to solve it almost. Here is my GitHub repo: [ConfluencePictureDump| https://github.com/yao177/ConfluencePictureDump/blob/main/README.md .] Welcome bugs report & PR!

            MJ added a comment -

            Encountering this issue on v7.4.11

            MJ added a comment - Encountering this issue on v7.4.11
            Zac Xu made changes -
            Link New: This issue duplicates CONFSERVER-76082 [ CONFSERVER-76082 ]
            Anna-Mariia Chyzhevska made changes -
            Link New: This issue duplicates CONFSERVER-65792 [ CONFSERVER-65792 ]
            Anna-Mariia Chyzhevska made changes -
            QA Demo Status New: Not Needed [ 14332 ]
            QA Kickoff Status New: Not Needed [ 14236 ]
            Resolution New: Duplicate [ 3 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]

            Hi!

            Thanks for raising this issue. Closing this as a duplicate. Please see: CONFSERVER-65792

            Thanks!

            Anna-Mariia Chyzhevska added a comment - Hi! Thanks for raising this issue. Closing this as a duplicate. Please see:  CONFSERVER-65792 Thanks!
            Anna-Mariia Chyzhevska made changes -
            Status Original: Gathering Impact [ 12072 ] New: In Progress [ 3 ]
            Anna-Mariia Chyzhevska made changes -
            Assignee New: Anna-Mariia Chyzhevska [ cee80e86d823 ]
            SET Analytics Bot made changes -
            UIS Original: 143 New: 142
            Anna-Mariia Chyzhevska made changes -
            Link New: This issue was cloned as CONFSERVER-75353 [ CONFSERVER-75353 ]

              cee80e86d823 Anna-Mariia Chyzhevska
              barconati BillA
              Affected customers:
              141 This affects my team
              Watchers:
              96 Start watching this issue

                Created:
                Updated:
                Resolved: