Fancybox Conflict issue - popup

I have quick view pop up which uses jquery.fancybox.pack.js and a slider with image gallery popup which uses a jquery.fancybox.js
There is a script error in console as "TypeError: $.fancybox.getInstance is not a function" and also there is an issue with slider image gallery poopup(opening first image only on every image click)
I tried to solve the script error by removing jquery.fancybox.js file initialized in local.xml file. Now the script error is solved. But my slider with image gallery popup will not work.
When I initialized both jquery file in local.xml, got an error as "Error: fancyBox already initialized".
What could be the reason for this. How can I solve the issue with slider image gallery pop up.
Are these files(jquery.fancybox.pack.js and jquery.fancybox.js) same?
Please help.

Sounds like you are mixing different versions of fancyBox.
jquery.fancybox.pack.js is packed version of jquery.fancybox.js and it was shipped with v1 and v2.
V3 now has minified version (jquery.fancybox.min.js) and only v3 contains getInstance method.

Related

Maui Application Cannot Find Splash Screen Resource

The Package.appxmanifest in my Maui application (latest version, .NET 6, VS 17.4 Preview 1) cannot "find" the Splash Screen file I specify in the Splash Screen field, resulting in a DEP0700 error (see below).
The Visual Assets tab of the Package.appxmanifest looks like this:
The Resources\Splash\mysplash.png file sits on disk as mysplash.svg:
It's my understanding that Maui converts the svg file to a png file during compilation and that the app manifest should reference the png file as a result.
For the record, I also tried these path/file name references in the Splash Screen field before recompiling and none of them worked:
Resources\Splash\mysplash.png
Splash\mysplash.png
mysplash.png
Resources\Splash\mysplash.svg
Splash\mysplash.svg
mysplash.svg
I get this when building:
DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(33,27): error 0x80070003: Cannot install or update package 0ecaf7bf-457c-450a-94a5-181406568f05_9zz4h110yvjzm because the splash screen image [mysplash.png] cannot be located. Verify that the package contains an image that can be used as a splash screen for the application, and that the package manifest points to the correct location in the package where this splash screen image can be found.
EDIT: The Build Action is indeed set to MauiSplashScreen.
This really should be so difficult. It would be great if the error message provided gave a clue as to where the system is looking for the file, if the file is there but is just in the wrong format, or some other clues...
Does anyone have any ideas?

How to hide the the navigationbar that present in pdf viewer plugin flutter

I need to hide the navigation bar that present default in the pdfviewer plugin flutter.I used to change the value of showNavigation value to false but it doesn't work .I use the plugin flutter_plugin_pdf_viewer:any here is my code:
Containe( width:130,
height:130,
margin:EdgeInsets.all(20.0),
child:PDFViewer(document:doc2,
showNavigation : false,/*here is my issue ,when i set like this it shows nothing in the UI*/ ),)
This plugin solves this issue please check the below link
https://github.com/lohanidamodar/pdf_viewer/pull/2
Use this plugin
advance_pdf_viewer: any
I have solved this issue by changing source code of this plugin. for hiding navigation tool bar in the pdf viewer plugin use this plugin for viewing only single page from pdf :)
https://github.com/SmilingDeveloper/newpdf_viewer.git

jQuery-File-Upload: Image preview not being generated for all images

For most images jQuery-File-Upload is displaying a preview image. However, for some large images (14MB) no preview is being displayed. Why is this happening and is there anyway to fix this? Unfortunately I am not seeing any errors on my web dev console when this happens so I have no idea how to debug this issue.
Here is a link to an example image that will not display a preview for me.
This helps me in same situation:
in file
jquery.fileupload-image.js
change parameter
loadImageMaxFileSize: 40000000 /40MB

Typo3 GraphicMagick Thumbs transparent

Im working on a website using typo3 and the image handler being used is GraphicMagick. At an certain page im displaying an Latest view news item.
This news item contains an media pdf file.
So when I visit that page I will see an Thumb of that pdf since that is being created by GraphicMagick and stored in my typo3temp folder.
Now the real question is.. that this gif file, is like 10-15% transparent at the top.
I have no idea how this comes.. the settings in the installation tool look similar to the onces I use on a different website.
Did anybody see this before and knows how I might resolve this ?
I'm using the following versions:
Typo3: 6.2.11
imagehandler: Graphics Magick
[GFX][thumbnails_png] = 1
Solved it for me, gifs gave me a problem

ModX Evo: TinyMCE wont insert image path into image URL in selector

This is occuring on ModX Evo 1.0.15.
When I try to select an image (or file) using TinyMCEs image selector I can upload and browse for the image but when I select it to place within my text nothing happens - the image path area remains blank.
Heres a video demonstrating what happens: https://www.youtube.com/watch?v=VSgTsyj9B6k&feature=youtu.be&hd=1
Does anyone know how to fix this?
Weird, never had that problem.
Did you try update / reinstall of Evo? (or only tinymce and kcfinder)
Are config paths correct?
Try testing in Firefox, It's possible it's related to Chrome. If it doesn't work in Firefox, Reinstall the plugin.
Clear your cache and try selecting the image.
For a temporary solution if this doesn't work, just type in the image name into the box 'images/imagename.jpg' (minus quotes)
Good Luck