Closed (duplicate)
Project:
Imagecache Effects
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2011 at 17:56 UTC
Updated:
24 Oct 2012 at 07:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
rcaracaus commentedI am getting a black reflection even if I change the background color. After changing options in the imagecache_fx_reflect.inc file I still get black reflection only.
Comment #2
Sylense commentedsame
Comment #3
basicmagic.net commentedsubscribe
Comment #4
dropbydrop commentedAny progress on this?
Could it be ported to drupal 7?
Thanks
Comment #5
gregglesbetter metadata.
Comment #6
gregglesI meant to add that there is a Drupal 7 version of imagecache_actions available http://drupal.org/project/imagecache_actions which does similar things to this module (as far as I can tell it does everything, but I haven't reviewed in detail).
Comment #7
steffenrI just tried the module with imagecache_action in D7 and it's working fine for me.
For setting a shadow, you have to provide the correct color-values - you can look them up in imagecache_fx_reflect.inc function _imagecache_fx_reflect_colors()..
If you put in 0xFFFFFF as background-color you'll get a nice reflection to white. I think something is messed up with color-name-lookup in the module..
SteffenR
Comment #8
steffenrAs i mentioned before there was an error getting the correct color values for the names / hexadecimal values you entered into the field for background color.
Attached you'll find a working version of the module - including some documentation improvements and a check against coding standards.
Maybe we should add this action to imagecache_actions instead of leaving it as a single-mini-module..
Comment #9
fietserwinWe're going to try to add this effect to Imagecache actions module: see issue #1366668: Reflection action. Closing this one as a duplicate.