Horje
Passes images through the WordPress site to prevent mixed content errors and bypass local filtering.

Noted That:

  • To install correctly this wp-camo.zip.
  • Fisrt Download the wp-camo.zip to your computer
  • Extract/Open wp-camo.zip to Your Computer.
  • Then, Find readme.txt file inside wp-camo.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 the Tips Below.

Start the Tips:

1. First Download "wp-camo.zip" Plugin to your Local Computer. (Click Download)

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

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on "Plugins" + "Add New" from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

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

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on "Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. "WP-Camo" folder is added on left sidemenu. Now, Click on "WP-Camo" folder.

   Noted that: If you do not see "WP-Camo" folder on left sidemenu then, see at left sidemenu "Settings" or "Tools".

8. Now you configure yourself oR Watch video tutorial below about WP-Camo Configurtions and Settings or How to work "WP-Camo" 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 "WP-Camo" Activated Plugin from Plugin List.
  4. Then, Click on "Settings" from Plugin that is WP-Camo
  5. Now, Edit/Add/Config the setting and Click on "Save Changes" button,
WP Plugin Setting



Guide
  1. Upload the plugin files to the /wp-content/plugins/wp-camo directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->WP-Camo screen to configure the plugin

There are two settings that can be configured

  • Prevent Mixed Content Errors, which applies a filter to the_content which finds all http:// images and changes them to wp-camo images.
  • Apply WP-Camo to these domains, which will pass images on these domains through wp-camo regardless of if its hosted on https.

In your theme/plugin you can use the filter wp_camo_hash_url to get the location of the image through WP-Camo.

apply_filters('wp_camo_hash_url', $url);

The image’s url will be a location in /wp-content/uploads/wp-camo/. The image will be downloaded and cached on the server to reduce load.

There are 2 filters for changing the path wp-camo uploads images to.

  • wp_camo_disk_path which sets the on disk path of the wp-camo directory.
  • wp_camo_public_path which sets the public url of the wp-camo directory.

errors, content, bypass, local, filtering, mixed, prevent, images, through, wordpress,

Name

Reffered: https://wordpress.org/

Share on: