After uploading an image to your server, it is common that the image might be used in several ways. Instead of uploading the same image for each use, it makes sense to upload it only once, and manipulate the image online for those purposes.
The common uses could include:
Using the image for a story, where the image is embedded in an article created using a rich text editor
Using the image as a personal profile avatar, where the image might appear every time you make a comment on the website or create an article, or someone views your profile
Adding the photo to an online gallery
In some cases, each of these uses can be accomplished with the same image. So, it makes sense that whatever manipulations need to be done to the image to make it suitable for the purpose, should be provided online, and the original uploaded image should not be changed so that it can be used again for other purposes.
Here's what we will be looking at in this chapter:
Selecting an image using...