Thread:Project:Support desk/use php to get image filename path/reply (2)

I want to add a pinterest to my site. I need to send information about the image in the pinterest code. The code is in the skin.php file and I just need to get the file name of the image on the page. I'm am finding this really difficult! Could I use the FILE class? I don't know how I would do this by creating a Template, I really want to put it in the skin code and use php. Could you please provide more information about how to do this? (using either php or a Template file.) Thanks so much.