Following the upgrade to WordPress v5.5 this plugin causes conflicts on the New Post page not allowing slug editing and adding of Links. (Classic Editor PlugIn v1.6 is also present. Thank you for your attention.
]]>I got a notice from Pixsy stating that my use of an image from Flickr that I got via ImagineInject violated copyright. I looked up the image and it does show that it’s okay to use with attribution, which ImageInject did add to the caption field of the image, but I wanted to get some advice and feedback on this matter as I’m sure I won’t be the only person who runs into it.
]]>Is it possible to:
1) Add “Pixabay/Flickr” button in “Add New Post” interface like https://ps.w.org/pixabay-images/assets/screenshot-2.png?rev=1717044
This makes possible to set it as a featured image right away, see https://www.ads-software.com/plugins/flickr-pick-a-picture/
2) Show “Pixabay/Flickr” as a source when click “Add Media” button inside the editor:
https://ps.w.org/pixabay-images/assets/screenshot-3.jpg?rev=1717044
3) Always use the highest possible resolution (1280).
4) Add format for Caption string, e.g. want it to be “Photo: $user / Pixabay”.
Many thanks.
]]>Notice: Undefined index: test in /home/***/public_html/wp-content/plugins/wp-inject/wpinject.php on line 124
Notice: Undefined index: general_wpi_attr in /home/***/public_html/wp-content/plugins/wp-inject/wpinject.php on line 157
]]>Can I set the image inject settings on a network level so that its set already for everyone.
]]>When ImageInject version 1.16 was rolled out approximately 10 months or so ago, I found that it broke the use of the Flickr module by preventing the checkbox next to “Flickr” from being selected when hovering the mouse over the “Search” button.
In the support thread linked above which I created to report this issue, a few other users reported that rolling back the plugin to version 1.15 solved this problem. While I do have an (awesome) plugin named WP Rollback installed which has saved my bacon on more than on occasion by reversing a plugin update which broke my website, I wasn’t interested in rolling back to version 1.15 since in THAT version, the Pixabay search had never worked for me, always returning zero results.
However, one fellow user of ImageInject by the name of Bob Weber (@robertjw) commented on my original support thread regarding this issue stating that he had managed to successfully fix this issue by diving into the code in wpinject.php and removing an “IF” statement at line 381.
While I am a relative noob at coding, I thought I’d follow Bob’s lead and see if I could fix this issue once and for all. However, I found that line 381 in wpinject.php was empty, and Bob hadn’t provided any specific steps regarding what he had done specifically within the code.
I therefore did my best to decipher what was happening within the code, and tried editing and removing a few statements which I thought held potential for solving the issue, unsuccessfully. I finally hit the jackpot, and found a quick and easy code update which after comprehensive testing results in a restoration of the Flickr module usage without interfering with the (working) Pixabay module availability in version 1.16. Here’s what I did:
1) Navigate to your cPanel File Manager and search for the file “wpinject.php”
2) Download and save a copy of the existing file to your PC as a backup.
3) Open wpinject.php and scroll down to line 382, which should read as follows:
if(empty($moduledata["options"]["appid"]["value"]) && $module != "pixabay" {
4) Change this to read as follows, instead:
if(empty($moduledata["options"]["appid"]["value"]) && $module != "pixabay" && $module !="flickr") {
5) Save Changes and Exit
6) Test ImageInject via the WordPress Editor
7) Voila!
Testing after applying the above fix indicated that this solution works when using ImageInject to search Flickr module only, the Pixabay module only, or both modules simultaneously.
Note that I am still using WordPress version 4.9.8, as I did not want to deal with the major Gutenberg update that was rolled out with WP version 5.0. I cannot speak to the effectiveness of this fix on any other WP version other than the one I am currently using.
As mentioned above, I am only a rookie at coding and there may be a far more elegant solution to this problem. All I know is that the steps outlined above worked at fixing this issue for me, and wanted to share.
I will contact the developer directly and request that this solution be reviewed and a plugin update be considered to fix this element of the code for all users.
I’ve been bailed out more than once in the past with website and plugin performance issues by the contributions of other WordPress support forum users, and wanted to repay that debt in some small way by providing the specific steps I took to solve this issue. I hope others find it as useful as I!
Credit to Bob Weber (@robertjw) for pointing me in the right direction.
]]>Does Image Inject work at all anymore? seems to have given up the ghost entirely
]]>Flicker no longer works in this pluggin. It is grayed out could you tell us why its grayed out?
]]>Right, a couple of things –
1) The Flikr tab doesn’t work.
2) The attributes tab, link, or whatever doesn’t work.
Otherwise it’s fine (sarcasm)
]]>I haven’t attempted to use ImageInject directly in a week or two. Upon attempting to do so today I noted that I only have an option to filter for Pixabay results. I am unable to include Flickr results via the usual checkbox.
The “Flickr” option is hyperlinked and upon hovering over it displays this tooltip:
“click to go to the settings page and activate this module.”
However, there are no activate / deactivate options for the module in Settings, and I’ve made no changes to my previous setup. Anyone else experiencing this issue or know a way around it?
]]>Hello! I thought that I got a notice from one of the security services I subscribe to that ImageInject had been pulled from the plugin repository due to a problem (vulerability, hacked code, don’t remember). I deactivated it at that time.
Since then, I’ve gone back to see if I can find more information, including the original notice I received. I cannot find anything about it.
Are you aware of this? If so, can you say more about it? Obviously, the plugin is here, so perhaps I am completely wrong about this. But, before I reactivate it, I thought I’d ask. Thanks!
]]>Haven’t had your plugin installed for sometime, but using WebPageTest.org, the waterfall charge shows nearly 4 seconds taken to try to load
https://domainhere.gov/wp-content/plugins/wp-inject/images/cc.png
finally resulting a 404. I can’t see how this is happening if the plugin is not installed. Any ideas on this?
Thx.
]]>2 issues we need your help with.
Any help with this is much appreciated. We really like having this plugin.
]]>Hi,
You may already know about Unsplash as an image source. Images from Unsplash are free to use both privately and commercially. https://unsplash.com/license
Here is the URL for the API info: https://unsplash.com/developers
Cheers
]]>I am in the process of updating sites to php7 on Siteground. Their SG Optimizer runs a test on all plugins and advises which are ready for php7. ImageInject is listed as having issues.
Error message
plugins/wp-inject/api.class.php
———————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————
14 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————————————
I thought it would be helpful to send this on.
Take care
]]>https://codex.www.ads-software.com/Function_Reference/wp_iframe
]]>The plugin doesn’t work at all because there is JavaScript error: $().live is not a function.
All .live methods should be replaced with .on using Migration Example 2:
https://stackoverflow.com/questions/14354040/jquery-1-9-live-is-not-a-function
Image Inject is not working with divi theme. It is inject image on default editor but when i use divi builder then it is not working with it.
please suggest me how can i use this plugin with divi builder.
Thanks
Regards
Milan G
Hello,
I just passed in HTTPS my entire website using Let’s Encrypt; now if I use your plugin I get an HTTP not secured exception in Chrome / Firefox. When you pass in HTTPS your website, by the way, sometimes some images and URL can be hardcoded in HTTP and this may be negative for seeing green lock in browser for “secure HTTPS connection”.
Insecure URL seems to be injected by your plugin, maybe you need to change:
https://mywebsite.tld/wp-content/plugins/wp-inject/images/cc.png
URL in
https://mywebsite.tld/wp-content/plugins/wp-inject/images/cc.png
or giving chance to user to select and enable/disable HTTPS. This happens in single.php / articles pages.
Check tool used: https://www.whynopadlock.com/check.php
Example live URL: https://trovalost.it/2016/10/info-tld-guru/
Hope this would be useful for next plugin version ??
There are two errors in debugging mode on WP admin page
Notice: Undefined index: test in /storage/h4/023/984023/public_html/wp-content/plugins/wp-inject/wpinject.php on line 124
Notice: Undefined index: general_wpi_attr in /storage/h4/023/984023/public_html/wp-content/plugins/wp-inject/wpinject.php on line 155
]]>don’t know the coherences, but when ImIn is activated it intercepts the functionality of the Permalink plugin (https://de.www.ads-software.com/plugins/wp-category-permalink/).
-> that plugins allow to choose one category from several of a post by clicking on the category name while editing a post.
maybe a scripting issue?
Hi,
On my theme the featured image size is wider than 1024, making things… awkward.
Perhaps you would be interested to add a feature to let the user also add a custom pixel width value here?
I would also really appreciate any notes you might be willing to offer regarding a stop-gap/workaround solution for now.
Thanks much!
]]>When I’m trying to inject an image, I get:
flickr error: cURL Error Number 77: error setting certificate verify locations: CAfile: /wordpress/core/4.6.1/wp-content/plugins/wp-inject/cert/cacert.pem CApath: /etc/ssl/certs/
According to https://curl.haxx.se/libcurl/c/libcurl-errors.html :
– – – – –
CURLE_SSL_CACERT_BADFILE (77)
Problem with reading the SSL CA cert (path? access rights?)
– – – – –
At first I thought there was something wrong with my web host (Pressable), but they investigated this issue and came to the following conclusion:
– – – – –
The problem is that this plugin is trying to load the cert relative to ABSPATH.
With Pressable, ABSPATH only contains WordPress core files, and doesn’t include the plugin files.
CAfile: /wordpress/core/4.6.1/wp-content/plugins/wp-inject/cert/cacert.pem
This issue needs to be corrected by the plugin developer, as it is a design flaw.
They either need to use WP_PLUGIN_DIR or plugin_dir_path() or even better use the WordPress built in cacert bundle in wp-includes/certificates/ca-bundle.crt
It works on your other host only because most hosts have the plugins directory beneath ABSPATH, but not all hosts do.
Using WP_PLUGIN_DIR will guarantee compatibility with all path configuration across different hosts.
– – – – –
So posting this in the support forum because 1) I want to help others with the same problem 2) I do not know of any other way to submit a feature request to the developers of this plugin.
]]>after selecting featured image the image gets uploaded properly but the image is not set as featured.
]]>Once again, this plugin breaks on https websites. Useless.
You can search for images, and click the add featured button, which makes the image end up in the media library, but after that all functionality stops. The image is never added as the featured image and the plugin breaks the entire “featured image” functionality so that no featured images can be added at all.
]]>Hello,
I’ve noticed that when I insert picture into the post, it is saved with attribution in caption.
But when I use it as featured image, caption input is empty – that’s a shame, it would be very usefull to save attribution in image captions.
Is there any way in which I could make it work like this? I mean: to save image as featured image and save attribution information in wordpress caption at the same time?
]]>I just got finished giving this plug-in a 5-star rating – and am not in a mood to retract it, or my recommendations to others, but I happen to have just installed it on a development site with debug on, and have noted a very larger number of PHP Errors/Notices. I don’t know if they have anything to do with occasional functionality problems, but the main one, I suspect it gets repeated every time an image search is done, maybe on every item, is
Undefined offset: 0 in C:\xampp\htdocs\wordpressdev\wp-content\plugins\wp-inject\api.class.php on line 363
I’m also getting a smaller number of the following:
[15-Jun-2016 19:54:20 UTC] PHP Notice: Undefined index: pixabay in C:\xampp\htdocs\wordpressdev\wp-content\plugins\wp-inject\api.class.php on line 40
[15-Jun-2016 19:54:19 UTC] PHP Notice: Undefined variable: options in C:\xampp\htdocs\wordpressdev\wp-content\plugins\wp-inject\api.class.php on line 61
[15-Jun-2016 19:54:19 UTC] PHP Notice: Undefined index: json in C:\xampp\htdocs\wordpressdev\wp-content\plugins\wp-inject\api.class.php on line 278
[15-Jun-2016 19:54:20 UTC] PHP Notice: Undefined index: in C:\xampp\htdocs\wordpressdev\wp-content\plugins\wp-inject\api.class.php on line 185
also
[15-Jun-2016 19:52:44 UTC] PHP Notice: Undefined index: attr in C:\xampp\htdocs\wordpressdev\wp-content\plugins\wp-inject\wpdf_ajax.php on line 225
But mostly it’s that undefined offset notice: 1000s of them just today – with not a lot of usage!
]]>Unsplash has a large number of CC0 images for use anywhere.
Here’s their API info: https://unsplash.com/developers
]]>Hello!
first of all: thank you for this great plugin. I am absolutely going to advertise it in my blog.
now my question: In the settings I have chosen to display the attribution in the picture’s captions. This works fine for Flickr, but when adding Pixabay pictures, the caption remains empty. I know that Pixabay is public domain and it is not legally necessary to add an attribution for Pixabay photos. But I would like to support Pixabay by adding an attribution in the caption for Pixabay photos aswell.
Is there a way to customize the plugin, so that Pixabay attributions are made similarly to Flickr attributions. How would I have to edit the code? Even sweeter would it be, of course, to add a template tag {platform} which creates either the text “Flickr” or “Pixabay”.
Klaus
]]>https://www.ads-software.com/plugins/insights/screenshots/
Just to hear your opinion about merging this plugin with your ?
Or you borrowing code from this plugin and credit developer.
Doesnt need extra exlanation.
]]>