-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media Manager - Form Field type 'mediafinder' #1211
Comments
Same bug. |
I can confirm the same. |
This feature is introduced in Build 269 make sure you have updated and are using |
$value is pulled through as an array throwing this error: substr() expects parameter 1 to be string, array given Likely anything else after will throw the same error? Sorry for re-opening. |
Just for the other guys, dont try adding this to an attachMany field... This was human error and my rookie mistake and is what causes the above problem :) 👍 |
I did hit an issue in the end... To replicate: On a quick look through the console, it's not pulling in the source path. Also, I assumed there would be a way to potentially use the .thumb() helper on the front-end, I understand that it wouldn't work based on it being a string saved, but what options do we potentially have here as a user could select an image that is huge in size? The path is also a relative path from the media directory and we have no way of determining whether that's in storage/uploads or storage/media (I have 2 folders for my app atm). Would it be possible to {{ post.featured_image|storage }} or something similar? Hopefully the above helps somewhat. |
@jonpxpx guess you should open a new issue, the same problem is happening to me too. |
Yes, already did @hjfigueira it's here #1215 |
👍 |
type: Cms\FormWidgets\MediaFinder |
Please open a new issue if this still exists for anyone. |
Hello,
When using an form widget with type 'mediafinder' the system throws an exception.
throw new SystemException(Lang::get('backend::lang.partial.not_found_name', ['name' => $partialPath])); at line 61
Aparently the file 'widgets/form/partials/_field_mediafinder.htm' cant be found, so i searched for this file literaly everywhere, (even github), but nothing.
The text was updated successfully, but these errors were encountered: