ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

Thumbnails like in Drupal

وضاحت

Take some thumbnail type (called here as preset) and cast available image effects on it to get expected size or view.

With this plugin you can:

  • change exists preset or create new one.
  • on upload image create only enabled preset thumbnails
  • disable unused presets
  • remove disabled or extra/trash thumbnails images
  • regenerate any preset thumbnail images (after change preset as ex.)

For each preset you can cast any of available effects to change thumbnail sizes or just desaturate it or something else..

تصوير

  • Main plugin page with all presets list, it effects and actions
  • Preset edit page. You can see thumbnail preview, all effects casted to preset and preset actions
  • Scale and crop effect parameters window

انسٽاليشن

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/wp-drupal-imagecache directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to plugin settings page and tune your presets and thumbnails

After enabling plugin, it create image in image library. It image critical needed for plugin for preview changes. Please do not remove it.

FAQ

Why I got problem after using plugin

Please note that main system preset large used as default when include in Gutenberg editor.
So if you disable large and delete all unused thumbnail your page can got broken image!
It that case just enable large and regenerate it thumbnails.

If I remove plugin image for preview by mistake

Just deactivate and activate plugin again. It create that image again.

How to add custom effects to plugin effects list

  1. Use filter wpdi_get_available_effects to add or remove effect from effects list
  2. Extend WPDI_Effects_Imagick and/or WPDI_Effects_GD plugin classes if you want to add custom effect
  3. Use wp_image_editors to replace plugin handlers with created in #2
  4. Use wpdi_make_preset_effect for set handler function name (optional), handle function with effect name by default
  5. Use wpdi_build_preset_effect for describe effect in presets linst (optional)

ps: You should use priority greater then in plugin (WPDI_Common::PLUGIN_HOOK_PRIORITY);

جائزا

8 آڪٽوبر 2020 1 reply
I’m a drupal developer and i like this module. Its really looks like a drupal image style with image effects. Big thumbs up for the developer of this module. Hope to enhance and improve this in the future.
واحد: سڀ 1 جائزو پڙهو

تعاون ڪندڙ & ڊولپرز

“Thumbnails like in Drupal” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

واحد: “Thumbnails like in Drupal” 1 لوڪل ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.

ترجمو ڪريو “Thumbnails like in Drupal” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

1.0

  • Basic functionality released.

1.0.1

  • Fix check for gd/imagick php extension. Now you can use plugin with only imagick or gd extension enabled

1.1

  • Add round corners image effect
  • Add flip & flop (reflect) image effect

1.1.1

  • Fix errors
  • Check 6.2 support

1.1.2

  • Fix errors