Let us upload an image instead of using Embedly. Maybe a API integation with Filepicker (we just enter API key and it'd work).

Really appreciate everything you've done with Telescope.

Comments

Xplic1TXplic1T
last year

Has there been any progress on this. Plugin route is the best way to do it.

Embedly is ok but lots of the times the images end up clipped improperly or are really small.

Reply
drigottidrigotti
last year

I'd very much like to see this feature too. I'd even be willing to chip in some $ to make it happen.

Reply
LaurenceLaurence
2 years ago

Why not just specify an uploads directory on the server where Telescope is installed?

Reply
JeremyJeremy
2 years ago

This is a really popular feature request. The biggest question I see that needs to be answered is where will these images go? There are lots of great options for Meteor app file uploads, but what works best for all Telescope users? Uploading to your app server is not always (ever?) the ideal. A lot of users won't have any idea how to deal with things like Amazon S3. So I'm not sure what makes the most sense for most people.

Definitely open to discussion on this though. I think avatar and post image uploads would be a huge improvement to Telescope.

Perhaps separate plugins for various upload destinations might make sense. Or maybe just one plugin, but some settings to configure the destination you want.

Thoughts? What would you personally like to see?

Reply
alwiseralwiser
2 years ago

Hi Jeremy,

I think the best most versatile solution would be to just integrate everything into Filepicker (as opposed to building everything from scratch). Telescope would use this for everything (images in comment, avatar, image upload to post etc) and people can also choose where to host images. S3, Googlecloud, Rackspace, Dropbox etc.

On our end, we just add Filepicker API key to Settings and that's it. :)

What do you think? I've also seen a few threads where Sacha too recommend Filepicker.

Reply
JeremyJeremy
2 years ago

I've used Filepicker a bunch. It's super easy to set up and works really well. The biggest snag I see is the free plan limitations:

  • 500 files / month (doesn't take long if you have a few hundred users)
  • 20MB max file size (not really an issue if you limit uploads to image files)
  • No conversions (image conversions would be really good to have for something that allows any user to upload files that get served at your cost)
  • 3 GB bandwidth (definitely related to the above items)
  • can't store in your own storage locations with free tier

And the lowest paying plan is $49/month. (which I think is a bit steep for an upload widget)

Certainly a reasonable free plan, but all of those limitations are avoidable when using a standard file upload package (of which there are many). You may not have as many fully functional integration options out of the box, but the upload part of things won't cost money or limit file size/count. So I'm not saying it's a bad idea at all. I actually really like Filepicker. I just don't know if it's the solution that works for everyone.

Which I guess is why I keep thinking plugins are the answer here (instead of adding directly to Telescope core). Then everyone can install what works best for their use case. For example, I use S3/Cloudfront for just about everything that needs static asset delivery, so I'd probably go the route of something like edgee:slingshot or a package like meteor-uploads (which has image resizing options).

If we go the plugin route, maybe we can consider making a common core upload package that serves as a base for a variety of upload providers. We might be able to avoid duplicating effort too much that way.

Reply
ableirvagableirvag
2 years ago

Why not cloudinary? http://cloudinary.com/pricing FREE No time limit Fully Featured 75,000 Total Images & Videos 7,500 Monthly Transformations 2 GB Managed Storage 5 GB Monthly Net Viewing Bandwidth

Reply
JeremyJeremy
2 years ago

Wow. Cloudinary looks pretty awesome. Those free plan limits are definitely generous. If you get to the point where you're storing more than 2GB of images and serving more than 5GB of traffic, you're probably big enough to be spending more money anyway.

I still think the plugin approach is probably best so people can easily choose other options, but I bet most people will be fine with using Cloudinary.

Thanks for pointing it out!

Reply
montecruisetomontecruiseto
2 years ago

I second doing everything in plugins from now on as to avoid an ever bloating core.

Reply
Joseph MerrillJoseph Merrill
2 years ago

This looks awesome.

Reply
alwiseralwiser
2 years ago

That actually looks better.

Reply
Joseph MerrillJoseph Merrill
2 years ago

Alwiser and Jeremy,

Both the Filepicker and Telescope package options sound good - I think I would lean towards Filepicker since it looks like it offers easy access to files on other popular platforms but I'm looking forward to hearing what everyone thinks would be best. The one thing I am really hoping for in a file upload feature is direct access to the device camera (specifically mobile device cameras) and I can't tell if Filepicker provides access to the camera or just the library. Thank you both for your insight into this process.

Joseph

Reply
alwiseralwiser
2 years ago

All of the solutions mentioned will do that. Filepicker is the best solution, except for the pricing. (it's not free) The other two solutions mentioned by Jeremy should suffice too though.

Reply