Idea semplice ma allo stesso tempo efficace presentata da Nathan Smith in PNG overlay.
Si sfrutta una PNG trasparente che fa da cornice alle immagini.
Grazie ai posizionamenti assoluti CSS la PNG semitrasparente viene disposta sopra l'immagine.
Dal post dell'autore :
"Have you ever run into the problem of creating a site with pictures given by the client, only to find later after they update their photography the original look and feel is not retained? For instance, you might add a drop-shadow, rounded corners (maybe both) or some other graphical effects applied to the images. This is all well and good, but what about the webmaster or journalist who follows after you – Will he or she be able to keep the look consistent? ..." (continua)Difetti della tecnica :
IE fino alla versione 6 non supporta le PNG trasparenti, ma si può rimediare utilizzando la soluzione proprietaria filter per estendere la compatibilità a IE5.5 e IE6.