The painting of St. James the Apostle was probably created in the second half of the 18th century, more precisely after 1748. The saint was recognised as the patron saint of pilgrims, which is why he is depicted in an appropriate costume, with a coat, pilgrim hat, staff and skin.
Paulina Kluz, "St. James the Apostle", [in:] "The Sacred Lesser Poland Heritage", 2024, source: https://sdm.upjp2.edu.pl/en/works/st-james-the-apostle-1