2017-10-08 28 views

回答

3

Entry.html部分你有這行呈現你的形象:

<f:image src="{item.falImage.uid}" treatIdAsReference="1" title="{item.falImage.originalResource.title}" alt="{item.falImage.originalResource.alternative}" width="{settings.maxwidth}" height="{settings.maxheight}" />

您可以在您的settings.maxwidthsettings.maxheight的TypoScript常量來獲得所需的行爲。

+0

然後顯示原始上傳文件 – Felix

+0

,我應該設置什麼值? – Felix

+0

在這裏看到我的答案https://stackoverflow.com/questions/47247205/typo3-flexslider-should-user-original-image-and-not-cropped-one 應該設置的值....好吧,那由你來決定什麼樣的價值看起來不錯。您必須設置一個值,該值看起來是重量和縮小圖像質量之間的良好折中。 –

相關問題