You know the image shows an UNO, but more importantly, most Due's pins can only provide 3mA. With 220Ω, the current will be (3.3-2)/220 = 5.5mA. R1 needs to be 620Ω or higher.
There are many types of PhotoCells with different ranges for light-dark current, so you may need to change R2 for a higher value like 100K (for example), especially if the ADC reading you get at A0 consistently remains low (light or dark).
Don't for get if you want to take full advantage of the ADC (12-bit), you can use analogReadResolution(12) in Setup so that your ADC values will range from 0-4095.
The word Instructables in any web address means "caution this is likely to be crap"
There is only one ground on any Arduino electrically speaking, so of you have to use separate ground pins to make anything work then you do not have a continuous ground on the outside circuit.