Banner for Gcs
A plugin for uploading media files to Google Cloud Storage. Wordpress Tutorial
Noted That:
  • To install correctly this gcs.zip .
  • Fisrt Download the gcs.zip to your computer
  • Extract/Open gcs.zip to Your Computer.
  • Then, Find readme.txt file inside gcs.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " gcs.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Gcs

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Gcs

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Gcs

Step-5 : Now, Browse " gcs.zip " Downloaded plugin from your computer, Where you downloaded " gcs.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Gcs

Step-6 : Now, Click on " Active Plugin "

Activate Gcs

Step-7 : Then, See left Side Menu. " Gcs " folder is added on left Side Menu. Now, Click on " Gcs " folder.

Noted that: If you do not see " Gcs " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Gcs Configurations and Settings or How to work " Gcs " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Google Cloud Storage plugin " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Google Cloud Storage plugin
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Download the plugin and place it in your /wp-content/plugins/ directory.

  2. Enable this plugin in the WordPress admin UI,

  3. Configure your Google Cloud Storage bucket in the plugin setting
    UI.

  4. In Google Cloud Console, set the default acl of the bucket so that
    allUsers can read.

Depending on your environment, you may need to configure a Google
Service Account to call the APIs.

To run this plugin on Google App Engine for PHP 7.2 , it will work
without additional configuration.

To run this plugin on Google Compute Engine or App Engine Flexible ,
you will need to do the following:

  • Visit Cloud Console, go to Compute -> instances and select
    the instance where WordPress is running.

  • Stop the instance.

  • Once the instance has stopped, click Edit and you can now
    modify the scopes under Cloud API access scopes . Change
    the Storage scope from Read Only to Full .

If you want to run this plugin outside of Google Cloud Platform, you
need to configure your service account as follows:

  • Visit Cloud Console, go to IAM & Admin -> Service accounts
    and create a service account with Storage Object Admin
    permission and download the json key file.

  • Upload the json key file to the hosting server. Don’t put it
    in a public serving area.

  • Add the following line to wp-config.php (replace the file path
    with the real one).

    putenv('GOOGLE_APPLICATION_CREDENTIALS=/secure-place/my-service-account.json');


Name