No timestamp, use datetime.
when you insert, you insert a "now()" for the datetime field.
When you select the data, you can use simple date calculations to decide if the "new" should be displayed:
SELECT if(timestamp_field>datesub(now(), interval 30 day),1,0) as print_the_new_image
FROM table
WHERE bladebla...
this will return a new column called "print_the_new_image" which contains a 1 if the field is less than 30 days old, or a 0 if it is 30 or more days old.
You can then use this 1 or 0 to actually print of not print the image