Steps to reproduce:

  1. Default behaviour for existing files during file uploads -> "Replace the existing file with the new one"
  2. Go to IMCE browser
  3. Select image and then lick "Upload"
  4. 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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

m1r1k’s picture

Assigned: m1r1k » Unassigned
Status: Active » Needs review
FileSize
1.24 KB
vinicius.big’s picture

Status: Needs review » Reviewed & tested by the community

It's works for me!
Thanks!

ufku’s picture

Status: Reviewed & tested by the community » Fixed

Added a fix that allows imce.getURL() return uncached URLs.
Thanks for reporting.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.