How do I make my code dependent on the class and not the object?

What I need is to be able to add more objects, but right now it's dependent on the object that I created from the class --there's the object name in every function. I have tried to switch them all to "class" but the error message came out to be "type object 'class' has no attribute 'image'".

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum