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
Hi,
Currently for uploads (Media), I can use a beforeValidate hook on the filename field to change/custom filenames before uploading, however, in case the media has imageSizes, the filenames of image sizes does not respect the above filename hook. Is there anyway to handle this?
Many thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Currently for uploads (Media), I can use a beforeValidate hook on the filename field to change/custom filenames before uploading, however, in case the media has imageSizes, the filenames of image sizes does not respect the above filename hook. Is there anyway to handle this?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions