• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

angular2-image-upload unable to get hold of images

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm currently trying to upload/display max 3 images using angular2-image-upload and then use an image zoom on the first image.
I have updated/displayed 3 images successfully, but I’m unable to get hold of the 3 image (i.e. bytes) within my typescript class ImageUploadAndZoomComponent.ts
I have noticed that the onUploadFinished is called after all the images have been uploaded, but this only gives me the 1st image as a FileHolder.
The FileHolder does contain the image in bytes and also the name of the image.
I have also noticed that onBeforeUpload, does get called for the individual images, but only provides the image name and not its bytes.

file:imagezoom.component.html


file:ImageUploadAndZoomComponent.ts


Mat
 
Mat Anthony
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
  can anybody help me with this, or provide a solution that includes multi image uploads, displayed as small images. Then allow the user to select one of the images and provide a zoom of that image.
  Trying to use just angular 5 libs if possible.

Mat
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic