contao/import — Issue #2468: Image left-padding display error  
Author: importer
Created: 2011-11-29 19:37:02+00:00
State: open
Labels: Defect, frontend, Invalid

If an image has a left-padding of 500px, this cause an error in the backend.
The Image has a size of 390x120px.

In the article-content summary, the preview-box for the image can't display the image.

And the following errors occurs on top of the backend-site.

```
Warning: imagecreatetruecolor(): Invalid image dimensions in /..../system/libraries/Controller.php on line 858
Warning: imagealphablending() expects parameter 1 to be resource, boolean given in /..../system/libraries/Controller.php on line 913

...
```

In the frontend everything works fine and the image is displayed without any problems.

--- _Originally created by baris on August 25th, 2010, at 12:18pm (ID 2468)_