How i fix this to get Full image Name from image Folder
<img style="margin:10 12 12 10px" border=0 src="<?php echo $siteurl."/wallpapers/thumbs/".$show_wallpaper["wallname"]."_".$show_wallpaper["wallpaperid"].".jpg"; ?>">
“.jpg”
Not ONLY .jpg also echo .png or .bmp etc. if available in image folder
Not quite sure what you mean, but something like this?
It puts all the extensions from the array in front of the file path, and if it exists, it outputs the image.