The commission paid to the gallery is a selling expense that reduces the sales proceeds reported for the transaction. Thus, the commission effectively reduces the amount of gain (or increases the amount of loss) for the sale.
Property subject to capital gain or loss treatment. Almost all assets you own are considered capital assets except for certain business assets or works you created.