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 7497385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:04:46+00:00 2026-05-29T19:04:46+00:00

I am using the Galleriffic jQuery plugin for my photo gallery. The gallery images

  • 0

I am using the Galleriffic jQuery plugin for my photo gallery. The gallery images are loaded from a database in PHP. I want to be able to link to one photo in the gallery from another web page, with an URL query that passes the ID of that image. This image should then be selected and shown in the big preview (or slideshow container), instead of the first image which is the default.

What I want to do is:

mywebsite.com/pictures/?pid=12345

where 12345 is the ID of the image to be selected.

  • 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-05-29T19:04:47+00:00Added an answer on May 29, 2026 at 7:04 pm

    or just do it in your client:

    $(function(){
        var id = location.href.replace(/.*pid=/, '');
        $.galleriffic.gotoImage(id);
    });
    

    You can try to add id to the hash of the URL instead of query strings.
    e.g.
    URL would be:

    http://mywebsite.com/pictures/#12345
    

    add these code to your page:

    $(function(){
        $.galleriffic.gotoImage(location.hash);
    });
    

    this would be better because Galleriffic doesn’t change page URL when viewing different pictures.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the following gallery plugin on a website. http://www.twospy.com/galleriffic/example-2.html Notice that images vertically
I am using jQuery and a plugin called Galleriffic to display some images and
Using php/html, I want to retrieve email addresses (plus other information) from MySQL and
I am using the jQuery Plugin Galleriffic with a content management system. I need
I am using the jQuery Galleriffic gallery and I am trying to do somthing
I'm using the Galleriffic plugin for a custom slideshow gallery. It works wonderfully in
I'm using the wicked Gallerriffic plugin on a gallery page, and got it working
Using jQuery, one can easily find out whether a particular element is visible using
Using mercurial, I've run into an odd problem where a line from one committer
Using Yii, I want to delete all the rows that are not from today.

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.