I am building a portfolio page of about 25 items. All of the items (images) on this page will change weekly or bi-weekly. I could go into the HTML file and manually change all 25 img tags (time consuming). Or I could use generic names for each image - item1; item2; item3 and swap out a whole image folder with matching names weekly... but I usually like to have image names that are descriptive of the item.
Is there was a way to use css to reference the images for the image tag (I tried background-image but that didnt seem to work). Example: inside a linked stylesheet have the 25 image references that could be called by the img tag id. So I would only have to change the css in the stylesheet. Faster than digging through all of HTML code.
Any sample code or ideas? Css? Javascript?
