begin
apex_instance_admin.set_parameter(
p_parameter => 'IMAGE_PREFIX',
p_value => 'https://static.oracle.com/cdn/apex/24.1.7/' );
commit;
end;
Used this and configured in Admin Services under Manage Instance