I'm using Zoo Visitor which advocates the Safecracker File field type for user uploaded avatars.

Safecracker File stores the image reference as {filedir_x}filename.

I'm wanting to use EE's image manipulation to crop and resize the uploaded image so I need to be able to output src attributes of the form…


How can I get hold of the filename in my tag output? Do I have to resort to custom PHP or is there an easier way?

1 Answer 1


Ah, OK…

"SafeCracker File inherits the tags of the standard File field"

…so I can just use the appropriate single variable parameter such as…


Must read more carefully before posting!

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.