divauno
Forum Replies Created
-
Glad to be of help!
I think you still have to set the size in the Shadowbox JS plugin options as well to the size you want. I’m not testing this right now – but I noticed under both the code and Shadowbox JS are set to the same width and height.
As for the Video thing try this:jQuery(document).ready(function($){
$(“.ngg-gallery-thumbnail a”).each(function (arr){
if ($(this).attr(“title”).substr(0,5)){
$(this).attr(“rel”,”shadowbox;width=405;height=340″);
$(this).attr(“href”,$(this).children(“img”).attr(“title”));
}
})
});I using my gallery for both images and video… however, you’ve got me thinking if the “Video” is necessary to use both.
I have a better one that will make it easier for your client. I commented out all the code in the ngg-video-extend.js file (You can delete all of it if you like but I decided to comment it out) and then I insert this:
jQuery(document).ready(function($){
$(“.ngg-gallery-thumbnail a”).each(function (arr){
if ($(this).attr(“title”).substr(0,5)==”Video”){
$(this).attr(“rel”,”shadowbox;width=405;height=340″);
$(this).attr(“href”,$(this).children(“img”).attr(“title”));
}
})
});I got this code from herehttps://blog.creonfx.com/javascript/wordpress-video-galleries-with-nextgen-and-jquery
You can change the width and height for the shadowbox to whatever you like. But instead of wrapping the video url in [nggvid][/nggvid] and putting it into the description box you can put the video url in the title box. Put the title on the first line in the description box and it will show up above the video in the shadowbox. You can now put html in the description if needed. I can’t remember if I may have done anything else… but try that and let me know if that works. I think it will be more simple for your client – I have a client using the same format with no problems.
Yes it is resolved. But the plugin makes it where you cannot use html in the description field. I believe somehow the plugin should insert it’s own field for video urls instead of using the description field.
Forum: Themes and Templates
In reply to: Creating a category template for K2I really need help with this. If anyone has any suggestions that I haven’t tried. Believe me… I have not given up and while waiting for help I am on every website I can find through google trying to figure this out.
Forum: Themes and Templates
In reply to: the_category() tagThere is a plugin called Advanced Category Excluder
Forum: Requests and Feedback
In reply to: [Plugin: NextGEN Gallery] Fullsize Recent ImageOk. I should have known I’d figure it out… although I didn’t want it to take so long. And it really should not have taken that long but watching tv was a factor.
Anyway… I just changed type to type2 for recent
Forum: Requests and Feedback
In reply to: [Plugin: NextGEN Gallery] Fullsize Recent ImageOk… A lightbulb went off and I remember when I was looking through nggwidget.php I saw a bit of code that read show=>’thumbnail’
I just changed thumbnail to original.My next move would be to remove the link to the fullsize image without it affecting anything else. I may want to use Random Images in my sidebar (I don’t know yet) and I don’t want those links affected. I will continue to tear apart this file to see if this is possible.
Forum: Fixing WordPress
In reply to: Using browser specific css isn’t working.I figured out that I actually have to put a append a hack to get it to work. so I applied * html and everything is showing up now.