Project

General

Profile

Actions

Support #21889

closed

image problem on https://bm25.commons.gc.cuny.edu/

Added by Marilyn Weber 5 days ago. Updated 5 days ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
-
Target version:
Start date:
2025-01-27
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Elia Machado reports
for some reason the image at the bottom is gone from this page - https://bm25.commons.gc.cuny.edu/

Actions #1

Updated by Boone Gorges 5 days ago

  • Status changed from New to Resolved
  • Target version set to 2.5.1

There were two problems.

One is that the image path pointed toward test3.commons.gc.cuny.edu rather than bm25.commons. If the user creating this page by copying and pasting from the old site, then this is the reason - image URLs on private sites will only work correctly if they are used on the correct site. If the user cloned the site from a previous one, the swapouts should've happened automatically, but perhaps there was a problem because of the use of Elementor or something else. Without more details it's not possible for me to debug further. I've gone ahead and changed the image path so that it points to the correct site.

The other is a bug in the way we were filtering for S3 URLs in post content. I've fixed this in https://github.com/cuny-academic-commons/cac/commit/d267d15db09ff9e88c1875cf7fa9184aa14ac542 https://github.com/cuny-academic-commons/cac/commit/fcf86199591b4563e3e87e86d5c6579d3d16cde0 and now the image is appearing.

Actions

Also available in: Atom PDF