the artwork table should contain a column for the artist ID right?
pass the artist ID in the link:
artwork-details.php?id=7& artistID=1
then in the recordset for the next / previous link add a condition for the artist ID column:
WHERE id > currentid AND artistID = paramArtistID
variables:
Name: currentid
type: integer
default value: -1
Runtime value: $_GET['id']
name: paramArtistID
type: integer
default value: -1
Runtime value: $_GET['artistID']