DEPRECATION WARNING

This documentation is not using the current rendering mechanism and will be deleted by December 31st, 2020. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

TypoScript Setup

CSS

To remove the default css of the extension (responsive css too), add this line to your setup:

plugin.tx_jhpdfviewer._CSS_DEFAULT_STYLE >

Magnific Popup

If you want to change the size of the images in Magnific Popup, the default size set for popups will be used (definde in constants "styles.content.imgtext.linkWrap.width" and "styles.content.imgtext.linkWrap.height").

If you want to use another size within the pdf viewer, modify

plugin.tx_jhpdfviewer.settings.mfp.width =
plugin.tx_jhpdfviewer.settings.mfp.height =

to your needs.

Image navigation

The image navigation could be configured by some changes in setup.

Path:

plugin.tx_jhpdfviewer.settings.imageNavigation

Property

Property:

Data type

Data type:

Description

Description:

Default

Default:

Property

image.width

Data type

string

Description

Width of image in px.

Default

80m

Property

image.height

Data type

string

Description

Height of image in px.

Default

80m

Property

image.margin.rightLeft

Data type

int

Description

Right and left margin of each image.

Default

2

Property

image.margin.topBottom

Data type

int

Description

Top and bottom margin of each image.

Default

4

Example

plugin.tx_jhpdfviewer.settings.imageNavigation {
        image {
                width = 80m
                height = 80m
                margin {
                        rightLeft = 2
                        topBottom = 4
                }
        }
}