Your situation involves 2 "sovereigns" (that is 2 goverments), which is why the state and feds were both able to charge you. You need an attorney who can deal with both. AND, if there is some appeal pending, time is very limited. You should consult an attorney at once, to see if there are any time limits running out. The situation is far too complex for online advice. You can use AVVO, however, to find a criminal defense attorney in Palo Alto. That attorney may, in turn, refer you to an appeals attorney or specialist.
It is not uncommon for PC's to be taken over by others and used for porn. Very unpleasant consequences, as you have learned. Really, do not waste a day explaining to an attorney in CA where things stand, including all dates.
We do not have a client/attorney relationship until you make an appointment, we discuss your case face to face, I accept a retainer, and we explictly agree to enter into representation.
In order to answer your questions, you would need to provide more information. When did this take place? How many photos were there? Have you accepted the offers or are you still considering the offers? Are you currently represented? Do you have prior convictions?
Santa Clara county has been running child porn stings lately. Our office has seen a number of cases arising out of Palo Alto, Redwood City and Mountain view.
I would suggest that you consult with attorneys familiar with sex registration and felony criminal matters. This may require two different attorneys since you are dealing with state and federal cases.