CDN

Fun Tricks with Media Mover 2.x

Media Mover 2.x has been slowly creeping along for the last bunch of months and is starting to approach an alpha state. One of the cool things about Media Mover 2 is that the architecture has been rewritten from the ground up. Now there are three main concepts - files that Media Move knows about, configurations which are a collection of steps, and steps which are settings for some kind of action or process that is done to a file. However, they all have lives of their own which means you can do some neat things with them.

Let's imagine that you have a module that needs to do some kind of file processing that Media Mover already supports. You can define a step- that is, a set of settings - much like a view - in code in your module. You can then invoke it simply:

Media Mover Supports ImageCache - CDN integration getting better

For folks who need imagecache conversions to be automated, the dev version of Media Mover 6 has a new module which will create all of the imagecache presets that are select for Media Mover files. This makes it easy to to push the derivatives to a CDN service without relying on users to hit the URL for the imagecache file. Hooray!

Simple CDN with Media Mover and S3

Updated 10/26/09: added improved url rewriting rules

So you want an easy to setup CDN that does not require much work and integrates with Drupal. Here is a quick setup to get to serve assets automatically from your Drupal files directory from S3

What you need:

  • Drupal site
  • Media Mover
  • S3 account

Get started
Install Media Mover, enable the S3, Directory, and AutoRun modules on your admin/build/modules page. Go to admin/settings/media_mover and enter your S3 credentials.

Media Mover

Syndicate content