Simple CDN Link Usage
Simple usage of image url
Prerequisites:
Make sure you have set your CDN Link in the imagemash.io settings panel.
Lets's call it john.imagemash.io
You can also use your custom domain. Check Custom Domain
    Your custom domain     Transforms(optional)    File Path
┌───────┌───┐────────────┐┌───────────────────┐┌────────────────┐
https://john.imagemash.io/w_350,h_350,bo_3_red/full-file-path.pngHey! This page is about using CDN Link. You may want our backend API
Step 1
Upload an image in home directory to your cloud storage via the imagemash.io Cloud Storage panel.
Let's call it  sample.jpg 

Step 2
Now your image is publicly accessible through john.imagemash.io/sample.jpg. Try it by visiting your URL in the browser. Served image is compressed and optimized.
Step 3
Transform your image. Let's say we want 300x300, faces centered, rounded edges;
 john.imagemash.io/w_300,h_300,g_faces,r_20/sample.jpg

Step 4
Place your link to your app and start using your CDN Link. Served image will be compressed and optimized. 🎉
Last updated