Class Style Filter provides an input filter that allows WYSIWYG embedded images to be restyled using Drupal's Image Styles functionality, rather than forcing the content editor to upload scaled/cropped images. This also means design decisions regarding thumbnail sizes for embedded files may be easily changed later (by simply updating the image style) without having to re-edit existing nodes.
It also provides some "glue" support for modules like Lightbox2. The module can apply CLASS and REL tags to the image and/or a link wrapper to the original file that Lightbox2 can use when displaying galleries.
This is a Drupal 7 module:
http://drupal.org/sandbox/crobinson/1549868
Reviews of other projects
Update: I'm not trying to toot my own horn here or anything but I wasn't sure if you were using these links for any kind of automated stats tools. Hopefully these help:
http://drupal.org/node/1359516#comment-5945870
http://drupal.org/node/1336934#comment-5946550
http://drupal.org/node/1434388#comment-5946322
http://drupal.org/node/1331090#comment-5946072 (short, will revisit later)
http://drupal.org/node/1397868#comment-5945988
http://drupal.org/node/1453964#comment-5936854
http://drupal.org/node/1551434#comment-5934682
http://drupal.org/node/1247778#comment-5933618
http://drupal.org/node/1535540#comment-5933536
http://drupal.org/node/1410514#comment-5932722
Might be missing one or two. I'm on fire here, will keep going.
Comments
Comment #1
patrickd commentedwelcome,
You are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Please create a README.txt that follows the guidelines for in-project documentation.
while waiting for an in-depht review of your module you can start out fixing some coding style issues detected by automated tools:
http://ventral.org/pareview/httpgitdrupalorgsandboxcrobinson1549868git
We do really need more hands in the application queue and highly recommend to get a review bonus so we can come back to your application sooner.
regards
Comment #2
crobinson commentedThanks, Patrick. I'll work on these this weekend and do code review on some other modules as well.
Comment #3
crobinson commentedI have addressed the comments mentioned above, fixed one or two things I found myself, and performed three reviews of other modules. If you have a minute, can you take a look at the reviews I did and make sure they fit the guidelines of what you're looking for in a review? I'm on a roll here but I don't want to go too crazy if I'm being too nit-picky or not nit-picky enough!
http://drupal.org/node/1247778#comment-5933618
http://drupal.org/node/1535540#comment-5933536
http://drupal.org/node/1410514#comment-5932722
Comment #4
targoo commentedHi
You have got two readme files ;-) (README.md and README.txt)
Comment #5
crobinson commentedThat's right. One is a Markdown file because the project is currently on Github. I'll remove it once it's approved as a Drupal project. (But in any event, I don't believe this is forbidden by the guidelines.)
Comment #6
traviscarden commentedCoding style looks good. Here are a few other comments:
git push origin :master. (Note the colon.)sites/all/files/test.jpginto one forhttp://d7.dev/sites/default/files/styles/thumbnail/public/tes/default/files/test.jpg. I don't know whether that's a bug in the module or a configuration error on my part. If it's a configuration error, there may be some deficiency in the README.Comment #7
crobinson commentedWould you please supply your configuration with your issue report? It's hard to diagnose without know how you set it up. I was unable to reproduce your error.
I believe I addressed the other points.
Comment #8
crobinson commentedSide note, regarding the master branch and re: http://drupal.org/node/1127732. It is currently not possible to delete the master branch for a sandbox project because you get an error when doing the "git push origin :master" about deleting the current branch being prohibited, despite being locally on 7.x-1.x. This is because the Drupal remote's HEAD is on master still, and cannot be changed within going to the configuration screen noted in the discussion above. But this screen is not available in Sandbox projects. I'll take care of it after approval.
Comment #9
klausiPlease add your review to the issue summary as outlined in #1410826: [META] Review bonus.
manual review:
Otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #10
patrickd commentedLooks good, maybe remove that temporary (?) README.md file with "git rm" and add it to gitignore.
Thanks for your contribution and welcome to the community of project contributors on drupal.org!
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
Thanks, also, for your patience with the review process and for your help in the application queue! 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.
As you continue to work on your module, keep in mind: Commit messages - providing history and credit and Release naming conventions.
Thanks to the dedicated reviewer(s) as well.
Comment #11.0
(not verified) commentedAdd review comment links.