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.
Casualty losses such as from a storm, in areas declared by the President to warrant federal assistance. An election may be made to deduct the loss in the year before the loss or the year of the loss.