Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8190647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:43:24+00:00 2026-06-07T03:43:24+00:00

I’m looking for an easy way to do a photo gallery on WordPress with

  • 0

I’m looking for an easy way to do a photo gallery on WordPress with a page indicator. I found the WP Nivo Slider http://wordpress.org/extend/plugins/wp-nivo-slider/screenshots/ but it is very restrictive in terms of what it can do and when one can use it.

Ideally I’d like to just include a bunch of images in the HTML and have some slider automatically pick up on the tags and combine them into one…any simple, but flexible API would be excellent!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T03:43:25+00:00Added an answer on June 7, 2026 at 3:43 am

    I’ve not looked at the Nivo Slider WordPress plugin and it’s restrictions but the Standalone Nivo Slider can be used easily in a WordPress install and gives you lots of flexibility. I’m not sure what you mean by page indicator but you can pull info out of the page/post if you want. Just to give you an example, here’s some code below I used to create an image slider using a custom query pulling the featured images out of posts in a specific category.

         <!-- Slideshow -->
            <div id="nivowrapper">
              <div id="nivoslider">
                <?php 
                $featured_slide = new WP_Query('cat=4&showposts=-1');
                while ($featured_slide->have_posts()) : $featured_slide->the_post();
                  ?>
                   <?php 
    
                    if (function_exists('has_post_thumbnail') && has_post_thumbnail()) {
                        $img_height = 293;
                        $img_width  = 960;
    
                        slider_image(thumb_url(),$img_width,$img_height);
    
                    }
                  ?>
                <?php endwhile; ?>
                <?php wp_reset_query(); ?>
              </div>
            </div>
        <!-- Slideshow End -->
    

    This uses the method slider_image() which is in my functions.php along with the method thumb_url() – the reason for this is that it uses timthumb to make sure the whole thing doesn’t go south if the client uploads an incorrectly sized image to the featured post category.

    In functions.php

     # This function returns the attached Featured image in the page / post
     function thumb_url(){  
       $thumb_src = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), array( 960,960 ));
       return $thumb_src[0];
     }
    
    
    # This function resizes the featured image to the requested proportions via timthumb. 
    function slider_image($image_source,$width,$height) {
      global $post;
    
      echo '<img src="'.get_bloginfo('template_directory').'/timthumb.php?src='.$image_source.'&amp;h='.$height.'&amp;w='.$width.'&amp;zc=1" alt="" title="'.get_the_title().'" />';
    }
    

    I have kind of gone off Nivo Slider a bit as there were issues with captions disappearing in Firefox that never got resolved. Have you looked at Flexslider 2? I think it’s technically still in beta but it is awesome and is highly configurable. I’ve just used it on a site and it’s fantastic (especially the fact you can scroll on tablets and smartphones using finger swipe).

    Hope this helps a bit.

    EDIT

    I realised I should add one last bit for anyone that reads this and hasn’t used the Nivo Slider standalone. You need to initialise Nivo Slider. Include the Nivo Slider Javascript file (enqueue it in your functions.php) and the CSS and place the following code in the head or before the closing body tag. You can change the parameters as required;

      <script type="text/javascript">
        jQuery(window).load(function($) {
    
          jQuery('#nivoslider').nivoSlider({
            effect:'fade',
            slices:15,
            animSpeed:700, 
            pauseTime:7000,
            controlNav: false,
            directionNav: true,
            directionNavHide: false,
            captionOpacity: 1
          });
    
        });
        </script> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I am using Paperclip to handle profile photo uploads in my app. They upload
I'm making a simple page using Google Maps API 3. My first. One marker

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.