Sign up ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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.