This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

pmdforth17468
pmdforth17468

The default file upload widget field name must use an attachOne or attachMany relation, so when showing image/cover for a Model, It have to do a JOIN query. Why not directly attach file to model's image field, then use thumb cache utils to save and retrieve file url , especially for list of huge images for (different) model ?

For ajax save file, I think we can do it by afterSave the 'disk_name' plus 'id' in the Model's filed.

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.