summaryrefslogtreecommitdiff
path: root/gallery_views
AgeCommit message (Collapse)AuthorFilesLines
12 daysReplace float+clear grid with flexbox in auto_flow galleryLester Caine1-12/+5
Float+clear can't produce equal-height rows — variable-height thumbnails caused items to misalign regardless of where clears fired. Switch the container to .fisheye-flow (flex, flex-wrap:wrap): Bootstrap col-* widths still control breakpoints, flex rows are automatically equal-height. Removed counter, clear divs, and redundant col-xs-12 from inner elements. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 daysFix auto_flow counter: assign="imageCount" in loop so modulo checks workLester Caine1-1/+1
{counter} without assign= never updated $imageCount — it stayed at 0, making 0%2, 0%3, 0%4 all permanently true, inserting all three clear divs after every item. Gallery never formed a grid. Adding assign= makes the variable track the actual item count. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 daysFix auto_flow row clear logic for variable-height thumbnailsLester Caine1-6/+3
The nested if/else suppressed sm-breakpoint clears after items 4, 8, 12... (multiples of 4 took the lg branch). Replace with three independent checks — one per breakpoint — using Bootstrap 3 visible-*-block so each grid size gets its own clear on its own row boundary. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 daysRemove spurious caption from simple_list tableLester Caine1-1/+0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 daysRework all gallery view headers to blue header pattern; tidy gallery viewsLester Caine10-289/+152
- New gallery_breadcrumb_inc.tpl (small breadcrumb trail from gallery_nav) - gallery_nav.tpl stripped to prev/next navigation only - view_image.tpl: semantic <header> with floaticons + breadcrumb - All gallery view styles (galleriffic 1/2/5, auto_flow, fixed_grid, matteo, position_number, simple_list): <header> with gallery_icons_inc + breadcrumb, remove separate gallery_nav include, section.body for description - fixed_grid: drop inc2/inc3, rewrite inc.tpl with cols_per_page from mInfo, img-responsive center-block, width:100% table, pagination at bottom - simple_list: Bootstrap table-striped/hover, img-thumbnail, pagination, unconditional data block below title, 100px image column, 15% actions - auto_flow/position_number: remove duplicate data block from body div - Replace network-receive/transmit with go-down/go-up; Add Comment icon; various data|escape and getParsedData fixes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05Switch delete icon from edit-delete to user-trash (dustbin)Lester Caine1-1/+1
user-trash updated to a proper dustbin SVG. All templates across all packages updated to use user-trash instead of edit-delete. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04Switch iconset to SVG-only — drop small/medium/large PNG directoriesLester Caine1-1/+1
All iconset icons (ipackage=icons) now served from scalable/ as SVGs. ipath (/small/, /medium/, /large/) is preserved only for cache key differentiation and SVG width/height calculation. Four icons remapped to SVG equivalents in tango/scalable/: dialog-cancel -> process-stop (newsletters: unsubscribed) emblem-downloads -> network-receive (fisheye: download file) emblem-shared -> emblem-symbolic-link (boards: moved topic/thread) mail-mark-important -> emblem-important (messages: flagged) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04Convert {booticon} to {biticon} — freedesktop/tango icon names throughoutLester Caine3-12/+12
Replace all {booticon iname="icon-*"} and {booticon iname="fa-*"} calls with {biticon ipackage="icons" iname="<freedesktop-name>"} using the tango iconset. Mapping covers ~70 distinct old names to tango equivalents (edit-delete, document-properties, go-next, lock, internet-mail, etc.). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25Galleriffic: fix fancyzoom interference, add regenerate-thumbnails UILester Caine3-6/+6
- Add rel="nozoom" to all galleriffic thumb <a> links so FancyZoom's loading animation doesn't fire when selecting images in galleriffic - Add "Regenerate All Thumbnails" checkbox to edit_gallery.tpl (only shown for existing galleries) - Fix edit.php calling non-existent generateThumbnails() on a gallery object — corrected to generateGalleryThumbnails() - Add set_time_limit(0) inside generateGalleryThumbnails() so large galleries don't time out during thumbnail regeneration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24Videos tab: inline player with list/player split layoutLester Caine1-23/+60
Replaces the simple table with a two-column layout — scrollable video list on the left, HTML5 player on the right. Clicking a list item loads and plays the video in-page. Full-page link and title shown below player. Thumbnails display in the list when available (post-ffmpeg). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24Fix jstab compile error in inc_2: always open jstabs, conditionalise Videos ↵Lester Caine1-3/+4
tab only Smarty validates block tag pairs at compile time so {jstab} cannot be wrapped in {if}. jstabs/Pictures tab are always present; Videos jstab is conditional inside the already-open jstabs block. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24Add galleriffic style 2: Pictures/Videos tabs for mixed galleriesLester Caine2-1/+223
fisheye_galleriffic_inc.tpl now dynamically loads the inc file matching the gallery's galleriffic_style preference (defaults to 1). inc_2.tpl adds a pre-scan for video items and wraps the galleriffic slideshow in a Pictures tab, with a Videos simple-list tab alongside. Items without thumbnails are skipped from the Pictures tab; when ffmpeg generates thumbnails they appear in both tabs automatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24Skip thumbnailless items in galleriffic to prevent broken displayLester Caine2-0/+4
Items without a thumbnail (e.g. videos when ffmpeg is unavailable) are excluded from the slideshow list rather than producing empty src/href attributes that break galleriffic's JS. Once thumbnails are generated they appear automatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24Add per-gallery show_description preference to all active gallery viewsLester Caine8-2/+37
Galleries can now suppress their description text via a checkbox in the edit form (defaults to shown). All active view templates (galleriffic, fixed_grid, auto_flow, position_number, simple_list) respect the preference. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21Remove unused ajax_scroller gallery viewLester Caine1-10/+0
Never wired up — no PHP or template references, incomplete stub only. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21Fix breadcrumb depth and dedup nav across gallery viewsLester Caine4-38/+8
getBreadcrumbLinks now walks the full gallery hierarchy recursively instead of only one level up, so deep paths like Projects > Cadogan Gardens > Source Material appear in full. Inline nav blocks in galleriffic, simple_list and auto_flow replaced with gallery_nav.tpl include (matching fixed_grid). User/Galleries editor link in gallery_nav.tpl now guarded by hasUpdatePermission. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21Fix broken parent gallery breadcrumb links; remove undefined changePhotoDrawerLester Caine3-3/+3
changePhotoDrawer() was never defined — clicking a parent gallery in the breadcrumb threw a JS error, return false never ran, and href="#" left the user on the same page ("links to self"). Replace with direct pretty URL navigation. Also fix double-slash in gallery_nav.tpl (FISHEYE_PKG_URL already ends with /). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21Fix galleriffic numThumbs: break out of literal block for Smarty expressionLester Caine2-2/+2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21Separate pagination counts per gallery style; make galleriffic numThumbs ↵Lester Caine2-2/+2
configurable - rows_per_page/cols_per_page (DB) used only by fixed_grid - total_per_page preference used by auto_flow, simple_list, matteo — shown as one shared field with the style-appropriate label; falls back to old rows_per_page for migration - galleriffic_num_thumbs preference replaces hardcoded numThumbs:30 in JS templates - JS disables hidden style-div inputs on load and switch so only the active style submits Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14php-cs-fixer tidies to php8.5 standardsLester Caine44-0/+51
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16Tidies to bring templates up to date with smarty5 and add in missing elementslsces3-10/+12
2026-04-05Few minor defaults for php8.4lsces1-3/+3
2026-04-02Missing defaults for php8.4 and style change for fixed gridlsces2-52/+102
2026-03-27Figured what has been causing a problem with using && and || in smarty ↵lsces4-12/+12
templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones.
2026-03-26Smarty style updateslsces3-15/+15
2026-03-26Test files for new grid formatslsces1-0/+43
2026-02-01Tidy for higher res screen gridlsces1-4/+9
2025-08-28gallery_views code updated to PHP8.4 and namespace ... work in progress on ↵lsces6-47/+52
updating some third party code
2022-07-30migrate from font-awesome 3.2.1 icon- to 6.1.2 fa-spiderr2-7/+7
2017-05-09add bootstrap styling to gallery img displayspider@app21-2/+2
2016-02-07Remove warnings about legacy HTML stylelsces5-20/+19
2014-10-08clean up on breadcrumbs to bootstrapspider3-27/+33
2014-07-02Switch to Bootstrap iconslsces1-3/+3
2014-06-04Duff edit revertedlsces1-2/+2
2014-06-04Add additional gallery style elementslsces2-0/+222
2014-06-04Add clear div to ensure clean rendering on all browserslsces1-2/+3
2014-06-04Tidy white spacelsces1-2/+2
2013-09-03add jquery.migrate.js for gallerificspiderr1-2/+2
2013-04-02convert biticon to booticonspiderr1-1/+1
2013-04-02convert lots of biticon to booticonspiderr1-1/+1
2013-04-02convert lots of biticon to booticonspiderr1-2/+2
2012-12-06add thumbnail_size to fisheye_fixed_grid_inc.tplspiderr1-1/+1
2012-10-31clean up matteo gallery_view by moving javascript to folder, still busted so ↵spiderr3-0/+471
comment it out
2012-07-25use getDownloadUrl() methodspiderr2-3/+3
2012-04-29Roll back getContentUrl to alternate static getDisplayUrl fixLester Caine ext:(%22)3-9/+9
getDisplayUrlFrom Hash used for static calls
2012-04-17Tidy up to remove 'STRICT' warningsLester Caine ext:(%22)3-6/+6
Split static and dynamic use of getDisplayUrl Create getContentUrl as the instantiated version parameters need to be identical across all classes
2011-07-06gallerific increase thumb count, increase main image sizespiderr2-2/+3
2011-05-10cleanup ajax scroller, rename to matteospiderr1-0/+63
2011-05-10cleanup ajax scroller, rename to matteospiderr11-10/+49
2011-03-16remove deprecated getContentTypeDescription, and use getContentTypeName insteadspiderr1-2/+2