Project

General

Profile

Actions

Bug #77190

open

ImageMainpulation for SVG only scales but does not crop

Added by Sebastian Müller almost 8 years ago. Updated over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-07-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If image is uploaded, ImageManipulation button is displayed for all types defined in $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].

Text shown beside is:
Image manipulation is only available for supported types:
GIF, JPG, JPEG, TIF, TIFF, BMP, PCX, TGA, PNG, PDF, AI, SVG

When manipulating SVG, svg just gets an width and height property and therefore is scaled down in FE. (Could also be archived by Appearance -> Media Adjustments -> width/height). * Calculate new dimensions for SVG image * No cropping, if cropped info present image is scaled down

Wouldn't it be better if button is not displayed for PDF, AI and SVG and text shown next to button does not list $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] as "Image manipulation supported types" but something only listing supported types?


Files

pdf-in-textmedia.png (33.5 KB) pdf-in-textmedia.png Sebastian Müller, 2016-11-07 13:24
pdf-in-textmedia-page-module.png (29.4 KB) pdf-in-textmedia-page-module.png Sebastian Müller, 2016-11-07 13:24

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93942: Remove Imagecropping at SVG Files?Resolved2021-04-19

Actions
Actions

Also available in: Atom PDF