• Resolved Sea Jay

    (@jcollier)


    I see that there are options for configuring a file field magic tag to deliver root-relative path for images rather than full URL:

    https://pods.io/docs/code/pods/field/

    file_field_name._src_relative.sizename Relative URL (to root domain) for custom image size (_src.* notation the same)

    What would be the syntax for doing so with a file field that points to a PDF rather than an image? I tried the following with no success.

    file_field_name._src_relative
    file_field_name._src_relative.full
    file_field_name._src_relative.pdf

    • This topic was modified 6 years, 11 months ago by Sea Jay.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Relative path for PDF file field’ is closed to new replies.