I am fixing this as part of a larger Drupal project so I may be missing some details on how we have this implemented but the gist is that when we are uploading a new image with Upload Replace the temporary image derivative is being created and it looks fine in the preview but after saving it still shows the original derivative. Below is a patch that simply does a image_path_flush() on the $file->uri.

Comments

Elijah Lynn created an issue. See original summary.

elijah lynn’s picture

Status: Active » Needs review
StatusFileSize
new1.15 KB
elijah lynn’s picture

Status: Needs review » Closed (duplicate)