Project

General

Profile

Actions

Task #55447

closed

Epic #55070: Workpackages

Epic #54260: WP: FAL Missing Issues / Features / API

Story #54270: As an User I need to upgrade from pre-FAL or DAM Installations

RTE magic images should be migrated to processed files

Added by Stanislas Rolland over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2014-01-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The current RTE magic images migration script goes through the reference index looking for files with the "old prefix" ($GLOBALS['TYPO3_CONF_VARS']['BE']['RTE_imageStorageDir'] . 'RTEmagicC_'). It moves/renames the image file and creates a file object in the default storage.

This is fine, except that the image cannot really be considered "magic" anymore, because the reference to any original image is lost. Before 6.0, a copy of the original image was created in the same folder as the magic image. It was prefixed 'RTEmagicP_' instead of 'RTEmagicC_', the rest of the name being identical. If the dimensions of the magic image were edited, a new magic image with the new dimensions could be created from this copy of the original image.

The migration script should be modified in order to create both a file object for the copy of the original image, and a processed file object for the magic image itself. This way, the dimensions of the magic image could be edited and the copy of the original image could be reprocessed to the new dimensions.

Actions #1

Updated by Steffen Ritter about 10 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Benni Mack over 9 years ago

  • Status changed from Accepted to Closed

not part of the core. there are a few extensions that do the job.

Actions

Also available in: Atom PDF