Pictures in your app
Put your app's photos and pictures in a folder called images and Makeship sizes them for each visitor. A phone photo you drop in at full size is shrunk before it's sent, and browsers that can show AVIF or WebP get those smaller formats.
- Without anything extra, a picture is sent at most 1920 pixels wide.
- Add
?w=for a smaller size, for example<img src="/images/cat.jpg?w=400">for a thumbnail. Widths round up to a set of common sizes, and a picture is never made bigger than it is. - PNG, JPEG, WebP and AVIF files up to 10 MB are resized. GIFs (so animations keep moving), SVGs and larger files are sent as they are.
- Each size is made once and kept. Making one counts toward your plan's monthly image resizes (see limits). Past that, pictures are sent as uploaded until the next month, so nothing breaks.
Pictures anywhere else in your app are sent exactly as uploaded. Every file, including the originals in images, counts toward your upload size.