Abstract
Images uploaded to a web site might not always be usable as is. Images that come directly from a smart phone or high-resolution digital camera might have resolution/size that is too high to use on a web site. If the image is to be used as a profile image or thumbnail it might be a good idea to scale it down or crop a section out in order to get rid of irrelevant areas of the image. Scaling and cropping can be done with CSS, but that still requires the full image to be downloaded to the client and that would be a waste of bandwidth.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Frank M. Kromann
About this chapter
Cite this chapter
Kromann, F.M. (2016). Dynamic Imaging. In: PHP and MySQL Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0605-8_8
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0605-8_8
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0606-5
Online ISBN: 978-1-4842-0605-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)