Generate a great looking profile completeness meter to notify your users of their progress. Whether it's for profile page details, survey progress, or just to show your users the percentage of the completion of any task. Use Cloudinary's powerful manipulation tools to generate just what you need.
Let's go over the steps for generating a completeness meter. Here's a black bar image uploaded to Cloudinary:
We can use this black bar to generate any other rectangle images. We can change its color as well. Let's start by generating the center white bar, then adding a border:
Next step: adding the progress bar. We use the same 'black_bar' image and color it to blue to generate the progress bar. Set the flags
parameter to relative
(fl_relative
in URLs) to make the image size fit your required dimensions. In this example, we need the height
of the blue bar to fit to 100% of the white bar, but we need its width
to fit the actual user's progress. For example, for 70% we can use the following:
We add nice looking rounded corners, so:
We use the 'black_bar' image again to obtain a pleasing gray background. This is done with the underlay
parameter (u
in URLs):
Now we can add some text and choose the desired font, color, size and position as explained in the recipe Add a text to an image:
You can add any image overlay, for example, a badge:
And for a final touch - add rounded corners and a nice shadow:
Here's another example, this time using an automatically fetched Facebook profile picture. It's placed in a custom position and cropped into a circle:
Lastly, an avatar progress bar: