do you mean like catagories? ie. basketball news would have a picture of a basketball
If thats the case... then calling it a 'dynamic image' is a bit missleading.
Have you got the news page working so far with the database? what you should be looking at is storing the path to the image in the database, not the actual image.
If that sounds like its what your looking for i'll give you more help, but i'll save myself a possible waste of time and wait for your reply 😉