For all, sorry a bit OT.
regarding that Wikipedia article...
quote "the number of free electrons and electron holes increases and raises its electrical conductivity"
That is not what happens in CCD and CMOS pixel's quantum well.
Photo-electrons trapped there (view this as static charge), when charge is finally read out,
it is the Q=CV that is how the voltage (proportional to charges) is read.
BTW, CCD is the abbreviation of Charge Coupled Device.
Photoconductivity does have have a role here.
I recommend you think on it some more. While the wiki explanation isn't the best I've seen it looked correct when I linked to it.