Your code doesn't work because the second line will affect your current active lister and not the collection of find results. You should use dopusrt.exe to get around this:
FIND IN "K:\Bilder" QUERY {dlgstring|find in K}
/home\dopusrt.exe /cmd Set SHOWFILTERFILENAME=*.jpg