Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter justderek

    (@justderek)

    Are you still working on adding captions below the thumbnails?

    All the description fields have been input into the Manage Gallery admin screen, if that’s what you mean. If your question is whether I am still working on getting the captions to display correctly on my gallery page, then yes, I am still trying.

    You’ll need to add some php code to your gallery-mytemplate.php file.

    Do you mean this (copied from Alex’s explanation in the previous thread):

    <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box">
    		<div class="ngg-gallery-thumbnail" >
    			<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    				<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
    			</a>
    		</div>
            <?php echo $image->description ?>
    	</div>

    If there’s more php that also needs to be added/edited, I have no clue what it is or how to do it. As I mentioned earlier, I’m pretty much php-illiterate.

    Thanks, I took the leading .mytemplate out of the styles in my nggallery.css file (duh).

    I now seem to have the files in the right directories, because now I’ve gotten the captions to display… but unfortunately, they’re not displaying the right way. The captions are showing up to the right of the thumbnails as unformatted text, like this. I’m fiddling around with the css to see if I can make them display right, but so far nothing I’ve tried has worked. Here’s the link to my gallery again.

    Thanks again – I really appreciate the help.

    So there does not need to be a subdirectory to your theme directory called nggallery at all?

    @johnpope

    Don’t know if you’ve solved the IE testing issue yet, but if not: are you aware of browsershots.org? I use it all the time. As its front page says:

    Browsershots makes screenshots of your web design in different browsers. It is a free open-source online service created by Johann C. Rocholl. When you submit your web address, it will be added to the job queue. A number of distributed computers will open your website in their browser… make screenshots, and upload them to the central server here.

    So you just select which browsers/other specs, put in the url of the page you want to test, and then wait a bit as the screenshots come in and load on the results page.

    It loaded very fast for me – I’m using Firefox 3.0.1/Windows XP.

    I think it looks really nice. I don’t speak Dutch so I couldn’t read the page titles, etc, but I also loaded the site through Google Translate so I could get the meaning of the content.

    Anyway, very nice job! Well done.

    @domi1975:

    Thanks for posting this fix – I was having a similar problem with my gallery displaying in IE (but not in FF, natch), but putting in a fixed height in nggallery.css helped solve it.

    If you want to see, the url is http://theatreneo.com/?page_id=22.

    Ditto arador’s comment about images – I also have customized my stylesheet to display images a certain way, so the new media library/gallery feature is no help to me.

    My real question is this: when I upload media from my computer into the media library, where does it put the files? I’m aware that the point is that I can now manage all of the pictures, audio and video clips that I upload to my blog on this media library page… but sometimes I need to view or change things via my FTP client. Where are they? Nothing in the media library interface tells me anything useful.

    I tried uploading and re-inserting an audio clip in an old post via the new media manager. All that appeared was a dead link of the clip’s filename. Useless – how is the reader supposed to hear the clip? I had to take out the code WP 2.5 inserted and put the file back as it was, using 1pixelout’s Audio Player plugin.

Viewing 6 replies - 16 through 21 (of 21 total)