StockPack
Forum Replies Created
-
Hi @arypneta we have actually had more filters in the past, but we’ve removed them as the UI was hard to manage at that point and filters weren’t used a lot.
We might add them back in the future, for example as “landscape:query”, in the meantime if you want to exclude generative AI please reach out trough the form on the website so that we can identify your account and apply the filter:
https://stockpack.co/contactThank you for the awesome suggestions and the kind words!
@arypneta I have added the filter, here's an example on how to use it:
add_filter('stockpack_attachment_filename', 'add_custom_filename', 10, 2);
function add_custom_filename( $filename, $image ) {
/**
* {
* "id": 195254766,
* "provider": "adobe_stock",
* "description": "Morning tea waiting in the kitchen",
* "url": "https:\/\/as2.ftcdn.net\/v2\/jpg\/01\/95\/25\/47\/500_F_195254766_DY0j0rMq4CvRgaTHPeQHWSSiVGF502Z4.jpg",
* "download": "https:\/\/as2.ftcdn.net\/v2\/jpg\/01\/95\/25\/47\/1000_F_195254766_DY0j0rMq4CvRgaTHPeQHWSSiVGF502Z4.jpg",
* "sizes": {
* "full": {
* "height": 667,
* "width": 1000,
* "orientation": "landscape",
* "url": "https:\/\/as2.ftcdn.net\/v2\/jpg\/01\/95\/25\/47\/1000_F_195254766_DY0j0rMq4CvRgaTHPeQHWSSiVGF502Z4.jpg"
* },
* "medium": {
* "height": 333,
* "width": 500,
* "orientation": "landscape",
* "url": "https:\/\/as2.ftcdn.net\/v2\/jpg\/01\/95\/25\/47\/500_F_195254766_DY0j0rMq4CvRgaTHPeQHWSSiVGF502Z4.jpg"
* },
* "thumbnail": {
* "height": 147,
* "width": 220,
* "orientation": "landscape",
* "url": "https:\/\/as2.ftcdn.net\/jpg\/01\/95\/25\/47\/220_F_195254766_DY0j0rMq4CvRgaTHPeQHWSSiVGF502Z4.jpg"
* }
* }
*/
return 'custom_filename_'.$image->id . $filename;
}It was indeed a surprise that I haven’t added a filter directly for the filename, I will add that with the next release.
Thank you!
StockpackHi @arypneta the easiest way would be to rename it after it is created via the following action
do_action( 'stockpack_after_attachment_uploaded', $attach_id, $image );
This runs right after download, let me know if this works for you,
Thank you,
StockpackHi there, I think switching between accounts might have played a part. Adobe stock is still looking into the issue, but if we do not get a resolve by the end of this quarter we will look into implementing a notification, the standard expiration date that we get is 14 days, so a reminder every 12 days or so would make it less likely that content editors are unable to license images.
Thank you,
StockpackHi @arypneta, we didn’t change something on the application, but this is something that adobe stock controls. I have checked the expiration date they provide and its still 14 days, but they might require reconnecting sooner.
Unfortunately they are not willing to allow for longer periods of time and sometimes they disconnect the user faster for security reasons. There’s some info on this topic here: https://experienceleaguecommunities.adobe.com/t5/adobe-developer-questions/not-getting-refresh-token-after-login/td-p/599762
We are discussing the topic with them, but they haven’t yet decided to extend the period of time for how long they allow the refresh token.
If you continue to have issues, please let me know and perhaps we can discuss it directly with their support.Thank you!
Forum: Reviews
In reply to: [StockPack – Stock photos from Unsplash, Adobe Stock and more] Doesn’t workHi @zevendesign the plugin adds a tab on the media library popup. If the tab is missing for you while the plugin is active, please copy the information from Debug tab under Settings -> Debug
Thank you,
StockpackForum: Plugins
In reply to: [StockPack – Stock photos from Unsplash, Adobe Stock and more] Critical ErrorHi there, the latest version 3.3.6 should fix this issue. Thank you for the report.
I am closing the ticket, but feel free to reopen if you still have issues.
Thank you!
We’re going to add Openverse, but we do not have an ETA at this time unfortunately.
Forum: Reviews
In reply to: [StockPack – Stock photos from Unsplash, Adobe Stock and more] AMAZINGWe’re glad that you like it!
Thank you for the kind words, we’re glad you like it ??
This turned out to be an issue with an Elementor addon, and has been fixed. If anyone else gets here and has a similar issue, please contact support at https://stockpack.co/contact if the issue does not go away after updating to the latest version.
This seems to be working in our tests: https://share.getcloudapp.com/2Nu5R5w8 , please reach out via the https://stockpack.co/contact form and I can have a closer look at your situation.
Hi @cavalierlife the latest version of the plugin should have fixed this issue. Did you try with the latest version?