Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Wordpress Gallery Not Working WordPress

WordPress gallery is being used to display jpg images. I am using a theme called WPFolio and assembling a site for an artist.

http://www.carleenzimbalatti.com

Gallery displays well on page and individual images also display well. Clicking 'next' or 'back' however does not display the expected image. It displays other images, from media library, but not the expected image from the page..

Help...
Best regards and many thanks,
...Dominick

Answers (3)

2013-02-28

Kiet Luong answers:

are you using next_image_link() and previous_image_link() for next and previous links ?


Dominick Curatola comments:

Not sure where these lines of code are inserted. The gallery is present and the 'forward' and 'back' do change the image. But it does not accurately correspond to the images in gallery. (out of order). Thank you for your continued help.


Kiet Luong comments:

If possible please allow me access to your site, so I have a look at it and see how I can help you.

2013-02-28

Arnav Joy answers:

how you inserted gallery ?


Dominick Curatola comments:

gallery is inserted using 'add media' and 'creating a gallery'. After setting it up, I insert gallery into the page. Have you looked at site. www.carleenzimbalatti.com

2013-02-28

Monit Jadhav answers:

When you add a gallery. And click on any gallery item to open the single image. It uses the attachment template. Hence using next previous will jump to next attachment image as per the media library and not the next item of the gallery. Hence the error.


Monit Jadhav comments:

Simplest answer would be to upload images from the page you want to insert the gallery to and use page id as parameter

[gallery id=post_id_here]

This will resolve your problem.