Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Steps to reproduce:
- Default behaviour for existing files during file uploads -> "Replace the existing file with the new one"
- Go to IMCE browser
- Select image and then lick "Upload"
- Upload another image with same name
Expected:
Large preview shows updated image
Actual:
Large preview shows old image because file url doesn't contain any random string as thumbnail with Image style has.
Solution:
Add random string if imce.vars.cache === 0
Comment | File | Size | Author |
---|---|---|---|
#1 | imce-uncache-large-previews-2457687-1.patch | 1.24 KB | m1r1k |
Comments
Comment #1
m1r1k CreditAttribution: m1r1k commentedComment #2
vinicius.big CreditAttribution: vinicius.big as a volunteer commentedIt's works for me!
Thanks!
Comment #3
ufku CreditAttribution: ufku commentedAdded a fix that allows imce.getURL() return uncached URLs.
Thanks for reporting.