Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.
/ mage-remote-media Public archive

Magento development tool to automatically fetch catalog product images from a production environment for a development or staging environment

Notifications You must be signed in to change notification settings

phpro/mage-remote-media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Repository abandoned 2020-11-27

This repository has been archived since we are not using it anymore internally. Feel free to use it AS-IS, we won't be providing any support anymore.

Phpro_RemoteMedia

Magento development tool to automatically fetch catalog product images from a production environment for a development or staging environment.

The purpose of this module is to prevent being forced to download all media files to your local development/staging environment (sometimes this can be a huge amount of data). Each catalog product image is fetched and stored on the fly if it is missing at page load.

Note: This is a tool simplify your development/staging setup, and definitely not meant to be used on a production environment!

How it works

Files are fetched on the fly from a configured production media URL if the media/catalog/product file is not found in the media folder of your local Magento installation.

Usage / installation

  • Install the module using modman or Composer
  • Configure the module in the System > Configuration > Development > PHPro - Remote Media Fetch Settings
  • Enable the module and configure the URL to the production media URL
  • Refresh a page and wait until all the images are downloaded (this only adds a small one-time overhead)

Supported Magento version

Considered to work on most recent versions of Magento Community / Enterprise.

Actually tested on :

  • Magento Community Edition 1.7.1 & 1.8.1
  • Magento Enterprise Edition 1.13.1.0

Todo

  • Prevent usage of file_get_contents in helper/Data.php
  • Add support for category and other types of images
  • Write unit tests
  • Run unit tests on Travis

About

Magento development tool to automatically fetch catalog product images from a production environment for a development or staging environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages