I can't make out a date.
Obviously this person is royal/aristocratic. The painting doesn't seem Spanish to me though

Could it be a photograph of a painting of a princess/aristo from another country who 'married in'. It was fairly common to send portraits - though usually fairly small - so that the intended spouse could see his/her intended.
Have you tried googling on the Spanish Kings and Queen +images.
Also a detailed look at the regalia and the various items on the wall behind might give a clue. Nothing is ever put in by accident.
Gadget