{{ ta('plugin_name_settings', '[[[PLUGIN_NAME]]] Settings', {'PLUGIN_NAME': pluginName}) }}

{{ msg_page_notifications|raw }}

{{ ta('general_settings', 'General Settings') }}

{{ ta('whether_the_plugin_is_enabled_and_other_general_settings', 'Whether the plugin is enabled and other general settings.') }}

{{ ta('if_set_to_no_users_will_not_see_the_file_details_page_when_visiting_a_download_url', 'If set to \'no\', users will not see the file details page when visiting a download url. This would trigger a download of the file instead of previewing it. Useful if you don\'t want the details page but want to retain image thumbnails.') }}

{{ ta('if_set_to_yes_a_list_of_files_within_the_same_folder_will_be_shown_below_the_file_preview', 'If set to \'yes\', a list of files within the same folder will be shown below the file preview. Shown for both logged in users and shared file urls.') }}

{{ ta('if_set_to_yes_a_new_direct_file_url_will_be_available_to_your_users', 'If set to \'yes\', a new direct file url will be available to users. This can be used by any user type to directly download a file. Useful for embedding videos in third party players.') }}

{{ ta('image_preview_settings', 'Image Preview Settings') }}

{{ ta('whether_to_enable_image_previews_and_thumbnails', 'Whether to enable image previews and thumbnails. If enabled, thumbnails will be shown while browsing files aswell as when you click to view a file.') }}

{{ ta('image_previews_will_be_automatically_rotated', 'If set to \'yes\', image previews will be automatically rotated the correct way up (based on EXIF data).') }}

{{ ta('image_library', 'Image Library') }}

{{ ta('which_image_library_to_use', 'Which image library to use? GD is installed by default on most PHP installs and supports 4 images types (jpg, png, gif, bmp). Imagemagick can be installed as an additional PHP module, but can support over 200 image types (inc psd, ai, raw, mng and much more).') }}

{{ ta('set_the_extension_above_you_want_to_auto_generate_previews_on', 'Set the extensions above you want to auto-generate previews on. The extension must be listed in the \'available formats\' below. It is not recommended to include video file types such as mp4.') }}

{{ ta('total', 'Total') }} 5:

jpg,jpeg,png,gif,wbmp (gif is static gif only)

{{ ta('total', 'Total') }} {{ formatsArr|length }}:

{{ formatsArr|join(',')|lower }}

{{ ta('gif_thumbnails_will_be_resized_as_animated', 'If set to \'yes\', GIF image thumbnails will be resized as animated. Otherwise a static image will be used.') }}

{{ ta('watermark', 'Watermark') }}

{{ ta('whether_to_overlay_a_watermark_on_the_images', 'Whether to overlay a watermark on the images. Watermark image should be a png file. If using transparency ensure it\'s at least 24bit for the best results.') }}

{% if watermark_contents|length > 0 %}
{% endif %}
px

{{ ta('image_options', 'Image Options') }}

{{ ta('the_preview_image_quality', 'The preview image quality') }}.

{{ ta('between_1_and_100_default_is_90_the_higher_the_quality_the_larger_the_filesize', 'Between 1 (low quality) and 100 (best quality). Default is 90. The higher the quality the larger the filesize. This does not effect the downloaded file, only the preview/thumbnails.') }}

{{ ta('embedded_thumbnail_options', 'Embedded Thumbnail Options') }}

{{ ta('size_of_externally_embedded_thumbnails_and_method_of_resizing', 'Size of externally embedded thumbnails and method of resizing. Thumbnails are used when link to the image from an external site.') }}

{{ ta('width', 'Width') }} px
{{ ta('height', 'Height') }} px

The maximum size to create the thumbnail. Default is 180x150.

{{ ta('optional_background_thumbnail_creation', 'Optional Background Thumbnail Creation') }}

{{ ta('thumbnails_are_created_and_cached_as_the_images_are_requested_you_can_generate_cache_via_cron', 'Thumbnails are created and cached as the images are requested via the user interface. You can however generate the cached thumbnails via an automated background task to improve the overall user experience. To enable this setup the following cron task.') }}

{{ ta('nackground_thumbnail_creation_guidance', 'The cron script is located here:

[[[DOC_ROOT]]]/plugins/filepreviewer/tasks/background_thumbs.cron.php

To execute it, set it up on only main server as a cron task. It is not required on any file servers. This is the line for the crontab file:

* * * * * php [[[DOC_ROOT]]]/plugins/filepreviewer/tasks/background_thumbs.cron.php >> /dev/null 2>&1

See here for more information on executing scripts via a cron task.', {'DOC_ROOT': DOC_ROOT})|raw }}

{{ ta('document_preview_settings', 'Document Preview Settings') }}

{{ ta('whether_to_enable_document_previews_document_shown_using_google_docs_or_microsoft_office', 'Whether to enable document previews. If enabled, the document will be shown using Google Docs or Microsoft Office Web Viewer. It\'s recommended you do not use the document previewer for sensitive or private files. By previewing documents via Google Docs or Microsoft Office Web Viewer you are agreeing to their terms and conditions.') }}

{{ ta('requires_imagemagick_within_php', 'Requires ImageMagick within PHP. Please contact your host to enable this.') }}

{{ ta('default', 'Default') }}: doc,docx,xls,xlsx,ppt,pptx,pdf,pages,ai,psd,tiff,dxf,svg,eps,ps,ttf,otf,xps

{{ ta('other_options', 'Other Options') }}

{{ ta('whether_to_show_embed_code_and_related_options', 'Whether to show embed code and related options.') }}

{{ ta('width', 'Width') }} px
{{ ta('height', 'Height') }} px

{{ ta('this_is_the_size_of_the_iframe_and_hence_document_when_embedded_on_an_external_site', 'This is the size of the iframe and hence document when embedded on an external site.') }}

{{ ta('video_preview_settings', 'Video Preview Settings') }}

{{ ta('whether_to_enable_video_previews_video_shown_after_you_click_the_file', 'Whether to enable video previews. If enabled, the video will be shown after you click on the file.') }}

{{ ta('default', 'Default') }}: mp4,flv,ogg

{{ ta('autoplay_this_is_browser_dependant_and_may_not_always_be_supported', 'This is browser dependant and may not always be supported. In addition, autoplayed videos are initially muted to adhere to browser autoplay policies.') }}

{{ ta('other_options', 'Other Options') }}

{{ ta('whether_to_show_embed_code_and_related_options', 'Whether to show embed code and related options.') }}

{{ ta('width', 'Width') }} px
{{ ta('height', 'Height') }} px

{{ ta('this_is_the_size_of_the_video_iframe_when_embedded_on_an_external_site', 'This is the size of the video iframe when embedded on an external site.') }}

{{ ta('audio_preview_settings', 'Audio Preview Settings') }}

{{ ta('whether_to_enable_audio_previews_audio_player_after_file_clicked', 'Whether to enable audio previews. If enabled, the audio will be played after you click on the file.') }}

{{ ta('default', 'Default') }}: mp3

{{ ta('this_is_browser_dependant_and_may_not_always_be_supported', 'This is browser dependant and may not always be supported.') }}

{{ ta('other_options', 'Other Options') }}

{{ ta('whether_to_show_embed_code_and_related_options', 'Whether to show embed code and related options.') }}

{{ ta('width', 'Width') }} px
{{ ta('height', 'Height') }} px

{{ ta('this_is_the_size_of_the_audio_iframe_when_embedded_on_an_external_site', 'This is the size of the audio iframe when embedded on an external site.') }}

{{ ta('text_file_code_preview_settings', 'Text File/Code Preview Settings') }}

{{ ta('whether_to_enable_text_and_code_previews', 'Whether to enable text file & code previews. If enabled, the file will be shown directly on the page. Only files up to 2MB will be previewed for performance reasons.') }}

{{ ta('default', 'Default') }}: txt,php,html,htm,xhtml,js,css,srt,vtt,log,sql,xml,asp,aspx,cer,cfm,cgi,pl,jsp,py,rss,c,class,cpp,h,java,sh,vb,swift,cfg,ini,text