Jump to content

Invision Community Blog


Managing successful online communities

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

You and Invision Team have a full WOW from me for your hard work  🙂

Invision is a great platform and very easy to use. I appreciate your efforts !

Do you have any info and be able to share about supporting more Cloud providers for our files?

Thank you !

Edited by ASTRAPI

Share this comment


Link to comment
Share on other sites

The fact what "stock photos" button is located in much more convenient place than users own existing attachments is super illogical and sad.

But i like the main idea of this feature.

Share this comment


Link to comment
Share on other sites
Quote

Pixabay has over a million images ready to use from llamas to sausages and everything in-between.

I'll pass on the sausage party, thank you. 😀

 

The video is very impressive.  This is something that should benefit a great number of communities, as images can sometimes be the one thing that gets a persons attention to something that they would have otherwise looked past, and are grateful that they didn't.

Edited by Wolfie

Share this comment


Link to comment
Share on other sites
34 minutes ago, Mr 13 said:

The fact what "stock photos" button is located in much more convenient place than users own existing attachments is super illogical and sad.

But i like the main idea of this feature.

We have a todo about that too. We did consider changing it for this release, but we're not sure we'll get time - but we do recognise that it's not perfect hidden away.

Share this comment


Link to comment
Share on other sites

Maybe it is nice to be able to distinguish between the personal and stock photos. Small pixabay logo in the corner or caption, something like that. I think as a reader I would want to know if a photo in a thread is a stock one. 

Share this comment


Link to comment
Share on other sites
Quote

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

We already use a semi-automatic solution to add random images to RSS output items, that do not have any image. Right now we have saved about 100 images that match the general subject of the project like "gardening". When RSS output is created AND no image can be provided for the item, then a random image from those 100 is picked. If there were a possibility to combine this feature with improved RSS we could replace our "rich RSS" plugin entirely.  

Share this comment


Link to comment
Share on other sites
5 hours ago, kmk said:

These images will occupy site server disk? 🤔 

Yes, they are treated as normal uploads/attachments. We are not permitted to hotlink the images.

Share this comment


Link to comment
Share on other sites
16 hours ago, Sonya* said:

We already use a semi-automatic solution to add random images to RSS output items, that do not have any image. ... When RSS output is created AND no image can be provided for the item, then a random image from those 100 is picked. 

Nice! Can you explain how you did it?

Share this comment


Link to comment
Share on other sites
3 hours ago, Matt said:

Yes, they are treated as normal uploads/attachments. We are not permitted to hotlink the images.

So this feature is for admin, not oriented for mass members.... 

Share this comment


Link to comment
Share on other sites
7 minutes ago, kmk said:

So this feature is for admin, not oriented for mass members.... 

It’s for everyone, as shown in the video, where it’s used for profile cover images for example. 

Share this comment


Link to comment
Share on other sites

It come with groups permission? And restrictions of areas? For example, I would like give all permission for admin group to use it in all areas, all others groups only with permission to use in profiles photo, covers areas, logo areas etc

Share this comment


Link to comment
Share on other sites
Just now, kmk said:

It come with groups permission? And restrictions of areas? For example, I would like give all permission for admin group to use it in all areas, all others groups only with permission to use in profiles photo, covers areas, logo areas etc

Of course, no, as happens in all other areas of the suite: everyone can upload.

Share this comment


Link to comment
Share on other sites
9 hours ago, Claudia999 said:

Nice! Can you explain how you did it?

It is a custom plugin that extends default RSS output. The plugin adds enclosure-tag to RSS output. If it is a database record, gallery image or post with image, it uses the embedded image. In case there no image can be found for the item, it looks in the media folder we have created via ACP. The folder contains about 100 random images. So the plugin picks randomly one of the images and add it to enclosure tag. No magic :rolleyes:

Share this comment


Link to comment
Share on other sites
21 hours ago, kmk said:

It come with groups permission? And restrictions of areas? For example, I would like give all permission for admin group to use it in all areas, all others groups only with permission to use in profiles photo, covers areas, logo areas etc

There are group permissions to control which groups can use the feature where there is an editor field.

For any other upload field (such as profile cover photos), the option is simply available if (1) this new feature is enabled and (2) the user can upload there.

The reality is, nothing stops a user from visiting pixabay, downloading the image, and then uploading it to your community - so the reality is, preventing users from using this feature in any area is really only making the work harder on your members. If they want to upload a pixabay image they can, so why not make it a smooth and easy process for them?

Share this comment


Link to comment
Share on other sites

How exactly will these images work? When selecting an free stock image from Pixabay, will it link back to the Pixabay website?

I'm asking this because don't want to turn my posts into free advertising backlinks.

Could you please elaborate? Thank you.

Share this comment


Link to comment
Share on other sites

 

2 minutes ago, Orioni said:

How exactly will these images work? When selecting an free stock image from Pixabay, will it link back to the Pixabay website?

I'm asking this because don't want to turn my posts into free advertising backlinks.

Could you please elaborate? Thank you.

Matt answer this already:)

 

On 1/21/2020 at 10:08 AM, Matt said:

Yes, they are treated as normal uploads/attachments. We are not permitted to hotlink the images.

Share this comment


Link to comment
Share on other sites
On 1/20/2020 at 6:33 PM, jair101 said:

Maybe it is nice to be able to distinguish between the personal and stock photos. Small pixabay logo in the corner or caption, something like that. I think as a reader I would want to know if a photo in a thread is a stock one. 

Yes, agreed - although restricting access to privileged groups (below) will at least prevent overuse.

4 hours ago, bfarber said:

There are group permissions to control which groups can use the feature where there is an editor field.

Nice job, looks like a fab feature. Glad it can be controlled though, maybe add daily/weekly etc usage limits in the next update to prevent eye candy overload.

Share this comment


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...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy