Sugbo
Sugbo
FFilament
Created by ekrbodo on 7/5/2024 in #❓┊help
RichEditor S3 private visibility
What is use case of using temporary URL that expires after 5 minutes?
11 replies
FFilament
Created by ekrbodo on 7/5/2024 in #❓┊help
RichEditor S3 private visibility
@ekrbodo My S3 bucket is public. As a temporary solution I just commented out the visibility check in handleUploadedAttachmentUrlRetrieval which generates a temporary URL that expires after 5 minutes. The images I want to display are for blog images but the default visibility of public is not working for me nor placing ->fileAttachmentsVisibility('public') which is not storing anything in my public s3 bucket.
11 replies
FFilament
Created by ekrbodo on 7/5/2024 in #❓┊help
RichEditor S3 private visibility
@ekrbodo have you figure this thing out? I have spent several hours trying to figure it out if there something wrong with my s3 bucket configuration but it seem really like a bug in filament. If I remove fileAttachmentsVisibility or change it to public nothing is getting uploaded to my S3 bucket
11 replies
FFilament
Created by Sugbo on 6/15/2024 in #❓┊help
Rich Editor not displaying in front-end
Thanks. I appreciate the response
4 replies
FFilament
Created by Sugbo on 3/21/2024 in #❓┊help
Rich Editor - Displaying to Front-end
@awcodes I notice that when I use the public local storage with RichEditor::make('content') In the 'content' field of blog table the following element exists: <figure data-trix-attachment="" data-trix-content-type="image/png"></figure> And that is why when I do {!! $blog->content !!} it is showing the image in the front-end. The element is responsible for referring to the location of the image in the storage. However when I use s3 and modify the code as follows RichEditor::make('content') ->fileAttachmentsDisk('s3') ->fileAttachmentsDirectory('attachments'), The <figure></figure> element does not exist in the 'content' field of blog table and so no image is being displayed Again the image is being stored in the folder livewire-tmp in S3 it is not being displayed on front-end Kindly help bro. Thanks
8 replies
FFilament
Created by Sugbo on 3/21/2024 in #❓┊help
Rich Editor - Displaying to Front-end
Switched back my storage to public local storage. {!! $blog->content !!} actually works. But when I switch to s3 thats when the images are not showing up. This is the code in the BlogResource RichEditor::make('content') ->fileAttachmentsDisk('s3') ->fileAttachmentsDirectory('attachments') What happens is that the image is stored in livewire-tmp folder in s3 but its not going to the folder 'attachments' . The image is not being displayed in the blade view, not even like the the attribute specified in 'alt'
8 replies
FFilament
Created by Sugbo on 3/20/2024 in #❓┊help
Spatie Media Library Plugin for FilamentPHP not generating responsive images
Yeah that might the one I might be missing. Will check again. Thanks brother
8 replies
FFilament
Created by Sugbo on 3/21/2024 in #❓┊help
Rich Editor - Displaying to Front-end
I appreciate the response
8 replies
FFilament
Created by Sugbo on 3/21/2024 in #❓┊help
Rich Editor - Displaying to Front-end
Thats basically what I did. The image is what I am looking and putting it in the right spot when I display them. How Filament know which $blog model the images belong to and how do you call those images when you display them?. When you do {!! $blog->content !!} its only calling the text (at least ony my side)
8 replies
FFilament
Created by Sugbo on 3/20/2024 in #❓┊help
Spatie Media Library Plugin for FilamentPHP not generating responsive images
Hey bro I appreciate the response. Filament version 2 should support it I wonder why its not working. I'm gonna have to look again. Thank you
8 replies
FFilament
Created by Sugbo on 3/20/2024 in #❓┊help
Spatie Media Library Plugin for FilamentPHP not generating responsive images
Hi bro apologies for the late reply. No I am not using panel builder. The Filament version is 2.17
8 replies
FFilament
Created by Sugbo on 7/25/2023 in #❓┊help
Unable to locate: heroicon-m-share
Hey. Thats it. Thank you for your help
7 replies
FFilament
Created by Sugbo on 5/26/2023 in #❓┊help
How to display attached file
But I am like how do I loop it in the mount method
6 replies
FFilament
Created by Sugbo on 5/26/2023 in #❓┊help
How to display attached file
Hi bro. Appreciate the response. There is no console error. The $this -> post -> getMedia('post-attachments') returns a collection, I am thinking maybe I should do a loop or something? Totally confused
6 replies
FFilament
Created by Sugbo on 4/30/2023 in #❓┊help
File Attachment Does Not Exist on Media Library Plugin/Form Builder
This dd($this->attachment) will return an array
20 replies
FFilament
Created by Sugbo on 4/30/2023 in #❓┊help
File Attachment Does Not Exist on Media Library Plugin/Form Builder
TYSM
20 replies
FFilament
Created by Sugbo on 4/30/2023 in #❓┊help
File Attachment Does Not Exist on Media Library Plugin/Form Builder
Appreciate the help
20 replies
FFilament
Created by Sugbo on 4/30/2023 in #❓┊help
File Attachment Does Not Exist on Media Library Plugin/Form Builder
But I have to add toMediaCollection()
20 replies
FFilament
Created by Sugbo on 4/30/2023 in #❓┊help
File Attachment Does Not Exist on Media Library Plugin/Form Builder
Its working now Sir. This one actually works foreach ($this->attachment as $file) { $question->addMedia($file); }
20 replies
FFilament
Created by Sugbo on 4/30/2023 in #❓┊help
File Attachment Does Not Exist on Media Library Plugin/Form Builder
Yes. Its a livewire component
20 replies