Hi
A few times in the forums, I’ve seen people ask how to output the manipulated version of image uploads to file fields. (In a channel:entries tag, not in file:entries tag). The popular solution seems to be:
{main_image}
{path}_small/{filename}.{extension}
{/main_image}
That works ok as long as a file has been uploaded. But if that field is left empty, I get errors like this:
A PHP Error was encountered
Severity: Warning
Message: array_merge() [function.array-merge]: Argument #1 is not an array
Filename: libraries/Functions.php
Line Number: 2585
Admittedly only super admins see these, but I’d rather no-one did!
Is there an ETA on a simpler way to output manipulated images? Seems like image manipulations have been part of EE for some time now but still aren’t fully working… Or might there be a fix for these errors?
Thanks loads, Frank