see nggSinglePicture() in nggfunctions.php
ok this function works great, but is there a way to crop the resulting image with your lib?
hi
i found a way to generate the images with the specific size over the ngg_Thumbnail class – but i want to generate the images on the fly so i tried display the thumb with the show method ….
<img class=”cover” alt=”<?php echo $gallery->title ?>” src=”<?php $thumb->show(70) ?>” />
instead of the image i only get some cryptic text output (�]����{�Q��}(a��l_r�@Q@ EPIKI@%���) :/ when i save the image into a file it works …
i hope someone could help me with that problem!
Have you found a solution to this problem? I am looking to have a preview pic for my galleries too – I thought if I inserted the image ID of the preview image into custom fields on the post, then I could insert a string into the loop to echo the html to display the image next to the title
Now I have a list of post titles, but no idea how to use nggsinglepicture() and the custom fields call to display the picture!
Any help would be welcome.
I too am looking for the same thing – a preview of the gallery (not album) that I can use for a thumbnail.
HELP!
I found this post which could be helpfull…
..but I have no idea what to do with the code – any ideas where I put it and how I call it? This has got me stumped…