How can I try this jquery plugin - Galleria? - jquery-plugins

Ok. I have some experience with HTML and CSS, little with Javascript and none with JQuery.
And I'm trying to try out in my HTML file the Galleria plugin with fullscreen theme but I can't make it work. ( http://galleria.aino.se/ )
It only show the empty page with no pictures. I took the source code from the demo page and I pasted in my page and after some little modifications with the url of the theme, I managed to have on my screen only the image, without the "mechanism". Any help?
I think the instructions were made for an old release of the plugin and that's the reason I can't get it work.
P.S. I found a ready made demo on googlecode, but I can't get the fullscreen feature. Any help?

Try passing debug:true to yield more errors if you are seeing a blank page. Regarding customizations, try the documentation and API reference.

Related

Syncfusion RTE duplicates image on paste

The problem is when I copy and paste an image from "Paint" to the Syncfusion RTE it duplicates that image for some reason.
Using ej1 Version=18.3450.0.35 in Asp Net Web Forms
I've tried to update Syncfusion to the latest version but it didn't help.
Checked the clipboard and it has only one file, as expected.
Replicated that in the official Synfusion Demo:
https://asp.syncfusion.com/demos/web/richtexteditor/inlinetoolbar.aspx
Works well in another Syncfusion demo:
https://asp.syncfusion.com/demos/web/richtexteditor/paste-cleanup.aspx
I've tried to put the same RTE as in the second (working) demo but it doesn't work for me.
Any ideas will be appreciated!!!
.aspx file
c# RTE initialization and tools
Fixed by removing 'html' from the 'style' section in the RTE innerHTML.
The reported issue is fixed in your mentioned version “18.3.0.35” in RTE, so kindly ensure this after clearing NuGet and browser cache in your sample.
Please refer to the following release notes.
https://help.syncfusion.com/js/release-notes/v18.3.0.35?type=all#ejrte-bug-fixes
We have also attached a simple sample in this version for your reference where pasting images from paint is working fine.
https://jsplayground.syncfusion.com/fkjqifbh

"file://" breaks href in CKEditor

So I'm using CKEditor (4.4.7) through a Redmine plugin for my project. I've spent 2 whole days now searching this issue and have tried a bunch of things to no avail, so I am tapping out and asking for help. What is happening is that when I attempt to use the "file://" syntax for a link in the editor, it appears to break the HTML href operation.
This is what I have written:
My Drive Link
This is what the CKEditor ends up generating for my page:
<a>My Drive Link</a>
If I replace the "file://" with say "http://", then it works fine:
Link to Google
Result:
Link to Google
Just to make sure I am writing this correctly, using Chrome's developer tool, I change the line of HTML on my page with exactly what I have written and the link now works beautifully. It seems CKEditor doesn't know what to do with the "file://" part. Can anyone shed some light on this?
I have tried a number of customization tricks with the editor config file to force the "< a>" to have an 'href', but nothing has worked so far.

Ajax pagination not working with wp-property plugin

I'm using the wp-property plugin with Genesis Framework. The plugin has an ajax pagination in the properties page but is not working.
While testing I realized that it works fine with Twenty Fourteen theme, I posted it on the plugin forum suport and they told me that I'm getting this error:
'You don't have permission to access /cms/wp-admin/admin-ajax.php on this server.'
But I don't know how they are seeing it(because I can't see it with firebug) or why it's happening.
I tried the fixes of this post:
https://wordpress.org/support/topic/dont-have-permission-admin-ajaxphp-add-new-category?replies=11
but is still not working.
The link to the website: link
Thanks!
I figured out!
The plugin has a property overview template that can be customized by copying it into the theme directory and editing it, and it seems that it doesn't accept many changes because the problem was there.
Deleting the customized template solved the issue.

Three.js Example code, from StackOverflow, not working

I copied and pasted the Three.js code given here into an HTML file and downloaded the three.js package from the website, and configured the <script> tag to point to the location of the file three.min.js.
Nonetheless, when I open the HTML file, it displays a blank white screen.
What am I missing?
well I tryed the exact same thing and I'm seeing the wireframe cube rotating on screen. A few things to try.
1) drop the three.min.js right in the root folder and copy/paste the example code again without any alterations.
2) did you get the three.min.js from the zip package under the build directory? Or did you navigate the git repo and copy/paste it? If copy/paste was used be sure to click the "Raw" button to get the code without the wrapper HTML.
3) try the latest Firefox or Chrome browsers first. If it works there but not in say Safari, there are a few steps you need to take to enable WebGL in Safari first.
4) your video card may be blacklisted due to driver incompatibilities.
If none of these help, then post up the code, where you got the Three.js package, what browser and video card your using and I'll see what else I can do to help :)
I had the same problem. Windows hides the file extensions by default. I change it in folder options and it worked.

ckeditor: mediaembed plugin won't work

I'm using CKEditor for my site.
Now I found the plugin called "MediaEmbed". I need it for embedding YouTube videos.
I installed it and the integration worked fine, but embedding won't work.
When you paste the code into the text area in the embedding dialog and then click on OK in IE and Chrome nothing happens and in Firefox it just adds a image as a flash-content-placeholder.
Let's say the flash-content-placeholder image would be just in the wysiwyg interface, but then i should get the embed code when I click on "view source" - but no, there you just see the source of the placeholder image div and img tag.
Then let's say the embed code is saved internally, so I save the file I create with CKEditor, and the out I get is just what I entered without the stuff the MediaEmbed plugin has generated at all.
How to fix this?
Please help!
Yours Joern.
use firebug and see, it'll be giving a cross domain error. the plugin has a bug. use try catch in the place where is accesses the windows.name property for a workaround.
Try istead ckeditor youtube plugin

Resources