Closed (outdated)
Project:
Image Effects
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2017 at 07:08 UTC
Updated:
22 Dec 2025 at 10:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
christophedg commentedWould indeed be great to have these!
Comment #3
mondrakeComment #4
qzmenkoHello.
I added a new "border" effect.
Comment #5
tepelena commentedCan this be added to the module?
Comment #6
renrhaf+1 :)
Comment #7
griffincox commented+1 as well
Comment #8
griffincox commentedFor those of you that need circular images now, I was able to find a work around. See the attached screenshot for the end result (in the top-right)
1. Download and install Image Widget Crop. Follow the documentation to get it working. Make sure to note what dimensions you're using in your image style. I used 300px by 300px.
2. Download and install image_effects and apply the following effects:
Comment #9
qzmenko@tepelena, @Renrhaf, @griffincox
Guys, please add RTBC if patch works for you :)
Comment #10
mondrakeHi
1) it looks like this patch only implements borders. The issue title and summary need update.
2) @qzmenko and reviewers please review the patch based on the DEVELOPING.md file. First and foremost, no automated test are implemented.
3) Why this?
Please look at other classes implementations of this method. The only keys for the
$dimensionsarray are 'width' and 'height'. See https://api.drupal.org/api/drupal/core%21modules%21image%21src%21Entity%... also.Comment #11
mondrakeBy the way, what is the difference between this effect and a 'Set canvas' effect with relative size and defined color, like e.g.
Set canvas - Relative size: left: 3px right: 3px top: 3px bottom: 3px - Color: #FF8000?
Comment #12
beautifulmindThe short way is to use imagick instead:
https://drupal.org/project/imagick along with imagick extension, imagemagic binary and libmagicwand-dev
It offers rounded corner preset out of the box.
Overhead:
Once the image is processed, it will be used subsequently and will not be processed again henceforth, unless you change it.
Comment #13
mondrakeClosing any stale issue with latest comment over 5 years old.