Questions tagged [pffile]

108 questions
1
vote
2 answers

converting PFFile to UIImage with data and append to array

I can see several similar threads on this site however none clarify how to get the data back out of the array. I'm trying to a PFFile off a server and set it as the image in a collectionview for object in packs { …
Pippo
  • 1,439
  • 1
  • 18
  • 35
1
vote
1 answer

PFFile loadInBackground error 403

I got a problem when I load PFFile in background, parse sever will display below message cell.pictureImage.file = product.imgoneS cell.pictureImage.loadInBackground() Response status code was unacceptable: 403 My Parse server run at Heroku and use…
章恩齊
  • 23
  • 8
1
vote
1 answer

How do URL's work for files

I'm using Parse to download my PFFiles for my videos and images on my backend. However after i get the file url from the PFFile, it takes forever to load. Why is this? Does using a file url mean you are essentially downloading the data? Like the…
ian
  • 1,002
  • 2
  • 12
  • 29
1
vote
1 answer

PFFile Image cache in Swift 2.0

I am getting image as PFFile. but when my table is scrolling every time PFFile is downloading and its take time. I want to cache my file so if its will be downloaded then it will get from cache not from the Parse. func tableView(tableView:…
PAn Kaj Khatri
  • 539
  • 1
  • 6
  • 22
1
vote
1 answer

How to determine if PFFile is Video or Image?

I'm creating an application in IO's with Parse and would like to know how can i determine if the file that i get is a Video or an image any ideas? any suggestion ?
bernard rayoso
  • 153
  • 1
  • 5
1
vote
1 answer

PFFile in Xcode swift

I'm programming in Swift and using Parse as my database. I'm trying to get an image from the database which is stored as a file. I downloaded it as a PFFile in an array in my code and naturally the imageView is thus unable to run the file because…
James Lim
  • 83
  • 5
1
vote
1 answer

Swift 2.0 Parse PFFile/Image

I have a Swift project that uses Parse to store profile pics. For some reason the PFFile profile image was a pain to get working. I finally got it working in Swift 1.2 with this function: func image(completion: (image: UIImage) -> Void) { …
MayNotBe
  • 2,110
  • 3
  • 32
  • 47
1
vote
1 answer

Parse.com php sdk: Show image stored in Parse

I am using Parse.com and php sdk integrated with codeigniter framework. I have ParseFile Info but how can i use it to show user's image without downloading it? [userImage] => stdClass Object ( [__type] => File [name] =>…
Asif Alamgir
  • 1,454
  • 1
  • 16
  • 41
1
vote
1 answer

How can I move a Parse PFFile from one application to another?

I need to move image data stored in one Parse application (Source database) to another Parse application (Client). The PFFile was created using an IOS application in the Source. I have a choice of redoing this from the Client app using the original…
Syed Tariq
  • 2,878
  • 3
  • 27
  • 37
1
vote
1 answer

What will parse do to the deleted PFFile?

I uploaded a PFFile to Parse.com, and saved the url of the PFFile. Then I deleted the PFFile, and tried using the saved url to download the PFFile. It's success! So my question is: What will Parse.com do to the deleted PFFile? Is the PFFile being…
ChihHao
  • 273
  • 1
  • 4
  • 15
1
vote
1 answer

Convery my UIImageView to a PFFile in SWIFT

I have a UIImageView in my storyboard, and the user can successfully select an image from their phone to place in the ImageView; however, I'm not sure how to get that from the storyboard to Parse.com. Any code would be much appreciated. There are…
Mason Ballowe
  • 1,847
  • 2
  • 12
  • 23
1
vote
1 answer

fetching 1 image from parse.com

Ive seen many posting on here with phenomenal answers by the community. Unfortunately none have been able to help or guide me to what i need help with. Im trying to "fetch" the image that the "current user" uploaded to parse on the same…
1
vote
1 answer

Parse PFFile increase user object size

Will having an Array of PFFiles (also stored in another table on the server) in a User object increase that objects size, or will only references be held? I know that you can associate a user with each file but it helps the app a lot if there is…
manny
  • 63
  • 3
1
vote
1 answer

PFFile security

Does anyone know if it is possible to set security to a PFFile? The URL to a PFFile is public and can be access by anyone who knows the URL. I need my URLs to have access control, not public access. Can that be done in Parse? Thank you
1
vote
1 answer

Xcode Parse cachePolicy seems to break my thread

so i'm fairly new to Xcode and C# so this may be a silly question, but none-the-less it has had me tearing my hair out for 3 days now. Ok, so I am using Parse to fetch and save data, images, etc. I want to display a UITableView with the PFFile…
James Mann
  • 61
  • 1
  • 7