Sort out assets in Community directory #14
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sort out large and missing assets.
No more than 150x150.
Useful tool: https://github.com/imagemin/imagemin-cli
@bubelov - Pls could you get a complete list of missing or inappropriately large community assets?
@dadofsambonzuki they aren't in the DB so there is no easy way to find the missing assets. As for the large images, I think @secondl1ght has a script which is supposed to handle that
An easy way to check for missing assets is to go to the Directory page on the site and go through each community section with the browser console open. You will see the 404 requests in there. imagemin is a good CLI tool to reduce the file size of images but it doesn't do any resizing of dimensions AFAIK. If not there is probably another tool we can use for that. Best way to do it would be pull assets locally and do the optimizing there rather than on the prod server I think. Then replace them when ready.
Automated via the netify CDN tools.