• For a gallery on a photography site, I’d like either the thumbnails to include the titles of the individual photographs, or the image in the slideshow.

    Placing the short code [nggallery id=2 template=caption] on the page isn’t enough. My page displays the images I’ve uploaded to wp-content/gallery, but no captions, titles, or alt text. Some clear instructions on how to do this would be helpful, please.

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 14 replies - 1 through 14 (of 14 total)
  • sorry I have no helpful suggestions, only a similar, possibly related problem, but it’s new…In the past, putting a slideshow up automatically showed the captions as part of the display. Sometimes you’d have to slide your cursor over the slideshow to make them show, sometimes they’d just show…now it’s not showing the captions at all.

    I assume this started with the last upgrade, but I don’t really know. Anyone else having this problem?

    http://www.janefancher.com/TheCaptainAndLime/

    Thread Starter DrStrange

    (@drstrange)

    Part of the difficulty I’m having is that you — and others on this forum — speak of “captions” as if I should obviously know what you’re talking about. How does one get captions into, onto, or from the image files uploaded via nextGen? It uploads the files into the default folder of wp-content/gallery and pulls them out for display on the page with the short code. Where are the captions/titles/alt text?

    Read the (very sparse) instructions on Alex Rabe’s Nextgen website about template=caption

    You add the captions in the Manage Gallery edit page. The template=caption call then shows the caption according to the template you use or edit

    You will very likely need to edit the template to display what you want

    Captions don’t show in slideshow mode and the code for a slideshow is in a .js file. The PHP for all the other views (gallery, album, imagebrowser, etc) are in WordPress > WP-Content > Plugins > Netxtgen-Gallery > View

    If you want to create a custom template follow Alex’s instructions

    Captions in the slideshow come with the “show navigation bar” tick on the slideshow settings. My suddenly disappearing captions (I’ve been using the plugin for three years…a lot! :D) was that dumbbell here forgot she’d reduced the screen size. (ctl – in FF) in order to do some work, and it reduced the slideshow window to where it didn’t show the bar. πŸ˜€ Restoring the actual screensize solved my problem. (Hitting self in side of head.)

    Dr. Strange…very sorry. In our defense, you did ask how to make the captions display, not how to insert captions in the first place, which kinda makes it seem that you had captions you expected to display. I’d really suggest, if you haven’t already, that you thoroughly go through the NextGen selections on your dashboard. Nextgen is the plugin that taught me about searching the dashboard for plugin menus! πŸ˜€

    Good luck! It’s an amazing plugin, once you figure it out.

    Oh…you might have to run your cursor over the bottom of the image to make the navigation bar/captions display…depends on your system.

    Thread Starter DrStrange

    (@drstrange)

    Yay! Thank you. Yes, very sparse instructions for an awesome plug-in.

    Okay. I think I got it.

    If you want captions for your thumbnails and slideshow, first go into Manage Gallery edit page, and click on the Gallery to which you want to add captions. A window will open that will allow captions to be added. (I didn’t know about this step at all.)

    Add your captions for each image. I’m guessing that the number of characters “allowed” depends on the size of the thumbnails and your page. (Is there a way to show the captions only in the slideshow, not the thumbnails?)

    Then place the short code [nggallery id=2 template=caption] on the page where you want your gallery to show.

    I know there’s more, but this was the “simple” instruction I couldn’t find. Yes, search through the dashboard is good advice, but after a while one doesn’t know where one is in the dashboard, and sometimes there’s a lack of clues.

    Thanks.

    That’s so true. There’s a great plugin for managing the dashboard called menu editor which allows you to order those pesky critturs just how you want them. I have three different sites I keep up with and that’s one of the first things I put on, and NextGen is always one of the top four. OTOH, with the new WP toolbar across the top, NextGen has its own little dropdown menu, which is nice.

    You should also have a nice little button added to the Tiny MCE toolbar (I assume…I have Tiny MCE advanced) that is put in by NextGen that will put the code in for you. It has a dropdown list of your galleries, which is nice. The slideshow doesn’t have any “captions” specified, it just shows them if you’ve checked the navigation bar in the settings page.

    You can make the caption as long as you like, but you need to format your display so that it shows. The slideshow seems only to show a single line, for instance, but my wp-estore display can have as many lines as you want.

    For simple lists and captions…If you look on this page http://www.closed-circle.net/ebook-catalog/ (no, I’m not trying to sell you a book! just look at the book displays) those are just galleries, tho the template is one written by the estore author, but the “caption” is composed of html and short codes. to control the caption width, just put in a (less than)br(greater than) in appropriate places.

    You can control the image list columns on the options pages. Unless you tell it otherwise, it will put as many across as captions allow.

    Glad you’re getting it figured out!

    Thread Starter DrStrange

    (@drstrange)

    So sell me a book. Should I get the full version, mini, mobi (for Kindle?) or epub (Calibre, Adobe Digital Reader)?

    I thought your name sounded a bit familiar. Enjoyed MZB’s Darkover books, Anne McCaffrey’s dragons (yeah, of course), starting to read some Octavia Butler — maybe it’s time I read even more. Currently spending time on Barsoom, making my inner 14 year old very happy.

    Thanks so much for your help. I created the web site that I turned over to someone else a couple of years ago, and now am inheriting back — but there’s definitely more available for WordPress than when I started. And, of course, those vague “instructions” that require a forum to actually make sense.

    Personally, I’d get the Full. That way, no matter what you want to read it on, you probably have a file that will work. They’re all the same price…more a convenience in file size than an actual price difference. I’d for certain get the Mini, which has the three main bases, pdf, epub and mobi, covered. These are the three we can actually fine-tune the format on. They are DRM free, so you can always use Calibre to turn them into anything else…which is pretty much all we do for the Full.

    If you like MZB and/or CJ Cherryh, I think you might well enjoy mine. (Hope!) My writing style is a lot like CJs, my subject matter and approach to character development is maybe a bit more like Marion’s. They both like/liked my work, if that makes any difference. πŸ˜€ (Can you tell I’m not a great hawker? (blush))

    WP has gotten amazing! When we started Closed circle…goodness, three years ago now? Lynn really thought Joomla was the way to go. Meantime, CJC and I got our blogs going and I, being graphics heavy (CJC and I started working together when I did a Graphic Novel of Gate of Ivrel) immediately started looking for something to handle images.

    I found NextGen and frankly have never looked further. I love it…have 100 different galleries so far on my blog, between photos and my covers.

    Lynn was floundering with Joomla (which is saying something…we’d both done quite a bit of good old fashioned web-design) and I finally did the original site in WP. We thought it was just going to be interim, but decided it was just fine. I just got through with a total revamp of both the Closed Circle site and my own blog. There are plugins galore, but the only one I absolutely must have is NextGen.

    I’ve done some slideshows of my covers’ development over on my blog:
    http://www.janefancher.com/TheCaptainAndLime/all-the-slideshows-gathered-into-groups/my-galleries/
    which have been quite a hit. All I had to do was come up through the layers of my PSP file and save separate jpgs, then put them in a gallery and insert a slideshow. Can’t ask for easier!

    Anyway…love you screen name! I’ve still got a bunch of DS comics from the 60s in a box in the basement.

    Have you seen the JC movie yet? Is it worth paying money or should I wait for the BluRay? πŸ˜€

    Haven’t seen anyone want to do what I want to do but would certainly appreciate any expeditious way to do it. Except for 12 images of the 9000 on my site, I don’t care to give the user alt text with some cryptic file name. What I want to do is have the alt text always be the same. I love this idea, but seeing that my images are already in established galleries do not want to a) manually insert the same alt text 9000 times and b) do not want to reinstall all the galleries after downloading then uploading again following insertion data in Photoshop. Any ideas? I saw the option to edit the one caption php file so that it will allow for a URL in the alt text. I do not want that, I want the same branding on all images to show up in the center of the image where the alt text shows and on mouseover.

    “I want the same branding on all images to show up in the center of the image where the alt text shows and on mouseover”

    Look in the PHP for the view you use, find the echo command that displays the alt text and replace it with echo “Your branding text here”

    Nick Froome

    Thanks, Nick.

    I have tried every conceivable attempt at this, as it sounds as easy as you recommend, but I must be doing something wrong. Everything gives me a parsing error when keeping my text in the php tag except the code below, which still does not alter the alt text:

    —-

    <!-- Thumbnails -->
    	<?php foreach ( $images as $image ) : ?>
    
    	<div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> >
    		<div class="ngg-gallery-thumbnail" >
    			<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    				<?php if ( !$image->hidden ) { ?>
    				<img title="<?php echo $image->alttext ?>" alt="Β©2012 W8R.COM" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
    				<?php } ?>
    			</a>
    		</div>

    —-

    Can you see what I am doing wrong?

    Thanks! Steve

    Ok, got it! This is working for me now. Thanks again, Nick, that helped.

    <img title="Β©2012 W8R.COM" alt="Β©2012 W8R.COM" src="<?php echo $image->thumbnailURL ?>"

    Excellent. You could be a smartarse and use a PHP strtotime expression to render the current year. That way you wouldn’t need to modify the code each year if you want the copyright year to change

    Nick Froome

    I was looking for a slideshow and found Nivo jquery slider. I’ve had it for 5 minutes and it looks brilliant. I’ll keep you posted !

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: NextGEN Gallery] Image captions/titles/alt text’ is closed to new replies.