Forum Moderators: coopster
I am trying to pull images from a folder that are sent there by the CMS without extensions. I am trying to add the extension back onto the end to display them.
file name in the folder, for example, is "abc123"
I am defining the file as "$new"
I want to add ".jpg" to "abc123".
$image = ($new, '.jpg'); did not work
$image = ($new.jpg); did not work
I've trued multiple other options. Any suggestions?
Thanks,
Pat