Changeset 3233976
- Timestamp:
- 02/03/2025 01:06:34 PM (12 months ago)
- Location:
- ngg-smart-image-search
- Files:
-
- 3 edited
- 5 copied
-
tags/3.3.3 (copied) (copied from ngg-smart-image-search/trunk)
-
tags/3.3.3/README.txt (copied) (copied from ngg-smart-image-search/trunk/README.txt) (2 diffs)
-
tags/3.3.3/admin/js/hide-nextgen-header.js (copied) (copied from ngg-smart-image-search/trunk/admin/js/hide-nextgen-header.js)
-
tags/3.3.3/public/class-ngg-smart-image-search-public.php (modified) (3 diffs)
-
tags/3.3.3/public/css/fancyapps_5-0_fancybox.css (copied) (copied from ngg-smart-image-search/trunk/public/css/fancyapps_5-0_fancybox.css)
-
tags/3.3.3/public/js/fancyapps_5-0_fancybox.uml.js (copied) (copied from ngg-smart-image-search/trunk/public/js/fancyapps_5-0_fancybox.uml.js)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/public/class-ngg-smart-image-search-public.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ngg-smart-image-search/tags/3.3.3/README.txt
r3233578 r3233976 3 3 Tags: NextGEN Gallery, image search, smart search, customizable gallery displays, Bildersuche 4 4 Tested up to: 6.7 5 Stable tag: 3.3. 25 Stable tag: 3.3.3 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 139 139 140 140 == Changelog == 141 142 = 3.3.3 = 143 This is an error fix, uploaded 2025-02-03. 144 145 *Fixed: when using advanced thumbnail display or linked image display, the image filename and thumbnailname will not point to the correct addresses if the website uses redirection. 141 146 142 147 = 3.3.2 = -
ngg-smart-image-search/tags/3.3.3/public/class-ngg-smart-image-search-public.php
r3233519 r3233976 1403 1403 // to address image file correctly we need the local path to the file but not from home 1404 1404 $hr_SIS_document_root = get_option("siteurl") ; 1405 $hr_SIS_filename = $hr_SIS_ pathname . $hr_SIS_picture->filename ;1406 $hr_SIS_thumbsfilename = $hr_SIS_ pathname . "thumbs/thumbs_" . $hr_SIS_picture->filename ; // alter thumb name1405 $hr_SIS_filename = $hr_SIS_document_root . $hr_SIS_pathname . $hr_SIS_picture->filename ; 1406 $hr_SIS_thumbsfilename = $hr_SIS_document_root . $hr_SIS_pathname . "thumbs/thumbs_" . $hr_SIS_picture->filename ; // alter thumb name 1407 1407 $hr_SIS_thumbsfilename2 = ABSPATH . substr($hr_SIS_pathname,1) . "thumbs/thumbs_" . $hr_SIS_picture->filename ; 1408 1408 … … 1411 1411 $hr_SIS_thumbsfilename = $hr_SIS_document_root . $hr_SIS_pathname . "thumbs/thumbs-" . $hr_SIS_picture->filename ; 1412 1412 } 1413 if ( !file_exists( $hr_SIS_thumbsfilename2 ) ) {1413 //if ( !file_exists( $hr_SIS_thumbsfilename2 ) ) { 1414 1414 // NextGEN changed at some time thumbs-filename from thumbs_imagefile to thumbs-imagefile 1415 1415 //$hr_SIS_output .= 'Datei ' . $hr_SIS_thumbsfilename2 . ' konnte nicht gefunden werden.<br>' ; 1416 }1416 //} 1417 1417 if ( $hr_SIS_picture->exclude == 1 ) { 1418 1418 $hr_SIS_titleline = $hr_SIS_picture->alttext . " " . __("(excluded)", "ngg-smart-image-search") ; … … 1473 1473 // to address image file correctly we need the local path to the file 1474 1474 $hr_SIS_document_root = get_option("siteurl") ; 1475 $hr_SIS_filename = $hr_SIS_ pathname . "/" . $hr_SIS_picture->filename ;1476 $hr_SIS_thumbsfilename = $hr_SIS_ pathname . "/thumbs/thumbs_" . $hr_SIS_picture->filename ; // alter thumbs name1475 $hr_SIS_filename = $hr_SIS_document_root . $hr_SIS_pathname . "/" . $hr_SIS_picture->filename ; 1476 $hr_SIS_thumbsfilename = $hr_SIS_document_root . $hr_SIS_pathname . "/thumbs/thumbs_" . $hr_SIS_picture->filename ; // alter thumbs name 1477 1477 $hr_SIS_thumbsfilename2 = ABSPATH . substr($hr_SIS_pathname,1) . "thumbs/thumbs_" . $hr_SIS_picture->filename ; 1478 1478 1479 1479 if ( !file_exists ( $hr_SIS_thumbsfilename2 ) ) { 1480 1480 // NextGEN changed at some time thumbs-filename from thumbs_imagefile to thumbs-imagefile 1481 $hr_SIS_thumbsfilename = $hr_SIS_ pathname . "/thumbs/thumbs-" . $hr_SIS_picture->filename ; // neuer thumbs name1481 $hr_SIS_thumbsfilename = $hr_SIS_document_root . $hr_SIS_pathname . "/thumbs/thumbs-" . $hr_SIS_picture->filename ; // neuer thumbs name 1482 1482 } 1483 1483 -
ngg-smart-image-search/trunk/README.txt
r3233578 r3233976 3 3 Tags: NextGEN Gallery, image search, smart search, customizable gallery displays, Bildersuche 4 4 Tested up to: 6.7 5 Stable tag: 3.3. 25 Stable tag: 3.3.3 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 139 139 140 140 == Changelog == 141 142 = 3.3.3 = 143 This is an error fix, uploaded 2025-02-03. 144 145 *Fixed: when using advanced thumbnail display or linked image display, the image filename and thumbnailname will not point to the correct addresses if the website uses redirection. 141 146 142 147 = 3.3.2 = -
ngg-smart-image-search/trunk/public/class-ngg-smart-image-search-public.php
r3233519 r3233976 1403 1403 // to address image file correctly we need the local path to the file but not from home 1404 1404 $hr_SIS_document_root = get_option("siteurl") ; 1405 $hr_SIS_filename = $hr_SIS_ pathname . $hr_SIS_picture->filename ;1406 $hr_SIS_thumbsfilename = $hr_SIS_ pathname . "thumbs/thumbs_" . $hr_SIS_picture->filename ; // alter thumb name1405 $hr_SIS_filename = $hr_SIS_document_root . $hr_SIS_pathname . $hr_SIS_picture->filename ; 1406 $hr_SIS_thumbsfilename = $hr_SIS_document_root . $hr_SIS_pathname . "thumbs/thumbs_" . $hr_SIS_picture->filename ; // alter thumb name 1407 1407 $hr_SIS_thumbsfilename2 = ABSPATH . substr($hr_SIS_pathname,1) . "thumbs/thumbs_" . $hr_SIS_picture->filename ; 1408 1408 … … 1411 1411 $hr_SIS_thumbsfilename = $hr_SIS_document_root . $hr_SIS_pathname . "thumbs/thumbs-" . $hr_SIS_picture->filename ; 1412 1412 } 1413 if ( !file_exists( $hr_SIS_thumbsfilename2 ) ) {1413 //if ( !file_exists( $hr_SIS_thumbsfilename2 ) ) { 1414 1414 // NextGEN changed at some time thumbs-filename from thumbs_imagefile to thumbs-imagefile 1415 1415 //$hr_SIS_output .= 'Datei ' . $hr_SIS_thumbsfilename2 . ' konnte nicht gefunden werden.<br>' ; 1416 }1416 //} 1417 1417 if ( $hr_SIS_picture->exclude == 1 ) { 1418 1418 $hr_SIS_titleline = $hr_SIS_picture->alttext . " " . __("(excluded)", "ngg-smart-image-search") ; … … 1473 1473 // to address image file correctly we need the local path to the file 1474 1474 $hr_SIS_document_root = get_option("siteurl") ; 1475 $hr_SIS_filename = $hr_SIS_ pathname . "/" . $hr_SIS_picture->filename ;1476 $hr_SIS_thumbsfilename = $hr_SIS_ pathname . "/thumbs/thumbs_" . $hr_SIS_picture->filename ; // alter thumbs name1475 $hr_SIS_filename = $hr_SIS_document_root . $hr_SIS_pathname . "/" . $hr_SIS_picture->filename ; 1476 $hr_SIS_thumbsfilename = $hr_SIS_document_root . $hr_SIS_pathname . "/thumbs/thumbs_" . $hr_SIS_picture->filename ; // alter thumbs name 1477 1477 $hr_SIS_thumbsfilename2 = ABSPATH . substr($hr_SIS_pathname,1) . "thumbs/thumbs_" . $hr_SIS_picture->filename ; 1478 1478 1479 1479 if ( !file_exists ( $hr_SIS_thumbsfilename2 ) ) { 1480 1480 // NextGEN changed at some time thumbs-filename from thumbs_imagefile to thumbs-imagefile 1481 $hr_SIS_thumbsfilename = $hr_SIS_ pathname . "/thumbs/thumbs-" . $hr_SIS_picture->filename ; // neuer thumbs name1481 $hr_SIS_thumbsfilename = $hr_SIS_document_root . $hr_SIS_pathname . "/thumbs/thumbs-" . $hr_SIS_picture->filename ; // neuer thumbs name 1482 1482 } 1483 1483
Note: See TracChangeset
for help on using the changeset viewer.