2

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.

1 Answer 1

1

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

1
  • Of course! Yes, that makes sense. I can't believe I didn't think of that.
    – Brett
    Feb 10, 2015 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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