Square Wheels Posted September 16, 2020 Posted September 16, 2020 Someone on my site went to Other Media --> Insert a stock photo and started typing racoon. After they typed just two letters ra a nude woman pic came up. Happened here too. I see in Giphy we can limit pics by rating. How do we limit Stock Photos? I do not allow any nudity on my sites. Thanks CoffeeCake 1
CoffeeCake Posted September 16, 2020 Posted September 16, 2020 (edited) According to the Pixabay API documentation, there's a "safesearch" parameter: Quote safesearch bool A flag indicating that only images suitable for all ages should be returned. Accepted values: "true", "false" Default: "false" It defaults to "false." This would be a nice option the configuration of the integration. Edited September 16, 2020 by Paul E.
Duken Posted September 16, 2020 Posted September 16, 2020 (edited) .... Everyone searching "ra" now 🙂 Its a new feature in 4.5 😉 Edited September 16, 2020 by Duken The Old Man 1
CoffeeCake Posted September 16, 2020 Posted September 16, 2020 While we're adding options to the "Community enhancement," lang should be considered to add for the benefit of those non-English speaking communities. 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" kmk 1
LoPoSt Posted September 16, 2020 Posted September 16, 2020 discussed here - https://invisioncommunity.com/forums/topic/458100-pixabay-language/ CoffeeCake 1
John T Davis Posted September 17, 2020 Posted September 17, 2020 Just to clarify, is this an add-on? I don't see an option for stock photography in default 4.5.
CoffeeCake Posted September 17, 2020 Posted September 17, 2020 15 minutes ago, John T Davis said: Just to clarify, is this an add-on? I don't see an option for stock photography in default 4.5. ACP > System > Community Enhancements > Pixabay John T Davis 1
CoffeeCake Posted September 17, 2020 Posted September 17, 2020 (edited) I threw this plugin together. Use at your own risk. It inserts the safesearch = true parameter into the API call (assuming Pixabay integration is turned on). This could be extended by whomever to add language as well. Thanks to @bfarber for the "hard way" clue. Temporary Fix to Enable Safesearch for Pixabay.xml Edited September 18, 2020 by Paul E.
Mark Posted September 18, 2020 Posted September 18, 2020 Thanks for letting us know - we'll get that fixed 👍 Square Wheels, The Old Man and xtech 1 2
xtech Posted September 18, 2020 Posted September 18, 2020 Btw: how hard is to get approval from Pixabay? I've applied for it yesterday, still no answer from them.
Square Wheels Posted September 18, 2020 Author Posted September 18, 2020 55 minutes ago, xtech said: Btw: how hard is to get approval from Pixabay? I've applied for it yesterday, still no answer from them. Not sure, mine was instant. xtech 1
CoffeeCake Posted September 18, 2020 Posted September 18, 2020 4 hours ago, xtech said: Btw: how hard is to get approval from Pixabay? I've applied for it yesterday, still no answer from them. It's a bit confusing. There is an application process, but you don't need to do that for this integration. When you go to the page linked in the ACP and create an account, it has what appears to be a sample API key embedded in that page, but that's your actual key. It took like three cups of coffee for me to figure out what was going on there. Duken 1
Management Matt Posted September 18, 2020 Management Posted September 18, 2020 Pixabay does make it a little odd, but all you need is the key, which is only shown in the documentation page. We'll sort out the safe search option for 4.5.3. Square Wheels 1
CoffeeCake Posted September 18, 2020 Posted September 18, 2020 @xtech: here's a screenshot of where you can find the key on the documentation page (linked from ACP > Settings > Community Enhancements > Pixabay > Configure). After you create an account/login, which has no approval process, you'll see a value in the green box in the Parameters listing under API. That's the actual API key for you. I've pixelated it in the screenshot below. There's no obvious HERE'S YOUR API KEY call out. 21 minutes ago, Matt said: We'll sort out the safe search option for 4.5.3. If you could add another option that returns only the naughty stuff, that would be appreciated. Please enable said option here. I understand that's not an option with the Pixabay API, but I'm confident you'll find a way. Thanks. 🤓 Matt, Duken and xtech 1 2
xtech Posted September 18, 2020 Posted September 18, 2020 1 hour ago, Paul E. said: @xtech: here's a screenshot of where you can find the key on the documentation page (linked from ACP > Settings > Community Enhancements > Pixabay > Configure). After you create an account/login, which has no approval process, you'll see a value in the green box in the Parameters listing under API. That's the actual API key for you. I've pixelated it in the screenshot below. Thank you a lot!! My eyes had automatically igrnored that green API key box... I thought i needed to click:
CoffeeCake Posted September 18, 2020 Posted September 18, 2020 1 minute ago, xtech said: Thank you a lot!! My eyes had automatically igrnored that green API key box... Did the same thing. It's only visible after the third cup of coffee. xtech 1
ahc Posted September 19, 2020 Posted September 19, 2020 Since when is all nudity classed as porn? 😆 Even with a safe search filter, there will be nudity. Straightbourbon 1
CoffeeCake Posted September 22, 2020 Posted September 22, 2020 On 9/17/2020 at 5:46 PM, Paul E. said: I threw this plugin together. Use at your own risk. It inserts the safesearch = true parameter into the API call (assuming Pixabay integration is turned on). This could be extended by whomever to add language as well. Thanks to @bfarber for the "hard way" clue. Temporary Fix to Enable Safesearch for Pixabay.xml 1.52 kB · 5 downloads FYI, this is no longer needed as of 4.5.3+. It won't break anything, yet is now a configurable option in the ACP > Community Enhancements > Pixabay Matt 1
Management Matt Posted September 23, 2020 Management Posted September 23, 2020 On 9/19/2020 at 1:33 AM, ahc said: Since when is all nudity classed as porn? 😆 Even with a safe search filter, there will be nudity. Absolutely, art has always used nudes to depict the human form. Still a bit of a surprise when you're looking for photos of coffee. 😂😂😂 As Paul mentioned, 4.5.3 adds a safe search option (on by default). It won't catch everything, but it'll reduce the chances your kids will spot you surfing for naked pictures on your forum. Square Wheels 1
Recommended Posts