10up / project-scaffold

DEPRECATED. Use https://github.com/10up/wp-scaffold
MIT License
76 stars 19 forks source link

CLI Wizard should allow user to specify an icon path to generate mandatory icons #27

Open dainemawer opened 5 years ago

dainemawer commented 5 years ago

This suggestion endeavours to solve a user pain point when it comes to generating the many image and icon sizes/formats required for WordPress and front-end sites to appear consistent on a number of platforms. In the project scaffold wizard, after running create-10up theme, we should give the user an option for specifying an image path:

> Path to image (suggested 1000 x 1000): "/Users/username/Desktop/mywpimage.jpg" Once received, we can process the image into a number of formats: 1) screenshot.png (800x600) 2) 512x512 image for WordPress to generate favicon and site icon 3) Web Manifest sizes: 512x512, 192x192, 128x128