The labels that are added are inside spans so that you can easily manipulate the labels too. For example:
Hiding properties
To hide or show specific properties, go to Site configuration, Metadata display, Collection file size settings – and select the properties that you want to show or hide.
This is the recommended method. Alternatively, you can use CSS to manipulate the HTML output:
- If you don’t want the label cm to show, then add css to hide it. E.g. span.lcm {display:none}
- If you don’t want the label (300 dpi) to show, then add css to hide it. E.g. span.dpi {display: none}
- If you don’t want the printsize in cm information to at all, then add css to hide that element. E.g. .sizeinfo.sizecm {display:none}
And you can do the same for the other sizeinfo elements as shown above.
Print sizes
Note that the print sizes (in inches and cm’s) are calculated with the DPI settings (normally 300 or 72) that are configured for the selected file sizes.
If you have configured a size setting to not display file information, then the class .info0 is applied to hide the information. It is however still available in the HTML. The class can be changed as required:
CM’s and Inches
Note that you can hide print sizes via Site configuration, Metdata display, Collection file size settings. This hides both the print size in inches and in cm’s. If you want only to hide either the size in inches or in cm’s, then you’ll have to create a CSS rule.
Size on disk / Download size
The sizedisk element displays the file size in MB rounded to 1 decimal. The sizes for smaller/derived files are estimates only, calculated using the size in MB of the master file and the number of pixels on the longest side. Due to jpeg compression algorithms it is not possible to calculate accurate sizes. If you have enabled display of File info, but you don’t want to show the download sizes, then change the settings via Site configuration or add a CSS rule to hide the element.
Displaying prices and currencies
The second column of the RF file information table shows the prices that you have configured for the collection of which the file is part. If you use currencies, the price is displayed in the main currency and if the user’s currency is different then it is displayed in the user’s currency underneath.
If you want to display prices using the site’s currency only or the user’s currency only, then (in Back office, Price calculator & collections) click on File Collections in the side bar to list the collections. The toolbar at the top shows radiobuttons next to the label Display prices:
- User’s currency
- Base currency
- Both currencies
Select the option that you want to use and then click on the Save currency setting button.
You can also change the appearance by use of CSS. The main currency price is inside a span with the class name pricemaincurrency, additional currencies are displayed inside a span with the class name priceusercurrency. If the user’s currency is not the same as the main currency, then the main currency span element also has the class hasothercurrency1. You can use this to for instance hide the main currency and to show the price in the user’s currency only. For example: