concrete5/concrete5 — pull request #588 by JohntheFish (2012-07-18 11:14:03+00:00)
Title: To aid backtracking of original images from cached images / thumbnails.

Defaults to existing cache file naming.

Only if IMAGE_HELPER_APPEND_ORIG_FID is defined and not false, then appends "_f".$fID to the cache file name. When enabled, scripts in the browser will now be able to backtrack a thumbnail to the original image.

I am not sure if switching behaviour on IMAGE_HELPER_APPEND_ORIG_FID is necessary. A better solution may be to forget about the existing cache file naming and just get on with appending fID when it is available.