Bug #61933
closedf:image width and height are 0
0%
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.
Updated by Andreas Kienast about 10 years ago
Issue can be closed. I ran the "File Abstraction Layer: Update storage index" task in scheduler and now it works.