Questions tagged [media-library]

209 questions
0
votes
1 answer

Creating Windows Phone Picture Gallery

I'm trying to create a Grid Gallery with Pcitures from MediaLibrary, but It results complex in terms of loading heavy pictures. I tried using a ListBox with WrapPanel and Binding Images in it, works great with light images (less than 100kb) but it's…
fran
  • 515
  • 2
  • 11
  • 22
0
votes
3 answers

Select all picture,images,saved pictures from device

I am developing one application related to Pictures, Album. What I am trying to do is to select all pictures, saved picture, album, camera roll from device and store it in List. I found one class i.e. MediaLibrary, but I am not able to…
Ajay
  • 6,418
  • 18
  • 79
  • 130
0
votes
1 answer

Medialibrary Savesong method corrupts files

Here's the code I found on MSDN forum: Dim file As New Uri("Assets/someSong.mp3", UriKind.Relative) Dim myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication() Dim fileStream As IsolatedStorageFileStream =…
fillobotto
  • 3,698
  • 5
  • 34
  • 58
0
votes
1 answer

The Width and Height are reversed, when uses MediaLibrary.Pictures to get a pic

I write some Windows Phone 7 APPs. I intend to visit the photo on cell phone. I take a photo with the phone and the size of photo is 1944x2592 (W x H). Then I use MediaLibrary mediaLibrary = new MediaLibrary(); for (int x = 0; x <…
锴 张
  • 15
  • 3
0
votes
1 answer

How to save song/mp3 to Media Library in Windows Phone 8?

I'm solving simple task - in Windows Phone 8 it should be possible to save mp3 file downloaded from Internet into phone Media Library, not just into Isolated storage. Hint for the API is here: What's new in Windows Phone SDK 8.0 The only thread…
Martin Suchan
  • 10,600
  • 3
  • 36
  • 66
0
votes
1 answer

Restrict editors when viewing images uploaded by other editors in Wordpress media gallery

Hi I have this code in my functions.php and its working well when the editor is viewing the Media library: http://example.com/wp-admin/upload.php add_action('pre_get_posts','users_own_attachments'); function users_own_attachments( $wp_query_obj )…
Emerson Maningo
  • 2,189
  • 9
  • 32
  • 47
0
votes
1 answer

How to download and save audio and video in wp7 mediaLiabrary?

Can you please tell me how to save or store sample audio and vidio into mediaLibrary.From my application if i long press on a picture i get a save picture option that saves the picture under saved pictures category in MediaLibrary. Similarly how do…
Mansinh
  • 1,365
  • 4
  • 19
  • 47
0
votes
1 answer

How to databind images from the media library to a listbox?

I want to bind a ListBox with images from the media library. Till now i have done this but it doesn't seem to work : xaml code:
0
votes
2 answers

Upload file from iPhone media library, in 2012

I'm about to launch a service where one of the feature is to upload files with an 'upload' button on a website. Some years ago, I made some program for iPhone, and I remember that it was impossible to upload an MP3 from the library, because each app…
Léon Pelletier
  • 2,701
  • 2
  • 40
  • 67
-1
votes
1 answer

Why are my images and css not showing up on my website?

I have a problem with my website which is built in WordPress. My uploaded images don't list in the Media Library and CSS does not show on the website.
-1
votes
1 answer

Support DXF file WordPress

I found this code to support .dwg files in the WordPress media library. function custom_upload_mimes ( $existing_mimes=array() ) { $existing_mimes['dwg'] = 'image/vnd.dwg'; return $existing_mimes; } add_filter('upload_mimes',…
LTCode
  • 35
  • 6
-1
votes
1 answer

There is no filesystem disk named public

$user->addMedia($request->file('avatar'))->toMediaCollection(); error: There is no filesystem disk named public in DiskDoesNotExist.php line 11 How to Fix Please Help from 2 day trying to fix.. Issue Posted on Github also but not help anyone Github…
Zubair
  • 53
  • 9
-1
votes
1 answer

How to remove default Bluehost favicon in library file window

I'm a new Wordpress user and I used the 'All in one Favicon' plugin to replace the default Favicon of my host, Bluehost. This works on my website, but I have a few links to media library files, and when I open those, the Bluehost favicon returns.…
Dominique
  • 11
  • 1
  • 5
-6
votes
1 answer

how make duplicate of an specific file in wordpress media library programatically

I programatically uploaded some files to wordpress media library by this function: media_handle_upload. this function after adding file to media library returns a number called wordpress_media_attachment_id . now I have some files in media library…
saeid ezzati
  • 855
  • 11
  • 29
1 2 3
13
14