#target_specific_proposal(path) ⇒ String

Returns a target-specific proposed file when given a user-specified file, and will return the same file if not enabled or doesn’t begin with the magic word.

This method allow other implementations of image-tag to honor this implementation’s use of automatic image substitutions.

Parameters:

  • path (String)

    Specify the path to the image for which you want to provide a substitution. This image doesn’t have to exist in fact if suitable images exist for the current target.

Returns:

  • (String)

    Returns the substitute image if one was found, otherwise it returns the original path.