Name a food image before you upload it. Use the dish or ingredient first, then add one detail that distinguishes the file from the other images in your set. For a finished dessert, baked-cheesecake-slice.webp is enough. If you also have a close-up that shows the crust, call that second file baked-cheesecake-crust-close-up.webp.
Pick the detail that distinguishes the image
For this image, the dish and serving shape identify the file. Add blue-plate only if you need to distinguish it from another slice on a different plate. For a recipe sequence, use the action or stage visible in each frame:
cheesecake-pressing-crumb-crust.jpgfor the prep step.cheesecake-batter-in-pan.jpgfor the next step.baked-cheesecake-slice.webpfor the finished dessert.
Google’s image SEO guide describes filenames as a small clue. Give each file a short name you can find again and place the image beside the recipe step, menu item or caption that explains it.
Keep the extension when you rename
We downloaded the 1024 × 1536 WebP above and renamed a local copy from stock-tour-classic-baked-cheesecake-slice-281.webp to baked-cheesecake-slice.webp. Both opened as WebP and had identical file contents. Keep .webp when you rename this file. If your site needs JPEG, export a JPEG from an image editor and use .jpg on that exported file.
Check the file URL and alt text in WordPress
After upload, open the image in Media → Library and check the File URL. On this site, the uploaded JPEG cover for this article has food-image-filename-cheesecake.jpg in its URL. The WordPress Media Library guide lists the filename, title and alt text separately. Use the File URL to verify the name, and write your alt text for what the image does on that page. See examples for recipe photos, linked images and decorative thumbnails.



