Michael
Forum Replies Created
-
@cais: Thank you for your quick reply. Your link seems to offer not a really pretty solution for me, so I rolled back to a previous version (2.0.40) and it works without any issues.
@photocrati – as adsoink writes the problem is that the slash isn’t inserted by default (fresh install) in the Other Options.
additional to that new galleries created from Gallery > Add Gallery / Images stores an absolute path to the new gallery (ex. on local machine) “D:/xampp/htdocs/test/wp-content/galleries/first”
galleries created from Gallery > Manage Galleries stores an relative path ex. “wp-content/galleries/second”
Tested with WP3.6 NGG2.0.2 beta
@adsoink I can confirm your issue.
If you create a new gallery via Manage Galleries – Add new gallery, a relative path is saved to db with a missing trailing slash between “wp-content/galleries” and my-gallery-name ex. wp-content/galleriesmy-gallery-name
You can avoid that if you create a new gallery via Add Gallery / Images, leave the preselected Create a new gallery and upload your images there.
Now we have a absolute instead of a relative path in the db and it works.
Tested with NGG2.0 and 2.2 beta
@aundc
Do you have tested the “random image widget” without my modification? Maybe nextgen itself is not fully compatible with this plugin. My mod should not affect the “ngg-core”-compatibility to other plugins.@barnadave
generally the js-slideshow modification is for users (like me) which want to have a js-only-slideshow.do you have tested this without my modification?
@both
I’m currently very busy, otherwise I’d check it out myself. Please understand that I can not guarantee you support due to my little leisure time.Thats the point. You’re using an old version of my modification. Please use > this link – click me <
Hi barnadave,
actually the script should work for infinite pictures without any additional modifications. I have tested my mod on my demo page, and on a commercial webpage, each with a lot of pictures without any problems.Afaik you have changed the number of pictures which will be preloaded by the script. That could affect the performance negatively.
As it is an undesigned element you can set any style in any css file wherever you want.
I would prefer the css file of my template, so it doesn’t get overwritten if I (accidently) update nextgen.You can also add a style directly into the post/page (HTML view) as I did for the demo page, e.g.:
<style> div.ngg-slideshow-title { background: #000; color: #FFF; font-weight: bold; padding: 5px 0; text-align: center; width: 320px; } div.ngg-slideshow-description { font-style: italic; padding: 5px 0; width: 320px; } </style>
Please note, that ngg-slideshow-title and ngg-slideshow-description is a css class since the last update and not an ID for better HTML conformance if you have multiple slideshows.
You’re confusing something.
There is a difference between the[slideshow]
shortcode (which I have modified) and your shortcode[nggallery]
.Nevertheless I know what you mean and I have done some additional modifications to support title & description with the ngggallery shortocde.
view demo here
download new version herehave fun. ??
You’re welcome, but I have made it for me too. ??
I have a small bugfix. If you have a js-slideshow with only one image, no title/description were shown. This is fixed now.
You can get the new ngg.slideshow.min.js here.
Or get the entire modified plugin here.
Removed a relict in nggfunctions.php use this link instead: click
As promised:
Title / Description Modification for the great NextGEN Gallery Plugin Version 1.9.6
(now both title/alt text AND description are supported)
Installation:
1. Backup your files first!
2. Replace the following files:
[root] is your nextgen gallery root directory e.g. [your ftp root]/wp-content/plugins/nextgen-gallery as default
2a. [root]/lib/shortcodes.php with this one
2b. [root]/nggfunctions.php with this one
2c. [root]/js/ with this one -now minified ??
3. thats it!Usage:
Use the new shortcode “js-slideshow” like any other NGG shortcode.
E.g. [js-slideshow id=5]For styling use “#ngg-js-slideshow-title” or “div#ngg-js-slideshow-title” and “#ngg-js-slideshow-description” or “div#ngg-js-slideshow-description” in your CSS file.
You can find all modifications by searching “//MOD” with every text editor.
These two files are not final version of my modification or something. I just wanted to say that there is a solution to the problem and I am currently working on it.
(After I’ve spent much time to search for a suitable plugin or extension for NGG. I thought that information might be helpful.)I had already found and corrected the error that you have discovered with the captions, it was a mistake in the Javascript file.
My current version works fine with Safari5.1.7 on a windows machine.
Now I am working on an additional shortcode that let you use the javascript-only version of the slideshow. If it works, I will publish my new version.
I had the same “description”-problem, but I discovered a (quick n dirty) way to solve this (maybe it is helpful for you)
1. Backup your files first! ??
2. Replace plugins/nextgen-gallery/js/ngg.slideshow.min.js
with this one pastebin.com -i know it’s not minified, but its better for editing
3. Replace plugins/nextgen-gallery/nggfunctions.php
with this one pastebin.comYou can find all modifications with a short description by searching “//MOD” with every text editor.