问题
In my TYPO3 7.6.4 when I set up a text & media content element and add a picture it is displayed too large, like its shown in the screenshot
Is there a possibility to fix that? and how?
回答1:
To make the image procession in TYPO3 work, make sure that
- you have installed either GraphicsMagick or Imagemagick on your system
- you put the correct path to the binary in
[GFX][im_path]
. E.g./usr/local/bin/
- you put
gm
orim6
into[GFX][im_version_5]
depending on what you are using. - you set
[GFX][image_processing]
to1
.
You can change these values in the install tool under "all configuration" in the GFX section.
You should also clear your processed images in the install tool ("Clean up" section) to make sure they are generated with an updated configuration:
Your image processing tests should look like this:
回答2:
Maybe your PHP is configured to not execute binarys on the server, so ImageMagick can't be launched.
Check "System evironment" in the install tool for some errors or check if the php setting disable_functions
containts exec
.
回答3:
if IM/GM is working well (install_tools test are ok) and the thumbnails in file list module are computed correct its the preview in the content elements.
Have a look at the preview definition of your content elements: is the HTML and CSS correct to show the image inside the preview area of that contentelement?
来源:https://stackoverflow.com/questions/37906979/typo3-backend-displaying-image-too-large