Build in WordPress gallery. Used to show multiple pictures in a grid.

learn more… | top users | synonyms

1
vote
3answers
2k views

Ajax, filters and shortcodes

could you figure out why I'm unable to get shortcode filters applied in ajax inclusion of posts? Let me explain better: I've managed to include a post from within another post, through admin-ajax.php,...
6
votes
1answer
1k views

Make a really simple gallery structure

The default gallery structure of WordPress is really tortuous: <div id="gallery-1" class="gallery..."> <dl class="gallery-item"> <dt class="gallery-icon"> &...
6
votes
3answers
5k views

Check if post/page has gallery?

I'd like to run some code only if a gallery (inserted with the [gallery] shortcode) has been inserted into a post/page. I did the following: gallery_shortcode($post->ID) ? $gallery = 1 : $gallery =...
0
votes
1answer
377 views

jQuery gallery plugin to interface with Picasa

I'm looking for a specific type of gallery plugin implementation. First of all, it needs to be able to pull from Picasa. Second, I would like it to basically be a static lightbox...and what I mean ...
2
votes
1answer
138 views

Getting attachment images is cloning some of them

So, i got this code to retrieve the images inserted in a gallery within a post: <?php $args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status'=>'inherit',...
3
votes
1answer
662 views

How can I remove or change a border/outline on a picture when it is in a gallery page?

You can see on this page: http://www.middlegray.net/ceremonies/ the photos have a white box that is automatically applied to the pic. I want to take it off or make it a different color. Where would I ...
2
votes
3answers
2k views

Hide “Gallery Settings” and “Insert into Post” button from Attachment window

I'm using different method to form a gallery in Wordpress, so I would like to hide an option to insert images and galleries into post for anyone but Administrator. Can someone show me an example how ...
2
votes
1answer
2k views

How do I use two different images, one as a thumbnail and one as a linked image?

I wanted to do an image gallery in a post, where the linked image (a href) was different from the thumbnail's src. Unfortunately, WP seems completely incapable of doing this. If I put the large ...
0
votes
3answers
497 views

Looking for a photo gallery plugin [closed]

I'm hoping someone can help me with this. I have looked all over and can't seem to find what I need. I am looking for a WP plugin that will allow my site users to easily create their own photo ...
1
vote
2answers
186 views

Looking for a Wordpress photo gallery plugin [closed]

I'm hoping someone can help me with this. I have looked all over and can't seem to find what I need. I am looking for a WP plugin that will allow my site users to easily create their own photo ...
0
votes
1answer
993 views

is there a jcarousel plugin for wordpress that loads dynamic images

i got a client who wants to upload the images to the jcarousel gallery rather than have them imputed statically through HTML. is there such a plugin that would let me do this?
3
votes
1answer
453 views

Build path for a custom portfolio plugin

I'm finishing up a personal site that I've spent many weekends on. I've left one of the (potentially) most complicated parts to the end of production. I'm looking for some advice on how to proceed ...
0
votes
1answer
3k views

Turn off image captions in gallery view?

I've set up my loop-attachment.php to show the gallery of thumbnails above the main, selected image using this code from the WordPress Codex: <?php $gallery_shortcode = '[gallery id="' . ...
2
votes
1answer
2k views

Any way to “combine” galleries or show multiple galleries as one?

So let's say I run a TV show blog. One day, the show releases to the public a set of 10 screencaps from an upcoming episode. I post that on my blog, either as a post with multiple images, or ...
0
votes
3answers
12k views

How to enlarge thumbnail on mouseover?

I am currently using NextGen Gallery and I want to view full images when I hover over the thumbnail, it is much better than waiting the user to click. Currently I obtain this functionality in Chrome ...
1
vote
1answer
429 views

Create own Wordpress shortcode gallery

How I can handle this shortcode: [my_gallery] img01.jpg img02.jpg img03.jpg img04.jpg [/my_gallery] I can't understand how to write a function, to handle image files name.
1
vote
1answer
2k views

using jQuery Cycle by Malsup with WordPress Page and Gallery

I would like to modify a WP Gallery to use the jquery cycle plugin by malsup. I know this is possible but would like to know best practice for this, if anything just pulling out the url for each ...
1
vote
2answers
405 views

Image gallery plugin [closed]

Can you recommend a tutorial or a plugin in wordpress that lets you achieve a similar gallery, like this http://www.whitehouse.gov/photos-and-video/photogallery/may-2011-photo-day Large Preview then ...
0
votes
1answer
801 views

Replacement for gallery_shortcode function not taking all attributes

I have the following custom function to replace the gallery_shortcode function from core. It hooks in at the beginning and works. The problem is that I can't get my custom key/values from the ...
0
votes
1answer
191 views

Whats wrong with my wp gallery?

i was making a gallery on my clients site using [gallery] sortcode. The gallery appears but when clicked it goes to clients other website which i have no idea why? here is the link http://www.build12....
0
votes
1answer
496 views

Customizing the gallery of the post correctly

I've found a way to insert a customized gallery inside my wordpress template but I'm not sure this is the better way. I've uploaded my images with the default image uploader of wordpress to manage ...
3
votes
4answers
9k views

Load entire NextGEN gallery from single thumbnail?

I'm using Alex Rabe's NextGEN Gallery in a lot of client sites as a centralized image repository, and am finding I often need to load an entire gallery into a lightbox (invoked via a single thumbnail),...
1
vote
2answers
790 views

Best way to implement a thumbnail-based gallery in Wordpress?

I need to create a gallery like this where clicking on the thumbnails loads a new image and caption in the area above the thumbnails: I always prefer to not use plugins, but in this case I think I ...
-1
votes
3answers
734 views

Slideshow/Gallery plugin based on WP Core Gallery [closed]

Looking for a plugin that I can hardcode into my custom post type template that pulls the images from gallery images added into the standard WP gallery. Thoughts?
0
votes
1answer
515 views

Nested Gallery Shortcode INTERMITTENTLY working

I have an Expand/ Collapse plugin which, via a shortcode, can expand/ collapse content. My expandable content is a shortcode of a gallery. See here: http://shop.dearearth.net/collections ...
2
votes
1answer
2k views

Retrieving a custom link on an attachment

I wanted to link images in a gallery to a custom URL. I know I could add an extra field and do it this way I found this ticket on Trac, though, that modifies the "Link URL" field to accept custom ...
0
votes
1answer
1k views

Display Facebook photo albums and photo comments?

I'm looking for a way to pull in photo albums from a Facebook Fan Page into a Wordpress site and have the photos open up in a Lightbox with Facebook comments. I've found a few plugins but nothing ...
1
vote
3answers
3k views

How to add a random image to a post from gallery and only show one?

I know how to add an image and a gallery. I need to have one image from the galley show on the page at random each time the page is loaded. The page should only show one image at a time. Is there a ...
0
votes
1answer
264 views

Making jQuery-based galleries with Wordpress without a plugin?

I've been racking my brains for the best way to create a simple gallery in Wordpress without relying on a plugin like NextGen gallery, and was thinking a shortcode would be a good way combined with ...
2
votes
2answers
141 views

show other images from same gallery

suppose you are viewing a single image from the gallery. You have both previous and next links there (for navigation). but is there a way to also show all the other images from the same gallery in the ...
0
votes
1answer
2k views

Best portfolio/gallery/carousel slideshow plugin with thickbox?

I'm creating a web portfolio, and would like somethnig with carousel and thickbox/lightbox fuctionality? Basically, I'd like something to show a certain part of the image in a slideshow carousel, and ...
0
votes
2answers
434 views

How do I test whether [gallery] is empty?

How do I test whether there are any images attached to a post? I'm using the gallery shortcode, but I want to put it in a conditional so the surrounding styling isn't displayed if the gallery is ...
0
votes
2answers
3k views

Is it possible to customize the layout of Gallery Shortcode?

Is it possible to customize how my gallery shortcode works. eg. have a div for showing the image then a list of thumbnails at the bottom or side? Or perhaps I can create a custom template file to ...
0
votes
1answer
324 views

attach several images to post + gallery

i'm wondering if its possible to attach several images to a post then display those images in a thumbnail/fading gallery? By the way, the images should also be resized to a fixed size + thumbnail. ...
-1
votes
1answer
251 views

JQuery Wordpress gallery [closed]

I would like to know if it's possible to create a gallery like that one using WordPress: http://jfdelsalle.com/naaman.swf Is there any plugin close to that?
0
votes
2answers
1k views

How can i link a custom post type thumbnail to intermediate size

I'm trying to build a picture gallery with custom post type in my theme and I think i figure it out almost everything but the call in the template, I already have the custom post type in the functions....
0
votes
3answers
1k views

Timthumb.php image gallery not working on Multisite Wordpress

What I am trying to do is get a gallery working on a multisite wordpress installation . . It works on the home site because that is where wordpress is actually installed but not on the sub domain ...
1
vote
2answers
3k views

How do I filter title and alt attributes in the gallery shortcode?

I am displaying a post gallery inside a custom post type, using the following in my single-custom.php template: <?php echo do_shortcode('[gallery id="'.$post->ID.'" link="file" columns="5" ...
0
votes
1answer
372 views

how to stop a gallery slideshow

I am using the Dynamix WP theme. I have three images displaying in a loop with fade effect. The images continue to fade from one to other. However I would like to stop this effect once all images have ...
3
votes
2answers
558 views

how to test for attached image

I am trying to find out whether or not a post has images. If it does, I then want to know if a featured image was specified for the thumbnail - if not, the get_thumb() function will assign an image ...
0
votes
1answer
773 views

Looking for WordPress Slideshow Gallery Plugin [closed]

I'm looking to see if there is already a plugin that does a gallery slide show like Huffington Post does where it shows either one image or video then you click next to see the next one. There is no ...
1
vote
2answers
314 views

Should a photo gallery be in a post or on a page?

I'm in the process of converting a legacy website (i.e., one that I programmed from scratch) into WordPress. The contents are mostly blog postings. I'm trying to figure out what to do with the non-...
4
votes
1answer
659 views

get images from post and make a zip

here is what i have so far. function zip_gallery() { global $post; $images = get_children(array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'numberposts' => -1, '...
0
votes
2answers
480 views

Displaying comment counts in WP Gallery thumbnail view

Wordpress founder, Matt Mullenweg, has a great feature in his photo galleries. In thumbnail view, any photo that has a comment attached displays the comment count under the thumbnail. Look here (...
1
vote
1answer
1k views

What flash slideshow player can read an rss feed as a source?

i would like to add a flash slideshow to my wordpress site, but do not want to manually add the pictures. I currently use nextgen to manage my galleries. I have a page set up that shows the most ...
20
votes
3answers
5k views

Turn a URL into an Attachment / Post ID

Is there any way I can take a URL of an image and find the attachment or post id of that image in the database? Here is the situation: I'm in a loop going over all the 'img' tags that are surrounded ...
0
votes
1answer
901 views

How to provide support for [gallery] shortcode?

I'm developing a new custom theme - and noticed that if a post contains the shortcode [gallery] it gets ignored (edit: I mean that the HTML delivered to the browser does not include [gallery], nor ...
0
votes
3answers
6k views

Plug-in for gallery with thumbnails?

Does anyone know of a galley plug-in which would have this kind of functionality? ------------------------------------------- | | | ...
8
votes
2answers
32k views

How to customise the output of the WP image gallery shortcode from a plugin?

We're building a plugin that displays posts, and we also want to display the image gallery when it is used in a post. However, we need to limit the number of photos displayed? Is that possible?
3
votes
1answer
3k views

Can I load posts via Ajax?

I would like to make a portfolio page where each entry (a post) would be fetched using Ajax. This way I would have an image gallery, but in which I not only would have images but also the ...