Fullscreen
[Show/Hide Right Column]

This tracker field type allows you to add image in a tracker. The image can be seen in the tracker items list or in a item view.

xListSizepixels numberoptionalmaximum width of the image in tracker items list ( automatically rescaled if the upload image is larger)
yListSizepixels numberoptionalmaximum heigth of the image in tracker items list ( automatically rescaled if the upload image is higher)
xDetailsSizepixels numberoptionalmaximum width of the image in item view (automatically rescaled if the upload image is larger)
yDetailsSizepixels numberoptionalmaximum width of the image in item view (automatically rescaled if the upload image is higher)
uploadLimitScalepixel numberoptionalmaximum size of a picture. If the image is larger or higher, the uploaded image will be rescaled automatically- the initial image will not be saved
shadowboxstring or numberoptionalallows a shadowbox when clicking on the img: special values: item, individual(see below) tw>=3.0


For instance this option field
100,100,400,400,,item

will limit the picture size to 100 in list mode, to 400 in item view, and will allow a shadowbox popup


The shadowbox option allows you if the feature is activated Shadowbox to provide a popup on the image.
  • If the value of the parameter is 'individual', the popup will concern only this image.
  • If the value is 'item', the popup will have a prev/next link with the other displayed images of type shadowbox=item of the item.
    • trick with the pretty trackers: if you want to display only one image of the item but have the popups displaying all the images, you can do something like this in the template
{$f_1}
<div style="display:none"> {$f_2} {$f_3}</div>

where f_1, f_2, f_3 are 3 images fields with type shadowbox=item

  • If the value is another string or numeric, the popup will have a prev/next link with the other images of the page of type shadowbox=this same value
    • This can be used to popup together all the images of a tracker list.

administration
The images are store in the sub directory img/trackers. The filenames are encoded at the upload.


Note for IIS users
Tiki stores images without any extension, Apache handles this fine, but IIS uses the file extension to determine which handler it should use for the filetype. Extra configuration to make IIS interpret these extensionless files is needed.
Solution
On the /img/trackers directory add a mimetype handler for "*" (on newest IIS (7.5) use "." instead) and set it to application/octet-stream this way IIS will look on the content type instead of the file extension.


Contributors to this page: Merbster350 puntos  , stefbrodu89 points  , sylvie7387 points  , xavidp1213 puntos  and system .
Page last modified on Monday 05 September, 2011 08:54:59 UTC by Merbster350 puntos .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki