Extend and customize Drupal functionality with contributed modules.
If a module doesn't quite do what you want it to do, if you find a bug or have a suggestion, then join forces and help the module maintainer. Or, share your own by starting a new module.
Make your images responsive by defining rules for switching ImageCache presets based on CSS media queries.
This module allows administrators to define rules that replace one ImageCache preset by another when a media query is being evaluated. On content load and viewport resize all the defined rules will be evaluated and image src attributes will be replaced to point to the correct imagecache preset. While there are better alternatives for implementing responsive images this works well for quick & dirty replacements with minimal configuration.
This for now is just a proof of concept. I have looked at how it has been successfully integrated with wysiwyg editors but I needed to use it in a way that would not have been easy to do with all of the code bundled in one field.
My specific use case was to use the relate module to like node of a certain content type and allow a guided search of image maps for you to navigate the assemblies of products.
Move files from one file system scheme (e.g., public://) to another (e.g., s3://) during cron runs, using queues. Supports checking dependencies (like whether image style derivatives or converted videos exist) before moving files.
The main goal is to allow image and video files to be processed on the local public:// system for performance, and then moved at a later time to Amazon S3 where storage is cheaper and more abundant. But theoretically it could be used to move files to any other file system scheme so long as you have a stream wrapper implementation for it.
Drupal has a very powerful image manipulation UI, so why write code when we can easily use that for any purpose?! The problem is we can't! The reason is image manipulation UI only accepts one argument which is the source image. All other parameters and options are static. For example if you want to put the source image behind a frame you can, but if you want to dynamically change frame's image you either have to make new preset/style for each different frame or write a custom special action.
This module adds a couple of custom functions for media_youtube:
1. A custom formatter for colorbox integration, this allows the creation of a youtube thumbnail when clicked bring up a colorbox overlay with the video. The video size, etc can be customized through the field display settings.
2. A custom youtube thumbnail option in media file adding form. This allows the youtube thumbnail to be a custom image.
This module adds an image effect (for use in image styles) that allows scaling based on the total number of square pixels in an image (as calculated by multiplying the width and the height). The original aspect ratio of the image is maintained.
This module is useful in cases where images of varying aspect ratios (such as logos) will be displayed together and should have apparent sizes more similar than the basic scale effect can provide.