This page lists the variables you can use on any page in Pixaria 2.0 where there is a list of image thumbnails linking to a large image view. At the present time, this includes:
To use any of these variables in your template, you need to enclose the entire variable in curly braces. For example to display the image caption use this code:
{$thumbnails.basic.caption}
| Smarty Variable Name | Type | Description |
|---|---|---|
| $thumbnails.url_inline | string | URL to open this item in the same window |
| $thumbnails.url_popup | string | URL to open this item in popup window |
| $thumbnails.url_image | string | URL to open this image page in same window |
| $thumbnails.url_default | string | URL to open this image page in popup window |
| $thumbnails.basic.id | integer | The image database unique ID |
| $thumbnails.basic.path | string | Library folder directory for this image |
| $thumbnails.basic.userid | integer | The user ID of the person owning this image |
| $thumbnails.basic.file_name | string | the image file name |
| $thumbnails.basic.title | string | The image title |
| $thumbnails.basic.caption | string | The image caption |
| $thumbnails.basic.date | string | The image MySQL timestamp |
| $thumbnails.basic.width | integer | The image width in pixels |
| $thumbnails.basic.height | integer | The image height in pixels |
| $thumbnails.basic.aspect_ratio | float | The image aspect ratio |
| $thumbnails.basic.copyright | String | The image copyright holder |
| $thumbnails.basic.cart_link | boolean | Whether to show image add to cart link |
| $thumbnails.basic.cart_add.url_default | string | URL add image to cart - settings defined |
| $thumbnails.basic.cart_add.url_popup | string | URL add image to cart - same window |
| $thumbnails.basic.cart_add.url_inline | string | URL add image to cart - popup window |
| $thumbnails.basic.lightbox_add.url_default | string | URL add image lightbox - settings defined |
| $thumbnails.basic.lightbox_add.url_popup | string | URL add to lightbox - same window |
| $thumbnails.basic.lightbox_add.url_inline | string | URL add to lightbox - popup window |
| $thumbnails.files.icon_size.0 | integer | Image width in pixels |
| $thumbnails.files.icon_size.1 | integer | Image height in pixels |
| $thumbnails.files.icon_size.2 | string | HTML width and height attributes for img tag |
| $thumbnails.files.icon_size.3 | float | Image aspect ratio |
| $thumbnails.files.icon_path | string | Base64 encoded path to the image |
| $thumbnails.files.icon_url | string | URL of the image |
| $thumbnails.files.small_size.0 | integer | Image width in pixels |
| $thumbnails.files.small_size.1 | integer | Image height in pixels |
| $thumbnails.files.small_size.2 | string | HTML width and height attributes for img tag |
| $thumbnails.files.small_size.3 | float | Image aspect ratio |
| $thumbnails.files.small_path | string | Base64 encoded path to the image |
| $thumbnails.files.small_url | string | URL of the image |
| $thumbnails.files.large_size.0 | integer | Image width in pixels |
| $thumbnails.files.large_size.1 | integer | Image height in pixels |
| $thumbnails.files.large_size.2 | string | HTML width and height attributes for img tag |
| $thumbnails.files.large_size.3 | float | Image aspect ratio |
| $thumbnails.files.large_path | string | Base64 encoded path to the image |
| $thumbnails.files.large_url | string | URL of the image |
| $thumbnails.files.comp_size.0 | integer | Image width in pixels |
| $thumbnails.files.comp_size.1 | integer | Image height in pixels |
| $thumbnails.files.comp_size.2 | string | HTML width and height attributes for img tag |
| $thumbnails.files.comp_size.3 | float | Image aspect ratio |
| $thumbnails.files.comp_path | string | Base64 encoded path to the image |
| $thumbnails.files.comp_url | string | URL of the image |
| $thumbnails.files.original_size.0 | integer | Image width in pixels |
| $thumbnails.files.original_size.1 | integer | Image height in pixels |
| $thumbnails.files.original_size.2 | string | HTML width and height attributes for img tag |
| $thumbnails.files.original_size.3 | float | Image aspect ratio |
| $thumbnails.files.original_path | string | Base64 encoded path to the image |
| $thumbnails.files.original_url | string | URL of the image |
| $thumbnails.files.admin_preview_url | null | Reserved |
| $thumbnails.files.admin_edit_url | string | URL to edit this image |
| $thumbnails.files.download_comp | string | Download comping image URL |