[gelöst] Ecken abrunden ImageCache
am 19.08.2010 - 14:05 Uhr in
Gibt es eine Möglichkeit mit einem Tool oder direkt in ImageCache die Ecken der Bilder eines bestimmten presets abzurunden??
- Anmelden oder Registrieren um Kommentare zu schreiben
Gibt es eine Möglichkeit mit einem Tool oder direkt in ImageCache die Ecken der Bilder eines bestimmten presets abzurunden??
Beiträge im Forum: 250233
Registrierte User: 20451
Neue User:
| wla | 9461 |
| stBorchert | 6003 |
| quiptime | 4972 |
| Tobias Bähr | 4019 |
| bv | 3924 |
| ronald | 3857 |
| md | 3717 |
| Thoor | 3678 |
| Alexander Langer | 3416 |
| Exterior | 2903 |
Ich vermute, das hier ist
am 19.08.2010 - 14:16 Uhr
Ich vermute, das hier ist das, wonach du suchst: ImageCache Actions
This package provides a suite of additional processes that can be added to the imagecache pipeline, including:
[...]
Rounded corners (transparent). With input from canaryMason, we can even set different radius for different corners, and round just one corner etc.
[...]
Und wie so oft verweise ich
am 19.08.2010 - 14:17 Uhr
Und wie so oft verweise ich beim Thema ImageCache Presets mal auf Michis Blog:
http://www.redpanda.ch/drupal/verschiedene-imagecache-presets.html
Danach habe ich gesucht.
am 19.08.2010 - 15:06 Uhr
Danach habe ich gesucht. Vielen Dank!
Runde Ecken funktionieren leider nur mit GD2. Ich habe für mich ohnehin keine Verbesserungen durch ImageMagick feststellen können. Also dann eben GD2
Du könntest dir selbst ein
am 19.08.2010 - 15:03 Uhr
Du könntest dir selbst ein kleines Bild mit runden Ecken und transparentem Inhalt erstellen und dieses dann über das andere Bild drüber legen.
Also spontan fällt mir nur ein, dass ImageCache ärger macht, wenn CleanURLs nicht eingeschaltet sind (d. h. IC hätte gerne CleanURLs) und IC verträgt sich manchmal nicht mit der privaten Download-Methode.
Der Server muss eine neue
am 19.08.2010 - 15:07 Uhr
Der Server muss eine neue Version der GD2 Lib haben um alle Effekte nutzen zu können. Wenn im Status Report etwas in der Art steht:
"The GD Library for PHP is enabled, but was compiled without support for functions used by the rotate and desaturate effects. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See the PHP manual."
"The installed version of PHP GD does not support image filtering(desaturate, blur, negate, etc). It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See http://www.php.net/manual/en/image.setup.php. An implementation of imagefilter in PHP will be used in the interim."
"The installed version of PHP GD does not support image rotations. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See: http://www.php.net/manual/en/image.setup.php. An implementation of imagerotate in PHP will used in the interim."
muss der Admin ran...
Ne habe ich schon gelöst. Man
am 19.08.2010 - 15:09 Uhr
Ne habe ich schon gelöst. Man muss einen Canvas (Hintergrund) anlegen. Dann klappt alles bestens mit GD2.