Jump to content
Matt

4.5: Simple Stock Photo Picker

We have come a long way since the late 90s when someone had the genius idea of using a small yellow smiling face image instead of the more common colon-bracket representation of a smiling face.

In Invision Community, there are various places that photography can be used to create visual interest. From uploads in topics, to cover photos for blogs and members.

The humble upload field has served these areas well, but sourcing images to use can be a pain; especially when you have to walk the minefield that is copyright and attribution.

Fortunately, there are a few "CC0" online stock photo libraries that offer quality photography that requires no attribution and are not hampered by copyrights.

One such library is the ever-popular Pixabay, which was established in 2012 and features a very powerful API. Pixabay has over a million images ready to use from llamas to sausages and everything in-between.

Invision Community 4.5 now includes support for Pixabay which brings those images to your fingertips (or mouse pointer if you're on a desktop.)

Pixabay.jpg

This video shows the feature in use.

As you can see, not only can you upload into posts from the stock photo library, but you can also use it to add a cover image to your profile and blog entries.

Finding quality photography has never been so easy!

For those that love technical details, the stock photo picker is a programmatic option on the upload form field type making it very easy to add to your own code and apps.

How will you use this new feature? Let me know!

Edited by Matt

Comments

Recommended Comments



13 hours ago, bfarber said:

 why not make it a smooth and easy process for them?

Thanks, my point wasn't don't want make it a smooth and easy process... Just was thinking prevent members posted so many photos unnecessary and consuming server disk. But... Maybe is my unnecessary worry... How ever, good feature at least will be more easy giving image for cover... Headers etc. 

Link to comment
Share on other sites

On 1/24/2020 at 9:16 AM, The Old Man said:

Thanks for pouring some sugar on 4.5 @Matt !
 

I recently started using Unsplash, they have some stunning photos. 
https://unsplash.com/

They also have a modern API:

https://unsplash.com/developers

 

 

On 1/25/2020 at 11:49 AM, GlenP said:

What a great site. Thank you for highlighting it. Pixabay looks quite limited for our area of interest but that site is very good for us.

 

On 1/27/2020 at 12:35 PM, Matt said:

Unsplash is good too. We might create an API for that if there's enough traction.

 

On 1/28/2020 at 9:22 PM, beats23 said:

Please add https://unsplash.com/ to the code. 

Thanks.

Hi @Matt  @Andy Millne

Please, pretty please, with donuts on, can you extend stock photos to include Unsplash for 4.5? Would be brilliant to have this choice built in on release rather than write a Marketplace mod.

Many thanks 🙏🏻 

 

Link to comment
Share on other sites

51 minutes ago, The Old Man said:

Please, pretty please, with donuts on, can you extend stock photos to include Unsplash for 4.5?

I agree. Unsplash will work for us while Pixabay won't.

Link to comment
Share on other sites

Hi @Matt, tell me is it possible to change the language of the image search to any other? I can see that the Pixabay API supports this.

Quote
lang str Language code of the language to be searched in. 
Accepted values: cs, da, de, en, es, fr, id, it, hu, nl, no, pl, pt, ro, sk, fi, sv, tr, vi, th, bg, ru, el, ja, ko, zh 
Default: "en"

 

Link to comment
Share on other sites




Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...