You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -195,10 +195,17 @@ use Itstructure\MFUploader\components\{
195
195
's3DefaultBucket' => 'bucketname',
196
196
],
197
197
],
198
+
'publicBaseUrl' => 'http://your-site-address.com'
198
199
],
199
200
],
200
201
```
201
202
203
+
Here ```publicBaseUrl``` for example can be a project domain (```http://your-site-address.com```).
204
+
If we have ```url``` in ```mediafiles``` table ```\uploads\images\imagealbum\0d\3890\a947f268d6f9fd02d8a0d7e147da922c.jpg```, and we use **getViewUrl()** function from a ```mediafile``` model for local files,
205
+
then for example a result link to image for ```src``` attribute of ```<img>``` tag will be:
0 commit comments