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

panoply
panoply

Working with plugins and taking advantage of the file uploader. I want to list my uploaded images and give the user the option to attach a link to each of the uploaded images. How is can i achieve this?

I call the featured images model:

public $attachMany = [ 'featured_images' => ['System\Models\File', 'order' => 'sort_order'], ];

This get attached to my plugin and then I call if in my field yaml:

featured_images: label: Upload images type: fileupload mode: image imageWidth: 250 imageHeight: 250

However, this is where I don't know how to aattch a url link to each of the uploads.

1-1 of 1

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