You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ensure client side image file naming matches server #75302
When the client-side media experiment is active, uploading or drag-and-dropping an image causes the original filename to be stripped and replaced with a generic image prefix. File names should ideally match what happens with the existing server side approach.
This was noted by @andrewserong during review of #74566 but is not caused by that PR — it occurs whenever the client-side media experiment is enabled.
Steps to Reproduce
Enable the Client Side Media experiment (Gutenberg → Experiments → Enable Client Side Media)
Create or open a post in the block editor
Upload or drag and drop an image with a distinctive filename (e.g., IMG_7977.jpg)
Check the image details in the sidebar or Media Library
Expected Behavior
The uploaded image and its sub-sizes should retain the original filename as a prefix (e.g., IMG_7977-scaled.jpeg, IMG_7977-1024x768.jpeg).
Actual Behavior
The original filename is stripped and replaced with a generic image prefix (e.g., image-scaled.jpeg, image-1024x768.jpeg).
Screenshot from the sidebar showing the generic filename:
Screenshot showing files created from client and server based processing of same image, note file names:
changed the title [-]Image filename is stripped to generic "image" prefix when client-side media experiment is active[/-][+]Ensure client side image file naming matches server[/+]on Feb 6, 2026
Activity
[-]Image filename is stripped to generic "image" prefix when client-side media experiment is active[/-][+]Ensure client side image file naming matches server[/+]adamsilverstein commentedon Feb 18, 2026
See also this testing feedback from @andrewserong - #74910 (review)