Bug #52977
closed
Images from template do not get a size (width and height)
Added by Anonymous about 11 years ago.
Updated almost 11 years ago.
Description
In template integrated images per typoscript (IMAGE) do not get any size im frontend. The output is always: 'width="" height="" '. This is a problem since beta1. In alpha3 it works.
Files
is the php module fileinfo loaded? if not, load it, restart server, clear sys_file_processed_file table, clear cache, retry.
oterhwise please some more infos about your system!
fileinfo is loaded. I cleared the cache and sys_file_processed_file table.
Then I did a new request. The result of sys_file_processed_file table and phpinfo is attached.
TypoScript
temp.ImageTop.10 = IMAGE
temp.ImageTop.10 {
file = {$relPathPrefix}images/pic_header_claim.png
params = class=claim
altText = Wir helfen hier und jetzt.
}
Result
<img src="fileadmin/templates/ASBv3/images/pic_header_claim.png" width="" height="" class="claim" alt="Wir helfen hier und jetzt." border="0" />
Which other information do you need?
- Status changed from New to Closed
- Target version deleted (
6.2.0)
- File deleted (
phpinfo.pdf)
Also available in: Atom
PDF