Fixing issue with custom size images names being too long