Actions
Bug #61933
closedf:image width and height are 0
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-09-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
I'm currently writing an extension that provides a field for images using FAL. If I pass that image to f:image that uses the same width/height configuration as the image is, the generated HTML has width and height both being 0.
Example:
Image is 300x200, ViewHelper is called this way: <f:image image="{image}" width="300" height="200" alt="x" />
.
The generated HTML is <img alt="x" src="/fileadmin/images/portfolio/tiles/adf.jpg" width="0" height="0">
Switching to GraphicsMagick does not resolve this.
identify
on that image says: adf.jpg JPEG 300x200 300x200+0+0 8-bit sRGB 22.2KB 0.000u 0:00.000
- OS: Fedora 20 (64 bit)
- TYPO3: 6.2.5
- PHP: 5.5.16
- ImageMagick: 6.8.6.3
- Imagick: 3.1.0
I have the same problem on a different machine (running CentOS) with default CE "Images" but I have to investige here more.
Actions