Skip to content
/ typo3 Public

The pixx.io Typo3 Extension allows pixx.io users to select the assets directly from their mediaspace.

Notifications You must be signed in to change notification settings

pixx-io/typo3

Repository files navigation

pixx.io TYPO3 Extension

The pixx.io Typo3 Extension allows pixx.io users to select the assets directly from their mediaspace.

Key Features:

  • Select your assets from you pixx.io Mediaspace
  • Sync your assets and metadata from pixx.io Mediaspace
  • Includes Proxy support
  • Works with the popular core extension: typo3/filemetadata

Installation:

The installation of the extension is straight forward. Type composer req pixxio/pixxio-extension for installation. ext-curl is installed automatically, if not already installed. After the successful installation go to Maintenance -> Analyze Database and apply the changes that are related to the pixxio_extension.

If there are problems with curl on your server and the files are not transferred, you can make sure that allow_url_fopen = On is set in your php.ini. With that configuration curl is not used but file_get_contents.

Configuration:

To get the extension complete expierence, you have to do some settings first. Go to Settings > Extension configuration and select pixxio_extension. You have four configuration categories Basic, Metadata, Sync and Proxy:

Basic

For Sync Actions it is necessary to set the URL of your mediaspace and refresh token (The refresh token is accessible in pixx.io under the Settings -> User -> Edit a User and go to App Connections).

The File Storage ID is an optional setting. You can choose a Storage ID, where you would like to upload and store the pixx.io assets. You can also define a subfolder if you wish.

Metadata

It's possible to sync the alt text. Therefore you have to define the name of the metadata, which you would like to synchronize.

Sync

In Sync you can define behaviors that should be done during a running sync.

Delete: If a file is deleted in pixx.io, it will be deleted in typo3 as well if the flag is set. If not it will decouple the file from pixx.io.

Update: If you use the version feature of pixx.io you be able to update the main version of a file. If the flag ist set the sync will replace files that aren't the main version to their new main version.

Limit: You can define a limit from 1 to 50. This limit defines the amount of files that should be checked through a single sync run.

Proxy Settings:

You be able to run the pixx.io connection via a proxy. Therefore you have to set in the extension configuration under the tab "Proxy" the flag “use_proxy” and add a valid connection string to the “proxy_connection”. The proxy URL can have this schema http(s)://username:password@host:port . It’s not necessary to add a username or a password, but you should add the host and port for the connection.

Hide select button

You can hide the "Select from pixx.io" button for backend users and backend user groups. Do do so, just add a user setting:

setup.override.show_pixxioUpload=0

Works with

filemetadata

If you are using the core extension filemetadata it will sync more metadata to typo3 from pixx.io. The mapping of the metadata is defined like this:

Mapping from pixx.io to TYPO3

  • Title / Titel (Type: Internal) => Download Name
  • Description / Beschreibung (Type: Internal) => Description and Caption
  • Rating / Bewertung (Type: Internal) => Ranking
  • Keywords / Schlagwörter => Keywords
  • Creator / Ersteller (Type: Internal) => Creator
  • Model / Model (Type: EXIF) => Creator Tool
  • Publisher / Publisher (Type: IPTC) => Publisher
  • Source / Quelle (Type: IPTC) => Source
  • Copyright Notice / Copyright-Vermerk (Type: IPTC) => Copyright
  • GPS / GPS (Type: Internal) => GPS Latitude und GPS Longitude
  • Country (Type: Custom) => Country
  • Region (Type: Custom) => Region
  • City / Stadt (Type: IPTC) => City
  • Date created / Erstellungsdatum (Type: Internal) => Content Creation Date
  • Zuletzt bearbeitet (Type: Internal) => Content Modification Date
  • ModifyDate / Farbraum (Type: Internal) => Color Space

ChangeLog

2.0.2

  • Bugfix for TYPO3 >= 12.4.3 in Controller/FilesControlContainer.php (FileExtensionFilter)

2.0.3

  • Fix bugs to support multiple image fields