Percentage height not working
Tony Sharpe - October 30, 2009 - 15:17
| Project: | Imagecache Effects |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm trying to set the reflection to a percentage but the integer is always interpreted as pixels. I'm using 50%

#1
Changing the regex in imageapi.inc (line 105) to the following sorts it:
if (preg_match('/^\d{1,3}%$/', $options['size'])) {