Physical media like a blu-ray disk is likely to hold up for the longest period of time, however if we begin talking really long time - like 30-60 years in the future or more, the biggest difficulty - whether with a optical disk or a hard disk is that it will be very difficult to find the hardware to read the media. Physical connectors change. You have to preserve the entire chain - the reader, the computer it connects to, the operating system it runs on.
For pictures, printing them out is the cheapest and best way to ensure they last a really long time.
Realistically, my plan is that all of that type of stuff continually gets migrated from one new computer to the next, and backed up multiple ways - locally and in the cloud - thus it moves forward with me as technology improves. This doesn't really work though if you want to preserve stuff for someone else to find and access after you are gone - for that, you really need some sort of physical media.
Another option if you are a bit more technically inclined would be to create and store it on a public web site that gets crawled by the Internet Archive. Then, even when your site goes down, those who know where to look would at least be able to find it there.