exit6
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Plugin causes fatal errorI’m getting this too.
This is great — how do I implement?
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] singlepic full image URLBump.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Link images to pagesThere’s a way to disable the link from a single image, and then you can set it manually in your theme’s php. I just can’t remember how to disable it, but I found it by searching this forum.
Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] Display thumbnails under main picI’ve been trying to do something similar.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Helpful bunch you people areYeah, I’m feeling a little neglected too, but hey, it’s free.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] “Featured Image” in a galleryI seem to be on my own here but I’m laying this out in case anyone else is trying this.
I have half a solution here, but I’m not a good enough php guy to do the whole thing. Here’s what I’ve got so far, any help would be great:
Disabled the link on a single image by pulling it out of singlepic.php.
Made a custom field named “featuredImage” on the post and put the shortcode for the image there.
In single.php, do:
<?php if (have_posts()) : while (have_posts()) : the_post(); $custom_field_featuredImage = get_post_meta($post->ID, 'featuredImage', true);?>
and in the spot where I want it:
<?php echo do_shortcode($custom_field_featuredImage); ?>
So that adds the image to the page without using the main content field. I was trying hard to avoid using custom fields so as to make this site totally idiot proof, but I can’t see any other solution.
Next to set up the image box link, which is where I got stuck. I made another custom field called “galleryNumber,” which I use in the a tag like this:
<a rel="gallery[set_<?php echo $custom_field_galleryNumber; ?>]" class="lightview"
Which fits the syntax of the image box I’m using. So that tells the image box that this image is part of the gallery. It works (I know it’s a hack..), but I’m stuck at the href.So if anyone happened to read this far, any idea how to get the URL for the singlepic image? In singlepic.php he does it like this:
href="<?php echo $image->imageURL ?>"
But that doesn’t work in single.php (of course).Then the hard part, I need to find a way to pull the gallery id and use it in the lightbox link.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Gallery thumbnails WORK but have varying sizes.Do you have “Ignore the aspect ratio, no portrait thumbnails” checked, in your Thumbnail settings?
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Bypass shortcode?Great, thanks! Fantastic plug-in, best one I’ve used.
Saved me (and my client) a huge hassle too! Thanks!
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] “Featured Image” in a gallerybump
Forum: Themes and Templates
In reply to: Styling a galleryNo luck on the add_filter, although I’m not sure where to put it in the context of that file. Should it be wrapped in tags?
Is there a way to display the images more directly, without the shortcode? I’m trying to pull the fist image in the gallery and make it big, then have the rest become thumbnails beneath, but without all the extra css and html that is getting generated. Ideally I’d just get a bunch of img tags with urls.
Thanks.
Forum: Themes and Templates
In reply to: Styling a galleryGreat thanks, I’ll try that.
Forum: Themes and Templates
In reply to: Setting up a galleryGreat, thanks. Guess I’m off and running —
Forum: Themes and Templates
In reply to: Setting up a galleryAh, perfect. So this is just a post, eh? How do you add images in admin? Is there a tutorial or something?
Thanks, even that link is a great help.