Hi everyone I am a bit of a newbie when it comes to PHP so bear with me.

I am trying to create a image gallery on my home page that only displays the last 4 images that i uploaded.

Currently I am uploading the files to the server using the gallery script in the tutorial, and then copying the image id and cat links. But this is time consuming and would be nice to automate.

The code I use on the main page is below:

<img src="../portfolio/tb_01.jpg" alt="Gaming" onmouseover="showtrail('../portfolio/01.jpg','Pending Launch!<br />Gaming','Pending Launch!<br />Gaming','1',400,1)" onmouseout="hidetrail();" height="120" width="160"></div>

This code allows the user to mouse over to see the larger version.

Any Help with this would be much appreciated.

Cheers and Thanks in advance