Title: Thumbnails like in Drupal
Author: stasionok
Published: <strong>31. januar, 2020</strong>
Last modified: 3. juli, 2023

---

Søg plugins

![](https://ps.w.org/wp-drupal-imagecache/assets/banner-772x250.png?rev=2236210)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/wp-drupal-imagecache/assets/icon-256x256.png?rev=2236210)

# Thumbnails like in Drupal

 Af [stasionok](https://profiles.wordpress.org/stasionok/)

[Download](https://downloads.wordpress.org/plugin/wp-drupal-imagecache.1.1.2.zip)

 * [Detaljer](https://da.wordpress.org/plugins/wp-drupal-imagecache/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wp-drupal-imagecache/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wp-drupal-imagecache/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wp-drupal-imagecache/#developers)

 [Support](https://wordpress.org/support/plugin/wp-drupal-imagecache/)

## Beskrivelse

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..

## Skærmbilleder

[⌊Main plugin page with all presets list, it effects and actions⌉⌊Main plugin page
with all presets list, it effects and actions⌉[

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⌉⌊Preset edit page. You can see thumbnail preview, all effects
casted to preset and preset actions⌉[

Preset edit page. You can see thumbnail preview, all effects casted to preset and
preset actions

[⌊Scale and crop effect parameters window⌉⌊Scale and crop effect parameters window⌉[

Scale and crop effect parameters window

## Installation

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);

## Anmeldelser

![](https://secure.gravatar.com/avatar/dc876ea23541d407ae8a11ffd83f6ca35e0d42fc818aea8e7039d38f85600be6?
s=60&d=retro&r=g)

### 󠀁[This really looks like image style of drupal](https://wordpress.org/support/topic/this-really-looks-like-image-style-of-drupal/)󠁿

 [Jayson Garcia](https://profiles.wordpress.org/hallowichig0/) 8. oktober, 2020 
1 svar

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.

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/wp-drupal-imagecache/reviews/)

## Bidragsydere & udviklere

“Thumbnails like in Drupal” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ stasionok ](https://profiles.wordpress.org/stasionok/)

“Thumbnails like in Drupal” er blevet oversat til 1 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/wp-drupal-imagecache/contributors)
for deres bidrag.

[Oversæt “Thumbnails like in Drupal” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wp-drupal-imagecache)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wp-drupal-imagecache/),
tjek [SVN repository](https://plugins.svn.wordpress.org/wp-drupal-imagecache/), 
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/wp-drupal-imagecache/)
via [RSS](https://plugins.trac.wordpress.org/log/wp-drupal-imagecache/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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

## Meta

 *  Version **1.1.2**
 *  Senest opdateret **3 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 5.3 eller højere **
 *  Testet op til **6.2.9**
 *  PHP-version ** 7.0 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/wp-drupal-imagecache/) og [Russian](https://ru.wordpress.org/plugins/wp-drupal-imagecache/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/wp-drupal-imagecache)
 * Tags
 * [drupal](https://da.wordpress.org/plugins/tags/drupal/)[image](https://da.wordpress.org/plugins/tags/image/)
   [image effect](https://da.wordpress.org/plugins/tags/image-effect/)[regenerate](https://da.wordpress.org/plugins/tags/regenerate/)
   [thumbnail](https://da.wordpress.org/plugins/tags/thumbnail/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wp-drupal-imagecache/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/wp-drupal-imagecache/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-drupal-imagecache/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-drupal-imagecache/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-drupal-imagecache/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-drupal-imagecache/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-drupal-imagecache/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/wp-drupal-imagecache/reviews/)

## Bidragsydere

 *   [ stasionok ](https://profiles.wordpress.org/stasionok/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/wp-drupal-imagecache/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://web-marshal.ru/wordpress-thumbnails-like-in-drupal/)