Is there an Assets variable like {filedir_X} that will output the S3 server path? I'm moving my images to S3 and I have referenced images in several channel entries in a textarea like <img src="{filedir_X}imagename.jpg"/> and I'd prefer not to hard code the S3 URL.


No there's not, but there's nothing stopping you from using a global variable for this purpose.

| improve this answer | |
  • Of course! Yes, that makes sense. I can't believe I didn't think of that. – Brett Feb 10 '15 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.