DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

attachments

Property: Data type: Description: Default:
useWebpagePreview boolean

Use attachment feature web page preview: Web page previews are allowed

(P – Attachments – Use attachment type webpage preview)

1
useWebpageVideoPreview boolean Use attachment feature web page video preview: Flash- and HTML5-videos in are shown. Whenever the webpage scanner finds a video, then the video will be displayed instead of the HTML preview of the webpage. 1
webpagePreviewHeight int+ Height of the Webpagepreview. Associated webpage preview-images will have same size. min is 30 max is 120 pixels 70
maxCharsPreviewTitle int+ Character length of the webpage preview title values between 20 and 250 are accepted by the system 70
webpagePreviewDescriptionLength int+ Character length of the webpage preview description. Values between 50 and 500 are accepted by the system 160
webpagePreviewDescriptionMinimalLength int+ Minimal character length of the webpage preview description When a description found on a webpage is shorter than this number, the system gets the description from Google - values must be between 20 and 150 60
webpagePreviewCacheTimePage int+

Cache expiry for scanned pages in minutes

After this time pages are scanned again. - values must be between 0 and 1440 (1 day max)

180
webpagePreviewCacheTimeTempImages int+

Cache expiry for temporary stored images in minutes

After this time images in the temp folder are deleted, after a new page has been scanned. - values must be between 5 and 120 (2 hours max)

60
webpagePreviewCacheClearManual boolean

Delete temp images manually or by scheduled script

If you want to control manually deletion of outdated images in temp folder set this to 1 - you can use a scheduled PHP-script, or if you don't mind, even delete the files when your disk-space contingent is reached.

 
webpagePreviewNumberOfImages int+ Number of images in webpage previews The number of images shown influences the performance during scanning of webpages remarkably. Values between 4 and 25 are possible 10
webpagePreviewScanMinimalImageFileSize int+ Minimal file size for an image while scanning webpages Value in Bytes, 300 - 6000 1500
webpagePreviewScanMinImageSize int+ Minimal Height and Width for an image while scanning webpages Value in Pixel, 30 - 100 40
webpagePreviewScanMaxImageSize int+ Maximal Height and Width for an image while scanning webpages Value in Pixel, 300 - 1280 450
useLikeDislikewebpagePreviewScanMinLogoSize int+ Minimal Height and Width for a logo image while scanning webpages: Value in Pixel, 20 - 70 30
webpagePreviewScanMaxImageScans int+ Maximal Pictures scanned (if logo has been found already) Values are 20 to 100, higher values result in longer scan time 40
webpagePreviewScanMaxImageScansForLogo int+ Maximal Pictures scanned if logo has not been found already: Values are 30 to 150, must be higher than webpagePreviewScanMaxImages to make sense 55
webpagePreviewScanMaxHorzizontalRelation int+ Maximal allowed x to y relation for scanned images The integer value when dividing width by height a scanned image may have. Values between 1 and 5 are possible 5
webpagePreviewScanmaxverticalrelation int+ Maximal allowed y to x relation for scanned images The integer value when dividing height by width a scanned image may have. Values between 1 and 4 are possible 3
webpagePreviewScanLogoPatterns boolean List of Patterns for logo recognition A list of string patterns, separated by commas - if a pattern is found in a file name, then the image file is considered as logo of the website scanned. Be careful with short patterns - patterns shorter than 4 chars are ignored logo,crght
webpagePreviewScanExcludeImagePatterns boolean List of Patterns for image exclusion during scan A list of string patterns, separated by commas - if a pattern is found in a file name, then the image file is excluded pixeltrans, spacer, youtube, rclogos, white, transpa,
webpagePreviewDescriptionPortionLength int+ Minimal Length of a page text fragment during scan: When scanning text from pages, then the content of p-Tags and span-tags is analyzed. The content must be longer than this value for inclusion in page description. Values between 10 and 100 are accepted 40
webpagePreviewCurlTimeout int+ Timeout for HTML requests in ms Request are canceled after this duration. 3000 to 13000. 7000
usePicUpload boolean Use Image attachment. 1
usePdfUpload boolean Use PDF attachment. 1
picUploadDims int+ Maximal height and width for an preview image after upload. Value in Pixel, 50 - 150. 100
picUploadMaxDimX int+ Maximal width for an image after upload. Value in Pixel, 100 - 900. 800
picUploadMaxDimY int+ Maximal height for an image after upload. Value in Pixel, 100 - 1200. 900
picUploadMaxDimWebpage int+ Maximal dimensions for an image for display in the comments list, 200 - 800. 470
picUploadMaxDimYWebpage int+; Maximal height for an image for display in the comments list, 200 - 800. 300
picUploadMaxfilesize int+ Maximal file size for image upload. Value in KB, 10 - 100000. 2500
pdfUploadMaxfilesize int+ Maximal file size for pdf upload. Value in KB, 10 - 100000. 3000
soundcloudClientID string

Soundcloud Client ID: Needed to make proper display of webpage previews from soundcloud.com

How to make a soundcloud app? Sign into or open your soundcloud account, then go to http://soundcloud.com/you/apps

 
soundcloudClientSecret string Soundcloud Client Secret: Secret matching the Soundcloud Client ID  
Options only available in the plugin   Options could also be set from TypoScript  
useTopWebpagePreview int+ ID of the webpage preview to show on top of the plugin (P – Attachments – Optional webpage preview on top)  
topWebpagePreviewPicture int+

Index of preview picture for the webpage preview to show on top of the plugin

(P – Attachments – Index of preview picture (must exist, default is 0))