Questions tagged [media-library]

209 questions
22
votes
12 answers

Wordpress - Images not showing up in the Media Library

I have a huge problem with my Wordpress. My uploaded images don't list in the Media Library. It is weird tho, it says I have 75 images, but display none. Take a look yourself. Even weirder, if I go into gallery (the images you uploaded in the page…
Fredy31
  • 2,660
  • 6
  • 29
  • 54
11
votes
3 answers

Detect permission of media library ios

In my app, I want to detect that if user give the permission to his media library or not. User may denied media library permission when system popup ask or later from setting. Is there any way to detect the status of media library permission? Here…
ajay_nasa
  • 2,278
  • 2
  • 28
  • 45
10
votes
1 answer

Create a medialibrary in Laravel PHP inspired by WordPress

At the moment I am working on a medialibrary in the Laravel framework. I am looking at WordPress with a users-experience point of view. The tab Media Library shows the images which you can select. I've checked TWO images (Shift + click) within…
poashoas
  • 1,790
  • 2
  • 21
  • 44
6
votes
6 answers

WP Media Library Grid View not displaying

Found this question: Wordpress: media library grid mode infinite loading And, more recently: "Currently I am using Enfold child theme but media grid view is not working. Even if I try to get to the grid from any of other places like selecting the…
Dan
  • 71
  • 1
  • 1
  • 3
5
votes
1 answer

How to get rid of "Allow Expo Go to modify this photo?" alert in Android

I'm developing react native expo application which takes photo using expo-image-picker and saves that image into a different location by using expo-media-library. Everything seems to be working fine but this pop up keeps getting every time user…
5
votes
4 answers

How to upload images using Laravel Livewire and Spatie media library?

I am using Laravel Livewire and Spatie media library and I couldn't find anything helpful on both of their documentation on how to do this. am trying this but it gave me…
kenean50
  • 518
  • 5
  • 13
4
votes
1 answer

Iterate through photo library on OS X?

I'm trying to iterate through a user's photo library on OS X. On iOS, I would use the Photos framework, but apparently that's not available on OS X, and we're supposed to use the Media Library framework instead. However, while I was able to use…
Nerrolken
  • 1,975
  • 3
  • 24
  • 53
3
votes
2 answers

Saving Image in MediaLibrary

I am using listbox where I am populating the listbox with the images with the absolute uri. Now i need to save the images to my media library within my phone. But when I try: Application.GetResourceStream(new Uri(imageurl, UriKind.absolute)) it…
master.fake
  • 487
  • 1
  • 6
  • 22
3
votes
1 answer

Uniquely identify albums and songs in Windows Phone media library

I am importing a songs collection from an Album object that is obtained from querying MediaLibrary on Windows Phone Mango. Is there a unique identifier provided by the platform, by which I could be identifying different songs and albums? I need…
Maxim V. Pavlov
  • 10,303
  • 17
  • 74
  • 174
3
votes
1 answer

WordPress Media Library Hooks and Filters passing variables between 2 functions

For some reason, today PHP is doing my head in with regard to setting up some filters in WordPress, the issue is how to pass variables between the two functions which are filters? I am looking to leverage the WordPress hook upload_dir and…
Sidney
  • 51
  • 4
3
votes
4 answers

WordPress async-upload.php returns 500 (Internal Server Error) after uploading a large JPG file

I'm getting an HTTP Error message when uploading a big jpg file (about 30 - 40MB) and I can see 500 Internal Server Error response in the Chrome dev tools network tab returned by the async-upload.php. The error appears after the file is uploaded. I…
wube
  • 923
  • 2
  • 10
  • 22
3
votes
1 answer

Prevent authors from seeing other authors media files in media upload dialog in Wordpress 3.5 and with ACF

I've been struggling with this problem for a good while now, and just can't seem to get it work. I have a multiuser wordpress 3.5 site with Advanced Custom Fields plugin. a custom post type, gallery, in which authors can post their photos through…
hlotvonen
  • 119
  • 1
  • 3
  • 10
2
votes
1 answer

Expo MediaLibrary got error `undefined is not an object (evaluating '_ExponentMediaLibrary.default.MediaType'`

I'm working in an app with expo dev client to allow use native modules, right now I'm trying to implemente the package expo-media-library to save and get pictures taken with ImagePicker from expo, to the gallery. Following the documentation, I…
Lando Sotelo
  • 81
  • 1
  • 7
2
votes
0 answers

How to use expo expo-file-system uploadAsync with asset from expo-media-library getAssetsAsync

getAssetsAsync returns list of assets where uri look like: "ph://ED7AC36B-A150-4C38-BB8C-B6D696F4F2ED" I trying to call uploadAsync const upload = await uploadAsync('http://localhost:8181/api/upload', post.image.uri); But I receive…
Yuri Taratorkin
  • 607
  • 6
  • 19
2
votes
0 answers

createAssetAsync doesn't work on Android 10

MediaLibrary.createAssetAsync(uri) on Android 10 always returns an error as Error: Unable to copy file into external storage.. This happens only on Android 10 device. I can use it without any problem on Android 9. Any idea to how to solve this?
Kaepxer
  • 319
  • 3
  • 16
1
2 3
13 14