First, I'm running Drupal 5.5, php 5.1.6, and PostgreSQL 8.1.9. I have some images that display just fine but because I have external sites that link to where some of the images used to be (before I migrated to Drupal), I'm trying to set up aliases.

An example is the image at http://www.astrofoto.org/files/images/cg5-127mm_0.jpg. I set up an alias that has " files/images/cg5-127mm_0.jpg" as the system path and "equipment/images/cg5-127mm.jpg" as the alias. When I attempt to access this as http://www.astrofoto.org/equipment/images/cg5-127mm.jpg, I get 404, not found.

Can image files be aliased? If so, what am I missing? My alias to nodes work just fine....

roland

Comments

marcvangend’s picture

I have no experience with path aliases for images myself, but the image module (http://drupal.org/project/image) stores images as nodes. I assume you can create path aliases for these nodes.

rbroberts’s picture

Aliasing a node works fine; but then the external link doesn't work; you can't <img src="..."> to a node and have it work :-(