Extracts the filename from a full image URI by stripping the app directory prefix.
If the URI doesn't contain the directory prefix, returns it unchanged (assumes it's already a filename).
Full image URI (e.g., "file:///documents/Recipedia/pasta.jpg")
Just the filename (e.g., "pasta.jpg")
Extracts the filename from a full image URI by stripping the app directory prefix.
If the URI doesn't contain the directory prefix, returns it unchanged (assumes it's already a filename).