Author: Olly

  • WordPress NextGEN Gallery Shortcodes

    WordPress NextGEN Gallery Shortcodes

    Whenever we build a website using WordPress and the client requests a gallery – we always use NextGEN.

    I can’t fault them for the features it offers, its a fantastic bit of kit – but when it actually comes to the shortcodes to get it to display stuff – NextGEN fail big time.

    So I google it every time, sometimes finding what I want – but most of the time having to piece it together from examples people have put on forums.

    Today,I found a blog that lists many of the Shortcodes – so I thought I’d repeat them so they are easier for people to find! – Thanks InfoPint!

    List of Short Codes for NextGEN Gallery

    Short codes are the piece of text which you add along with you text on your blog post or sidebars. Short codes can also be added inside the theme templates.

    For a slideshow :[ slideshow id=x w=width h=height ]
    For a album : [ album id=x template=extend] or [ album id=x template=compact ]
    For a gallery : [  nggallery id=x ]
    For a single picture : [ singlepic id=x w=width h=height mode=web20|watermark float=left|right ]
    For a image browser : [ imagebrowse r id=x ]
    To show image sorted by tags :[ nggtags gallery=mytag,wordpress,…  ]
    To show tag albums : [ nggtags album=mytag,wordpress,…  ]

    Create Special Effects using Short Codes  in the template files

    Short codes can be called from any theme template files, using  do_shortcode template tag   from the template files. Here are some examples

    <?php echo do_shortcode(’[ slideshow id=2 ]); ?>

    You can use this technique to create special flash headers with rotating images or create a showcase effect like here www.StyleHaute.com

    Display Gallery view

    http://nextgen-gallery.com/templates/galleryview/

    [ nggallery id=1 template=galleryview images=0 ]

    Useful Links for NextGEN Gallery

    http://nextgen-gallery.com/custom-fields/

    http://wordpress.org/support/topic/294912

    http://www.visser.com.au/blog/list-of-wordpress-plugins-addons-for-nextgen-gallery/

    http://speckyboy.com/2008/10/23/10-powerful-shoppingecommerce-plugin-solutions-for-wordpress/

    http://www.webdesignerwall.com/tutorials/css-decorative-gallery/

    If you can think of any more shortcodes – or if NextGEN include any more in future releases then please comment.

  • Android Tablet of Awesomeness

    For the last god knows how many months i have toyed with the idea of buying myself an android tablet. For those that don’t know, they are basically similar to an iPad, but with varying specs – and they are a lot cheaper! You don’t have to buy in to the iTunes hype – you are free to roam which is how it should be if you ask me 😉

    Anyway – i finally caved in and bought one the other day, it should be with me in a day or so – and i am stupidly excited! I haven’t been this excited for a long time! The one i have chosen is a 9″ tablet, as i have friends with 7″ and 10″ and they don’t feel right – so went about in the middle as i felt that would be about perfect.

    Spec wise its above average compared to a lot of andrid tablets – it comes with a 1.5ghz processor which is nearly 50% more than 90% of its counterparts – and 8gb internal memory, and 1gb ram – full multi touch capacitive screen etc etc – its the bees knees 🙂

    My only 3 fears are;

    1. The keyboard will be too small to type on
    2. The battery will be shit
    3. The WiFi range will be shit

    If all of the above 3 points are not the case when it arrives, and everything else about it is cool – ill be one happy monkey 😀

  • Life changes

    Not only is that the title of one of my favorite Wu-Tang tracks,  its also a very true statement. You never know whats round the corner, and it doesn’t matter how good you think you’ve got it – you could be back to square one before you can say “smoke me a kipper, ill be back for breakfast…”

    For the last few years of my life i’ve been in a relationship and going down the whole settling down, having kids kinda route – very strange for me at first as its not something i ever really wanted, but i warmed to it and it soon became what i wanted to do with my life (that and work loads to earn loads of money of course)

    Then due to some still pretty much unknown (to me) reasons the relationship ended – which left me having to make changes to my life that i never thought i’d ever have to make again. 🙁

    I’m now living with a couple of my mates, nearer work – just outside Mansfield. The house is lovely, its got an awesome back garden and a garage for the caddy – if the circumstances for me moving here weren’t so shit, i’d have said that i’d landed on my feet with this house! 🙂

    I have to make the best out of any situation im in, so now that the focus of my attention has shifted i find myself in a position where i have more time, and much less reponsibility – so im filling this time with new ventures, old ventures resurrected and generally doing all the things i set my heart on all those years ago when i was starting out in my entrepreneurial journey through life.

    I still get to see my dog at the weekends, so my weekends will consist of long walks getting lost in random forests, trips to the seaside and generally spoiling her rotten! No matter what i do through my life, she will always be the most important thing to me and the time i spend with her will always be treasured.

    More soon…

    Peace!

  • Rap Battles Ruined my Life

    Ok, so a good few years ago me and some friends started watching Rap Battles on YouTube, we’d laugh at the likes of Dirt Bag Dan making jokes and spitting bars to his opponent… But after a while the gun bars and American references got a little too much and we all kinda lost interest.

    A few months ago, Liam (friend and business partner) linked me to a new rap battle that he said i’d like, it was Blizzard vs Mark Grist – Student/Teacher Battle from Dont Flop Entertainment, and after watching it, laughing my ass off for 17 minutes, i was once again hooked!

    After watching a few other battles i decided that i needed to really swat up as there were too many “in jokes” and references to old battles and i wasn’t sure what some people were referring to in some of the rounds.

    So i went back to the very first Dont Flop-esq Battle, which is hosted on Don’t Flop Founder, Eurgh’s own YouTube account – EurghTube. I then proceeded to watch every battle on EurghTube, until i’d seen them all. Then, rather than watch every single video on the actual Dont Flop channel i singled out certain MC’s, searched for them (within the Dont Flop channel of course) and then watched them from debut right through to the newer stuff.

    I find the level of intellect and preparation from some of the battlers is just outstanding, people such as Tenchoo and Lego make me actual LOL at times, and then people like Micky Worthless and Lunar C both got bars, but their stage presence and jokes add an element of humor to Dont Flop that really makes it stand out as one of the most entertaining things on YouTube right now.

    Being the type of guy i am, i want to get involved in some way, not sure how as they have most things locked down, but i extend this offer to the Dont Flop team, if you need help with anything web-related then im your man – that includes help with the Blog too!

    Im off to mow my lawn, sit in the sun, and probably watch more rap battles!

    #DFAFD