PHP 5 has reached end of support and will be deprecated on January 31, 2026. After deprecation, you won't be able to deploy PHP 5 applications, even if your organization previously used an organization policy to re-enable deployments of legacy runtimes. Your existing PHP 5 applications will continue to run and receive traffic after their deprecation date. We recommend that you migrate to the latest supported version of PHP.
Serving Images Stay organized with collections Save and categorize content based on your preferences.
The App Engine API for Cloud Storage Tools provides convenience methods for serving image files:
CloudStorageTools.getImageServingUrl()
CloudStorageTools.deleteImageServingUrl()
One advantage of using this method to serve images over simply making the files public is the ability to resize and crop dynamically, without needing to store the images in different sizes.
CloudStorageTools::getImageServingUrl returns a serving URL for an image. If the image will be displayed within an HTTPS page, set secure_url to True to avoid mixed-content warnings.
Notice that this URL is publicly readable by everyone, but it is not "guessable".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]