Support » Plugin: Pods - Custom Content Types and Fields » Relative path for PDF file field

  • Resolved Jay Collier

    (@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 5 months, 2 weeks ago by Jay Collier.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.