I was just wondering if it is possible to add on characters to a file name when calling it from a database using PHP.

For example, i have the following code to pull out an image in PHP, i want it so that when the user clicks on the image it will display the image in a bigger size.

```
<a href='.$file_name.' rel="lightbox[images]" title="'.$year.' - '.$description.'">
            <img src='.$file_name.' />
</a>    

```

I have all the images in a larger size with the same file name except they have \_lg at the end.

I have tried many solutions using the actual lightbox code i am using but i cant get any to work so i thought this may work instead.