Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedNeed approach - upload images from iOS to DNNNeed approach - upload images from iOS to DNN
Previous
 
Next
New Post
10/29/2014 5:00 PM
 

My iOS app needs to upload images to DNN.    I know how to do a WebAPI - so worst case I guess I can hex64 encode them - but sounds very inefficient.   Questions:

  • Thoughts on the best way to upload an image - and associate that with a JSON data upload as well?
  • Where should images (lots of images) go?    Is there a DNN way to manage these?    (I'll manage my other user records by myself.)
  • Ditto for downloading of images on demand to an iOS app

Thanks!!!

 
New Post
10/31/2014 6:10 AM
 

What language is the app developed in? Objective-C, Swift or is it a hybrid?

Are the images specific to the user, module or site?

Downloading the images on demand depends on the language the app is developed in.  If you are using Objective-C you can let the UIKit handle it for you by calling performSelectorInBackground in -(void)scrollViewDidScroll:(UIScrollView *)scrollView{...} 

[self performSelectorInBackground:@selector(loadNextPicture) withObject:nil];

https://developer.apple.com/library/i...

 



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
New Post
10/31/2014 2:12 PM
 

Thanks, but...    I have no problems at all on the iOS side, and the WebAPI to DNN works fine  (no security so far, but that's another issue.)    The question is how to handle image uploads, manage a library, selectively download images -- within DNN.    More specifically:

  • image upload, in parallel with a WebAPI so that they're bonded to the appropriate id per my logic.   prefer native http upload for performance
  • image download, initiated by my WebAPI
  • view images on DNN, hopefully in an existing module/framework - worst case I can build my own module

Is there an existing image module/framework to work with in DNN?

One google post on stackoverflow seemed to mention an "image API".    Is there anything there?

Thanks!  p

 
New Post
11/5/2014 3:49 AM
 
im ios developer and im looking for that too, thanks
 
New Post
12/22/2014 11:00 AM
 

There is the Icon API, but that doesn't sound like what you are looking for.  You can also set and download user profile images, is that what you need?

If you are looking for a full blown image web service for DNN, there might be one by a 3rd party.  But wouldn't it be better to build that yourself so that you have full control over it? Your implementation would be leaner since it wouldn't have to deal with the overbloated needs of providing global image handling for every possible app.  You also have to worry about changes in the API breaking your app.

If your app is open source, I can build the API you need.  Let me know.



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedNeed approach - upload images from iOS to DNNNeed approach - upload images from iOS to DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out