I want the thumbnail name to be based on the file name but the file name contain .jpg. How would I append "-thumb" four characters in from the end?
Code: Select all
imagejpeg($thumb, "images/". $filename . "-thumb.jpg", 80);-Pete
Moderator: General Moderators
Code: Select all
imagejpeg($thumb, "images/". $filename . "-thumb.jpg", 80);