# Fisheye Package — Developer Notes ## Gallery view template dispatch `view.php` → `display_fisheye_gallery_inc.php` → `$gContent->getRenderTemplate()` returns `bitpackage:fisheye/view_gallery.tpl`, which dispatches to: ``` gallery_views/{layout}/fisheye_{layout}_inc.tpl ``` Active layouts and their inc files: - `galleriffic` — `fisheye_galleriffic_inc.tpl` (dispatcher) → `_1.tpl` / `_2.tpl` / `_5.tpl` by `$gContent->mInfo.galleriffic_style` - `auto_flow` — `fisheye_auto_flow_inc.tpl` - `fixed_grid` — `fisheye_fixed_grid_inc.tpl` (inc2/inc3 deleted — superseded) - `matteo` — `fisheye_matteo_inc.tpl` - `position_number` — `fisheye_position_number_inc.tpl` - `simple_list` — `fisheye_simple_list_inc.tpl` ## Standard header pattern Each gallery view inc uses the shared include pattern (matching stock/contact): ```smarty
{$gContent->mInfo.data|escape}