Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 19, 20204 yr Hello, in my community users are able to upload images/files to the forum, but not to private messages. But it is possible to bypass this restriction: Start a new topic in the forum and upload the image Insert the image into the topic Copy the inserted image into the clipboard Start a new private message and paste the image from the clipboard into the editor Submit the private message Cancel the new topic -> Image is now a valid attachment of the private message (tested with IPS 4.5). Is this expected behavior? Kind regards, Stefan
October 19, 20204 yr Image inserts as <img></img> with correct src, it's expected behavior. 20 minutes ago, Stefan Werner said: Image is now a valid attachment Nope, it's not attachment to PM, image will be deleted by cleanup task.
October 20, 20204 yr Author 10 hours ago, desti said: Nope, it's not attachment to PM, image will be deleted by cleanup task. I can not confirm this. The image is listed under "Files" in ACP and when I click "View locations", the image is referenced by a private message. The cleanup task does not delete this attachment. Kind regards, Stefan
October 20, 20204 yr Yeah - reproduced. Log a ticket on that. The copied image is added to the PM because it is a URL that is being pasted in, as opposed to an attachment - that is how the image can be added in. The attachment, originally uploaded to a topic, would not be valid if it was deleted prior to the 'cancel new topic' action. If the attachment was orphaned, instead of associated with the PM, then it would end up being cleaned up eventually (I think) Edited October 20, 20204 yr by Nathan Explosion