Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking to have an image get dynamic name for each style that is generated by the system.

Currently I am using tokens to generate an md5 hash for the file name, but for each style (eg small/med/larg/original) the same name is held accross each image, and a new md5 hash is not generated for each new style.



Ultimately I am trying to control access to the original files, though would like them to be public just not guessable, so they are easily shareable, if someone would like to.

I have tried to use File path module, but still no options based on style (that I can tell).

I am open to anyway really, modules or some php customization, ideas?


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.