Project

General

Profile

Actions

Bug #22066

closed

Images in wpdiscuz comments don't appear as expected

Added by Boone Gorges about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
S3 Uploads
Target version:
Start date:
2025-02-11
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Following up on https://redmine.gc.cuny.edu/issues/22034#note-6

The problem here appears to be specific to comments created using the wpdiscuz plugin. Marilyn, can you please get more information on how to insert an image in a comment? Maybe I'm missing something obvious, but I don't see an 'image' or 'attachment' button. See screenshot.

Technical note. The reporter's site has comments with image paths like:

https://s3.amazonaws.com/files.commons.gc.cuny.edu/wp-content/blogs.dir/35571/files/2025/02/desktop-Aticasmall-1738967759.0601-300x188.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZUO33UBRWHMWHNJB%2F20250211%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250211T185603Z&X-Amz-SignedHeaders=host&X-Amz-Expires=21600&X-Amz-Signature=b29db9cfabfed9b49983d7d77f6ed757406c52a849cb697e887c3ee1ffffd312

No such images exist in S3. I see images with paths like:

02/desktop-Aticasmall-150x150.png
02/desktop-Aticasmall-300x188.png
02/desktop-Aticasmall-624x390.png
02/desktop-Aticasmall.png

which implies that something in the upload pipeline is causing a suffix to be appended (desktop-Aticasmall-1738967759.0601-300x188.png). But since I can't understand how images are added to comments in the first place, it's not clear to me how or where this is taking place.


Files


Related issues

Related to CUNY Academic Commons - Support #22034: Images don't appear in Classic EditorResolvedBoone Gorges2025-02-09

Actions
Actions

Also available in: Atom PDF