This module adds an image-style which crops an image when the image dimensions are larger then the given dimensions.
In contrary to the core image style crop only one dimension is required.

Project page:
https://www.drupal.org/sandbox/mallezie/2403061

Pareview
http://pareview.sh/pareview/httpgitdrupalorgsandboxmallezie2403061git

Git clone
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/mallezie/2403061.git

Manual review of other modules:
Civicrm reroute email: https://www.drupal.org/node/2441665

Comments

mallezie’s picture

Status: Active » Needs review
arunmv’s picture

Status: Needs review » Needs work

HI Tim,

I have downloaded and installed the module and tried to create a new Maximum size crop effect in an image style. But it showed me a blank page. On reviewing the code I found that the function 'image_dimensions_max_resize' called in line 87 of the module file is not defined. When i commented the line 87, it is working fine.

Please fix this issue.

mallezie’s picture

Status: Needs work » Needs review

I've must overlooked that rename when cleaning up the code. This is fixed now.

PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

nesta_’s picture

We can see a shadow in the image

mallezie’s picture

nguerrero, could you provide some more info?
I assume you're image already has this shadow?

nesta_’s picture

Yes Yes, sorry, i try and is ok! Good job!

Thanks!!!

nesta_’s picture

I have reviewed both the configuration part as .module code, all is well structured and functioning as expected.

RTBC +1

mallezie’s picture

@nguerrero: Thank you for the review. If all seems fine you can mark the status to RTBC.

nesta_’s picture

Status: Needs review » Reviewed & tested by the community

I'm back to review it and used all configuration options, placing the crop in the 9 radio buttons and making maximization and perfect crop.

mallezie’s picture

Issue summary: View changes
cweagans’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your contribution!

I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

mallezie’s picture

Thank you for the review, and accepting the application! You just made my day!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.