Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just curious if anyone knows if this will work with the amazon s3 module....
Comment | File | Size | Author |
---|---|---|---|
#6 | imagefield_crop-amazons3-integration.patch | 676 bytes | deneus18 |
#1 | imagefield_crop-amazon_s3_module_support_stream_wrapper-1541600-2.patch | 557 bytes | denison |
Comments
Comment #1
denison CreditAttribution: denison commentedThis patch resolves the URI that comes from S3.
The patch was applied in version 7.x-1.0
Comment #2
infines CreditAttribution: infines commentedComment #3
joetsuihk CreditAttribution: joetsuihk commented@gridbitlabs Why is this "fixed"?
@denison thank you for the work, sure
drupal_realpath
is deprecated, can you add some comment explaining this remove, and will this affect local files handling?Comment #4
jonloh CreditAttribution: jonloh commentedSeems to work with s3fs module, but the position of the cropping target isn't saved...
Comment #5
1kenthomas CreditAttribution: 1kenthomas commentedBoth 1.0, 1.x-dev and 2.0 versions seem to fail entirely with both current amazons3 and s3fs modules. As do most other crop modules (manual crop seems to have been altered to work).
Comment #6
deneus18 CreditAttribution: deneus18 commentedHi,
I know this issue is old, but it's still open and I'm facing it today.
I suggest the following patch which keeps the original version of the module working and add Amazon S3 support.
I'm using
Comment #7
ram4nd CreditAttribution: ram4nd as a volunteer commentedComment #8
wannesdrI too have come up to this issue. My setup uses the s3fs module.
The patch from #6 doesn't fix the issue for me.
I'm going to test and see if the manual crop module does any better. I will let you guys know.
Comment #9
jenlampton@Wannes DR you might try the patch in https://www.drupal.org/project/imagefield_crop/issues/2928174 (if you still care about this problem, 5 years later!) as that one is specifically for the s3fs module.