Move photos from iMac to iCloud
If you have OS X Yosemite (10.10), you can use iCloud Drive to store your photos, as you're only limited to the amount of storage space you have available under your iCloud account. Apple details how you can store documents onto your iCloud Drive here