Changeset 3347913
- Timestamp:
- 08/21/2025 06:57:04 AM (7 months ago)
- Location:
- stockpack/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (3 diffs)
-
src/class-stockpackquery.php (modified) (1 diff)
-
stockpack.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
stockpack/trunk/readme.txt
r3312296 r3347913 3 3 Tags: stock images, adobe stock, unsplash, getty, istock, pixabay, pexels 4 4 Requires at least: 4.6 5 Tested up to: 6.8. 16 Stable tag: 3. 4.75 Tested up to: 6.8.2 6 Stable tag: 3.5.0 7 7 License: GPL 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 39 39 * Automatic caption fill in to be in line with licensing requirements 40 40 * Set custom filename prior to the upload 41 * Compatible with Gutenberg, [Elementor](https://elementor.com),[Bricks](https://bricksbuilder.io/), [Divi](https://www.elegantthemes.com/gallery/divi/), [Beaver Builder](https://www.wpbeaverbuilder.com), [Visual Composer](https://visualcomposer.com), [Avada Fusion Builder](https://theme-fusion.com/products/fusion-builder), [Oxygen Builder](https://oxygenbuilder.com), [WPBakery](https://wpbakery.com/), [Thrive Themes](https://thrivethemes.com/), 42 [Breakdance](https://breakdance.com/) 41 * Compatible with Gutenberg, [Elementor](https://elementor.com),[Bricks](https://bricksbuilder.io/), [Divi](https://www.elegantthemes.com/gallery/divi/), [Beaver Builder](https://www.wpbeaverbuilder.com), [Visual Composer](https://visualcomposer.com), [Avada Fusion Builder](https://theme-fusion.com/products/fusion-builder), [Oxygen Builder](https://oxygenbuilder.com), [WPBakery](https://wpbakery.com/), [Thrive Themes](https://thrivethemes.com/), [Breakdance](https://breakdance.com/) 43 42 * Compatible with [WPML](https://wpml.org) 44 43 * Featured image caption … … 134 133 135 134 == Changelog == 135 136 = 3.5.0 = 137 Add big image threshold compatibility with download (only supported by Unsplash) to reduce image size. 136 138 137 139 = 3.4.7 = -
stockpack/trunk/src/class-stockpackquery.php
r3151287 r3347913 306 306 do_action( 'stockpack_before_attachment_download', $provider,$new_filename, $media_id, $must_license ); 307 307 308 $big_image_threshold = (int) apply_filters( 'big_image_size_threshold', 2560, array( 0, 0 ), '', 0 ); 309 308 310 $image = $this->call( 'GET', 'images/download', 309 311 array( 310 312 'id' => $media_id, 311 313 'must_license' => $must_license, 312 'provider' => $provider 314 'provider' => $provider, 315 'min_width'=> $big_image_threshold, 316 'min_height'=> $big_image_threshold, 313 317 ) 314 318 ); -
stockpack/trunk/stockpack.php
r3312296 r3347913 6 6 * Author: Derikon Development 7 7 * Author URI: https://derikon.com/ 8 * Version:3. 4.78 * Version:3.5.0 9 9 * Text Domain: stockpack 10 10 * Domain Path: /languages
Note: See TracChangeset
for help on using the changeset viewer.