Skip to content

Image renderer should integrate with MODX Media Sources #125

@valZho

Description

@valZho
  • In the site I'm building, I have a Collection of products, i.e. each item/resource in my Collection is a product page.
  • There is a TV in the product template that is an image container. That image TV is tied to a specific, non-standard MODX Media source, and the link (saved TV value) is, of course, relative to the media source base_url.
  • In this case, the media source base_url is actually on a completely different domain from the main site.
  • Collections.renderer.image ignores the media source on the TV and assumes that the link (value) from the TV is relative to the site's base_url ...thus breaking the image link in the Collections list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions