Apraksts
Nevainojami integrē FancyBox jūsu emuārā: Augšupielādējiet, aktivizējiet, un viss ir paveikts. Papildu konfigurācija nav obligāta.
Jūs varat viegli pielāgot gandrīz visu iespējamo Fancybox lightbox: robežas, malas platumu un krāsu, tālummaiņas ātrumu, animācijas veidu, aizvēršanas pogas pozīciju, pārklājuma krāsu un caurspīdīgumu un vēl vairākas uzlabotas iespējas, piemēram, iespējas grupēt attēlus galerijās, un vēl….
Pēc noklusējuma spraudnis izmantos jQuery, lai piemērotu FancyBox jebkuram sīktēlam, kas ir tieši piesaistīts attēlam. Tas attiecas arī uz ziņām, sānu joslu u. c., tāpēc varat to aktivizēt, un tas tiks piemērots automātiski.
Demo
Jūs varat redzēt, kā spraudnis darbojas šajā blogā, lai gan tur nav nekas pārsteidzošs, tikai vienkārša FancyBox implementācija, tāda ir jēga 😉 Tomēr varat apskatīt kodu, ja esat ziņkārīgs.
Plašāka lasāmviela
Šo spraudni ir izstrādājis un uztur Colorlib. Kas ir labi pazīstama ar savām bezmaksas WordPress tēmām. Tomēr tagad viņi vēlas paplašināt savu klātbūtni spraudņu izstrādē un uzskata, ka FancyBox lightbox ir lielisks veids, kā sākt.
Ja esat iesācējs WordPress un vēlaties uzzināt vairāk, mēs jums palīdzēsim. Colorlib iemācīs jums izveidot blogu vai izveidojiet vietni un daudz ko citu. Ja jau esat iepazinies ar WordPress, iespējams, vēlēsities uzzināt, kā to padarīt ātrāku un uzticamāku. Tas ir tad, kad vēlaties izpētīt mitināšanu un konkrētāk WordPress mitināšanu.
Ja jums patīk izmantot FancyBox Lightbox for WordPress, lūdzu, atstājiet pozitīvas atsauksmes. Mēs esam apņēmušies to padarīt par labāko Lightbox spraudni WordPress.
Ekrānuzņēmumi
Uzstādīšana
- Augšupielādējiet mapi
fancybox-for-wordpress
direktorijā/wp-content/plugins/
- Aktivizējiet spraudni, izmantojot WordPress izvēlni “Plugins”.
- Tas arī viss, FancyBox tiks automātiski lietots visām jūsu attēlu saitēm un galerijām.
- If you want to customize a bit the look and feel of FancyBox, go to the Options Page under General Options in the WordPress Admin panel
BUJ
-
– There was a vulnerability detected in versions 3.0.2 and lower, is my site in danger?
-
This vulnerability was patched in version 3.0.3.
Versijā 3.0.4 tika ieviestas papildu izmaiņas, lai nodrošinātu, ka ļaunprātīgais kods nevar tikt izdrukāts apmeklētājiem, pat ja tas joprojām paliek datu bāzē.
If you think your site might still be using a vulnerable version of the plugin please log in to your WordPress admin panel, disable the plugin and clear any cache if your site uses a cache system.
Ja vēlaties turpināt izmantot spraudni, pārbaudiet, vai jūsu administratora panelī ir atjaunināts spraudnis uz jaunāko versiju, un iespējojiet to. Pēc tam pārbaudiet spraudņa iestatījumu lapu un pārbaudiet, vai nevienā no laukiem, īpaši cilnē Papildzvani, nav neparasts kods. Ja neesat pārliecināts par iestatījumos redzamo kodu, lūdzu, izmantojiet pogu Atgriezties uz noklusējuma iestatījumiem iestatījumu lapas apakšā.
If you think your site might be compromised in any other way check this guide: WordPress Codex – FAQ My site was hacked.
-
– Is the FancyBox script vulnerable or unsafe?
-
Nē, man zināmajam FancyBox skriptam nav nekā slikta.
The vulnerability detected in versions 3.0.2 and lower of the “FancyBox for WordPress” plugin was limited to the plugin itself. Other FancyBox plugins or manual implementations of FancyBox are unrelated to this issue.
Atsauksmes
Autori un izstrādātāji
“FancyBox darbam ar WordPress” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
Līdzdalībnieki“FancyBox darbam ar WordPress” ir tulkots lokalizācijās 5. Paldies tulkotājiem par ieguldījumu.
Tulkot “FancyBox darbam ar WordPress” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
3.3.4 – 22.03.2024
Fixed: Security issue
3.3.3 – 11.05.2021
Fixed : Issue with padding and border ( https://github.com/ColorlibHQ/fancybox-for-wordpress/issues/86 )
3.3.2 – 05.03.2021
Changed: Upgrade Fancybox to latest version ( https://github.com/ColorlibHQ/fancybox-for-wordpress/issues/95 )
Fixed: Close button not showing up although option is enabled
3.3.1
Compatibility with jQuery 3.0
3.3.0
Fixed compatibility issue with WordPress 5.6
3.2.9
- Added Zoom on Click functionality
3.2.8
- Fix property ‘title’ of undefined when using newer versions of jQuery
- Add option to disable FancyBox on mobile view
3.2.7
- Fix for separate gutenberg blocks
- Personalize script handles
- Review dismiss fix
3.2.6
- Admin bar overfloat fix
- Tooltip description bug fix
- Add option for caption hide/show
3.2.5
- Fix title hide/show option
- Fix extra height on lightbox image wrapper
3.2.4
- Removed dashboard news widget
3.2.3
- Fix for mobile close on content click
- Fix for mobile close on overlay click
3.2.2
- Fix for padding issue when title inside position
- Fix for title color when title is set to inside position
3.2.1
- Update toggles
- Added new option to make a gallery for each gutenberg gallery block
3.2.0
- Admin UI minor update
- Removed unneeded ie css file
- Cilnē Uzvedība ir pievienota opcija, lai gaismas kastē netiktu rādītas saites, kuru mērķis ir .pdf faili.
3.1.9
- Replace $.fancebox with $.fancyboxforwp.
3.1.8
- Fixed “Click to Hide on Overlay only works with Images”
- Fixed “The requested content cannot be loaded” when trying to view page/post in fancybox
3.1.7
- Fixed incompatibilty with Envira Gallery
- Fixed incompatibilty with NextGen Gallery
3.1.6
- Removed rollback functionality
3.1.5
- Added support for mp4 and webp files
3.1.4
- Made it work with query string and without query strings.
3.1.3
- Fixed “Parse error” – https://wordpress.org/support/topic/no-backend-after-fancybox-update/
- Fixed “Breaks on query strings” – https://wordpress.org/support/topic/url-with-ssl1-fancybox-doesnt-open/
- Fixed “Caption problems” – https://wordpress.org/support/topic/border-not-fitting-and-strange-white-line/
3.1.2
- Fixed “All links get the fancybox class”
3.1.1
- Removed print_r from fancybox.php
3.1.0
- Updated FancyBox library to the latest version
- Changed Admin UI
3.0.12
Fixed errors causes by WordPress SVN.
3.0.7
- Updated Fancybox library
- Updated other libraries this plugins depends on such as jQuery easing and jQuery Mousewheel
- Tested plugin with WordPress 4.6
3.0.6
- Fixes to JavaScript code for showing and hiding elements as they are needed in Settings page. (Thanks to jono55 for reporting)
3.0.5
- Fixed the Revert Options button.
- Fixed wrong version number being shown on the plugin’s settings page.
- Updated plugin and author links in readme and settings page.
- Updated localization catalog (POT file).
- Updated Spanish translation with minor updates.
- Updated Frequently Asked Questions in readme file.
- Removed version number from printed html source code.
- Removed outdated/incomplete translation binaries.
3.0.4
- Renamed the setting affected by the security issue mentioned in 3.0.3. This should stop the malicious code from appearing on sites where the plugin is updated without removing the malicious code.
3.0.3
- Fixed a security issue. (Thanks to mickaelb for reporting and Konstantin Kovshenin for providing the fix)
3.0.2
- Added support for disabling fancybox on individual hyperlinked images by adding class=’nolightbox’. (Thanks to Artem Russakovskii)
- Added a link to the github project page in the info tab in the settings page.
- Fixed and cleaned the installation code, new installations of the plugin should work now without need to go to the settings page.
- Fixed false positives in filenames. (Thanks to Artem Russakovskii)
- Fixed incompatibility with wordpress installations where the wp-content directory had been renamed.
- Novērsta problēma, kuras dēļ, deaktivizējot spraudni, spraudņa versija varēja tikt noņemta no iestatījumiem.
- Improved HTTPS support by using better code to retrieve the plugin url and load files.
- Removed legacy code to suport upgrading settings from 2.x versions of the plugin. This was done to avoid possible issues with clean installations of the plugin.
- Updated some CSS rules in jQuery UI
- Some minor reformatting and cleanup of code (PHP comments, empty lines, )
3.0.1
- Updated: Localization catalog updated.
- Updated: Spanish localization.
- Labots: nelielas izmaiņas iestatījumu lapā, kuru dēļ opciju lapa dažos gadījumos var būt neredzama.
3.0.0
- New: Fancybox v1.3.4 support This includes many new options, like title position.
- Jaunums: papildu FancyBox zvanu opcija, kas ļauj lietotājam uzrakstīt savu papildu kodu, lai izmantotu FancyBox noteiktās emuāra vietās, piemēram, e-pasta abonēšanas pogās, pieteikšanās u.c.
- New: Revert settings button added to options page. When pressed, a confirmation dialog will appear.
- Jaunums: uzlabojumi opciju lapā, neatbilstošie iestatījumi (iestatījumi, kas ir atkarīgi no atspējota iestatījuma) tiks paslēpti reāllaikā, kas nozīmē tīrāku opciju lapas izskatu.
- Updated: New cleaner code to select thumbnails on which to apply the fancbox script.
- Updated: Many parts of plugins rewriten with many improvements in code.
- Updated: Options are now serialized into a single row in the database.
- Fixed: Plugin should be SSL friendly from now on.
- Fixed: Do not call jQuery option in troubleshooting section didn’t work if easing was enabled.
- Fixed: Load at footer options should work better now.
- Fixed: CSS external files now addded with wp_enqueue_style().
- Fixed: has_cap error: User level value for options page removed, using role now instead. Thanks to vonkanehoffen.
- Removed: jQuery “noConflict” Mode option removed bacause jQuery bundled with WordPress always used noConflict.
- Removed: Base64 data (“data:image/gif;base64,AAAA”) in left and right fancybox link’s backgrounds: It didn’t seem to be working and it is usually regarded as suspicious code, so it has been removed.
2.7.5
- Fixed: Callback arguments are no longer added as “null” when they are not set in options page.
2.7.4
- Fixed: Little error tagging 2.7.3, a file didn’t upload and broke options page.
- Update: Language POT file
2.7.3
- Fixed: Settings not saving in some browsers. Thanks to supertomate
- Fixed: JS being added to other plugins’ configuration pages. Thanks to Brandon Dove
- Added: Support section in options page with better information
2.7.2
- Fixed: Layout problem in options page in WordPress 2.9
2.7.1
- Fixed: Z-index issue was left out in previus release
- Fixed: Setting to close fancybox when clicking on the overlay wasn’t available in the menu
- Fixed: Frame width and height options are now in the “Other” tab
- Fixed: Tabs now translated in Spanish localization
2.7.0
- New: Fancybox v1.2.6 support
- New: New Admin page with tabs for better organization of all the options
- Added: Setting to change the speed of the animation when changing gallery items
- Added: Setting to enable or disable Escape key to close Fancybox
- Added: Setting to show or hide close button
- Added: Setting to close fancybox when clicking on the overlay
- Added: Setting to enable or disable callback function on start, show and close events
- Added: Italian translation
- Added: Russian translation
- Added: “Load JS at Footer” option
- Added: New Changelog tab in WordPress Plugin Directory
- Fixed: Some typos in Spanish translation
- Fixed: FancyBox not showing above some elements (those with zindex higher than 90)
- Fixed: JavaScript code being included in all admin pages instead of just the plugin’s options page.
- Fixed: noClonflict preventing frames to work in Fancybox
- Fixed: Custom frame width and height not being applied
- Updated: Japanese translation
- Updated: JS is now Minified instead of Packed
2.6.0
- Optimized the JavaScript code used to apply FancyBox
- Updated Custom Expression section in Options Page
- Fixed uppercase image extensions not being recognized
- CSS is now loaded before the JavaScript for better parallelization
- jquery.easing.1.3.js compressed (from 8,10kb to 3,47kb) and renamed to jquery.easing.1.3.pack.js
- Added Turkish translation (some strings missing)
- Added Japanese translation (some strings missing)
- Updated Spanish translation
- Updated to use new Plugin API in WP2.7 for better forward compatibility
- Removed /wp-content/ reference in fancybox.php for better WP2.8 support
- Optimized some code readability
2.5.1
- Fixed the plugin not working when selecting Gallery Type “By Post”
- Izlabota kļūda, kas dažos gadījumos neļāva IMG taga nosaukuma kopēt uz A tagu
- Fixed the Custom Expression showing in the Admin panel when other gallery types are selected
2.5
- Support for localizations (Spanish and German localizations included)
- Some parts of the code completely rewritten
- Fixed fancybox files being loaded on the admin pages
- New options for close button position, custom jquery expressions, iframe content
- Options page mostly rewritten, better organized
- Medium/advanced, troubleshooting/uninstall options collapsable, hidden by default
- Better support guidelines and links on options page
- Settings link on the Manage plugins page
- Custom expression hidden when not used
- Title atribute on IMG tags is now copied to its parent A tag for better caption support
- New uninstall options and better handling of new options when installing/updating
- Cleans any old options no longer needed when plugin is activated/updated
2.2
- Updated to FancyBox 1.2.1
- Added new settings to Options Page: Easing, padding size, border color
- Tweaked CSS to prevent some themes from adding unwanted styles to fancybox (especially background colors and link outlines)
- Iespēju lapa reorganizēta trīs sadaļās: Izskats, Uzvedība un Problēmu novēršanas iestatījumi, lai atvieglotu iestatījumu atrašanu.
2.1.1
- Izlabota jauna kļūda, kas ieviesta 2.1. versijā, kas neļāva saglabāt opcijas. Atvainojos par nekārtību 🙁
2.1
- Izlabota liela kļūda 2.0, kas neļāva tai darboties, līdz tika apmeklēta spraudņa opciju lapa
- Pievienotas divas problēmu novēršanas iespējas, kas var palīdzēt dažos gadījumos, ja spraudnis nedarbojas: atspējot jQuery noConflict un izlaist jQuery zvanu
- Additional fixes to caption CSS: Captions should look better now in Hybrid theme, child themes, and other situations where general table elements are improperly styled
2.0
- Brand new Options Page in Admin Panel lets you easely customize many options: fancybox auto apply, image resize to fit, opacity fade while zooming, zoom speed, overlay on/off, overlay color, overlay opacity, close fancybox on image click, keep fancybox centered while scrolling
- CSS completely updated for FancyBox 1.2.0
- Captions fixed in IE
1.3
- Shadows and Close button should be fixed now
1.2
- Updated to FancyBox 1.2.0
- Uses packed version of the JavaScript file (8kb instead of 14kb)
1.1
- Fixed FancyBox not being applied to .jpeg files
- Fixed “Click to close” overlay text
- Moved images to /img/ folder