1

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…

/path/to/images/avatars/uploads/_subfolder/filename

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

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…

{member_avatar:image_manipulation_short_name}

Must read more carefully before posting!

Your Answer

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

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