I posed this question in the Craft Help Slack channel earlier but still don't have resolve.
Background on my field setup:
Entry - Matrix -- Image Block (matrix.imageBlock) (assets) --- Mobile Image field (mobileField) (assets)
The image block field in the Matrix is using a restricted upload folder {owner.slug}
; which is the entry slug (so its saved to /uplaods/entrySlug/
). I also have a child asset field added to the image block to add a mobile specific image. Prior to Craft 2.5, using {folder.path}
would put those images into the same /uploads/entrySlug/
. Now when I "double click" the asset field to add the mobile image, {folder.path}
returns This field’s target subfolder path is invalid: {folder.path}
.
I was given a few ideas to pursue as it was thought that maybe the dynamic path had not resolved yet, but they didn't work.
I'm thinking that it does indeed revolve around dynamic paths, however, I can't seem to figure it out. All I'm looking to do is save the child asset field files to the same directory that all the other images go to (one image bank, so to speak, for the entire entry).
mobileField
inside of Matrix? I can't tell from the description.imageBlock.
It is a standalone Assets field that I've added to theimageBlock
Assets field which is a block in the Matrix.