Coral — Remote Images

Описание

Do you work with GIT repositories and develop WordPress websites locally? Have you found it time consuming and difficult to develop locally on a large WordPress website that has thousands of images? Does your development site get out of date within months due to active content management on the live site?

Activate this plugin on your local or development environment, and any linked images in the database content (wp-content/uploads folder) will be pulled from the live site URL.

Установка

  1. Upload the plugin files to the /wp-content/plugins/coral-remote-images directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Done!

Часто задаваемые вопросы

The plugin didn’t recognize the live URL

Yea, it might not. When we at Big Sea build websites locally, we tend to import the live database, and modify the URL for our local installs via PHP constants. If you do not do that, and modify the database, you can tell Coral Remote Images what the live URL is by setting:

define('BSD_CORAL_LIVE_URL', 'http://yourlivesiteURL.com');

Add this in your wp-config.php or theme’s functions.php … this is the location of your WordPress install, not your site’s root (if it varies)

Отзывы

Works well with CDNs

I’m working on sites that get way out of date within one day. I also develop at a fast cadence. I must have all the images in place and I’m running out of space on my local machine. This plugin is great for filling in the images in the background. I host my images on a CDN so I plopped the CDN URL in there instead of the application URL. All works correctly.

Serious time saver

It does what it says. Saves the wait of yanking a giant folder of resources from /wp-content and keeps files consistent with live sites.

Посмотреть все 3 отзыва

Участники и разработчики

«Coral — Remote Images» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Coral — Remote Images» на ваш язык.

Заинтересованы в разработке?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Журнал изменений

1.1

  • Added a settings page under ‘Settings’ called ‘Remote Images’. This allows you to set the live url via the database. Will only be overridden by the BSD_CORAL_LIVE_URL PHP constant.

1.0.3

  • [Fix] Discovered that we weren’t compensating for SSL redirection. URLs to change to weren’t properly being determined.

1.0.2

  • [Fix] Noticed during wp-cli activate that WP_SITEURL isn’t set during the time that it’s being utilized. Changed the location that it gets used, and swapped out some conditionals accordingly.

1.0

  • Initial Release