The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
3answers
745 views

WP 3.5 and Galleries - how to count images?

I'm trying to figure out how to count and display the number of images in a gallery with WP 3.5. I was following an old post on Ottopress, querying the DB for attachments but it seems the galleries ...
0
votes
1answer
596 views

ID of images from wordpress galelry

Does anyone know how to get ID's of images from wordpress gallery in post? I have search entire internet and there is nothing to this subject. Thx for your time :)
0
votes
0answers
51 views

How to get all images url from gallery? [duplicate]

I created gallery in my post (in my custom post type) and now I need to get url of images from this gallery in my template file. Does anyone know how to do it? Thx for your time.
2
votes
2answers
297 views

Display latest 10 galleries

I want to create a custom page that will display let's say 20 latest galleries / page - but only the first image from the gallery, not all of them. something like this: ...
0
votes
1answer
279 views

Use full size images in a specific gallery

Thumbnails are displaying as 100px however the full size is 130px which is what I want. I want this only in one specific gallery. Also would like to link each gallery thumbnail image to an external ...
0
votes
1answer
113 views

How to display original unmodified thumbnail

I have uploaded a few images that are being used as thumbnails. I cropped them within WordPress to be square and focus on the subject of the image. I have also got a slider that is rectangular and ...
0
votes
2answers
178 views

One picture belonging different galleries?

How can one picture belongs different galleries? For example, there are two galleries. I want to avoid loading the image twice (in two galleries) but it shown (included) in the first and second ...
0
votes
1answer
573 views

How to get the next and previous image title from attachment or gallery?

I'm trying to build a slider exactly like this in wordpress. I have managed to make the slider work except the next/prev button. I need to get the next image title and the previous image title for the ...
0
votes
1answer
608 views

How to have Tiled Galleries like in WordPress.com?

In a WordPress.com hosted blog, you have the posibility to create picture galleries with a different style than usual: tiles, squared tiles or circles. What plugin are they using to achieve this? I ...
1
vote
0answers
91 views

Custom links or pages from Media Gallery

I have a simple Wordpress Media Gallery running on a page and every time you click an image it takes you to the attachment page. This is fine as I can write an article in the description and that page ...
3
votes
2answers
2k views

Customizing gallery shortcode in 3.5

I'm trying to customize the gallery shortcode using the new gallery system in 3.5 and I'm having a bit of trouble and can't figure out where I'm going wrong. This is what I've got at the moment (in ...
2
votes
2answers
561 views

Disable gallery in 3.5 media iframe

I'm creating a setting to set a logo. It works but there is a problem. I only need one image to be set so the gallery item should be disabled / hidden. Of course this should only effect this page, of ...
1
vote
0answers
33 views

My “Description” in gallery doesn't accept formatting/html

that's the part of my attachment-page that's responsible for showing image description, which I put when adding a new media (I'm using standard wordpress gallery): < ?php the_excerpt(); ?> Well, it ...
8
votes
1answer
638 views

Any way to add custom options to Gallery Settings?

Now that Wordpress has updated to version 3.5, the media gallery has been overhauled and this custom options solution doesn't appear to work anymore. I'd like to add a couple of fields to the gallery, ...
-1
votes
1answer
411 views

How to Organize my Photo Albums?

I want to organize my photo galleries. Photos > Personal > Professional For each sub page, I want to organize the photo albums with thumbnails. eg Personal > [thumbnails image with dimensions ...
0
votes
1answer
270 views

Gallery backend only

I'm using Wordpress to power the blog section of my website, and also my event timeline (using custom post type admin area). I'm looking to add the option to create image galleries, and include them ...
1
vote
1answer
80 views

Should I cache default WordPress gallery shortcode output?

I'm overriding default WordPress gallery like so: add_filter( 'post_gallery', 'my_gallery_shortcode'), 12, 2 ); function my_gallery_shortcode($output, $attr) { // some modifications ...
0
votes
2answers
956 views

Retrieving links and names of images from a NextGEN gallery

I want to add a list (like a cd track list) of names and links to all images next my nextgen gallery, how can I retrieve this list? (similar to the list in the select object in the Gallery Settings, ...
1
vote
3answers
704 views

change wordpress gallery shortcode to slider

Hi I wanted to change the default WordPress gallery short-code and make it a slider. remove_shortcode( 'gallery' ); function gallery_filter( $atts, $content = null ) { ...
1
vote
2answers
349 views

How to determine if a post has attached images?

I would like to know how I can determine if a post/page has an image gallery (not documents/videos etc)? I am not talking about gallery shortcode as shown here Check if post/page has gallery? so that ...
1
vote
1answer
131 views

Large Media Library

I'm looking to organize a large WordPress Movies/Actors site, with thousands of posters, screenshots, etc... I currently have the images in a directory structure like ...
4
votes
2answers
2k views

add_filter and changing output captions of image gallery

I'd like to change only one output of native WP Gallery (in media.php) On Smashing Magazine (link) author advises to change whole gallery_shortcode function. But I wondered if is possible to change ...
2
votes
1answer
179 views

Numbering Image List in Gallery

While adding images in a post with the gallery shortcode, I want to display an image number as title of the image e.g if there are 3 images in a gallery and displayed as a list, above each image there ...
1
vote
0answers
331 views

Is it possible to set JJ NextGen JQuery Carousel dynamic ids?

I usually get JJ NextGen JQuery Carousel with the short code: <?php echo do_shortcode( '[jj-ngg-jquery-carousel gallery="2" width="120" height="120" visible="4" scroll="4" auto="0" wrap="circular" ...
3
votes
1answer
1k views

How to make a page template to list all galleries?

I'm trying to code a theme where I'll have a universal gallery page. Basically like: http://www.engadget.com/galleries/ However I'm at a loss for what I'd use to call all the galleries. I need the ...
1
vote
1answer
473 views

wordpress get gallery images title

I am retrieving some images post with: $img = wp_get_attachment_image_src( $attachment_id, 'full' ); How can I retrieve the image title? Thanks.
0
votes
1answer
1k views

NextGen - Display Image Count Per Gallery

I am using the NextGen gallery WordPress plugin for a site. In my gallery.php template I want to retrieve the number of images for each gallery displayed in the loop. I cannot figure out a way to get ...
0
votes
1answer
156 views

Create a live demo gallery for themes

I want to create a live demo site like http://www.elegantthemes.com/gallery/ that show themes so when I click on the theme screenshot it takes me to the live theme preview. I tried two plugins ...
0
votes
1answer
479 views

Adding Gallery to Footer of Homepage

I wanted to add gallery with Thickbox effect(Pop up), i achieved this easily on the posts page by using WordPress gallery and the lightbox plugin.But the theme is custom made there is a footer.php.I ...
0
votes
3answers
305 views

How do I create a Client Logos section in admin menu?

My company is hosting an event where 50 clients will be at an exhibition. I want to create an Ehibitors section with separate admin menu. I want to be able to add Exhibits with custom fields for ...
1
vote
1answer
195 views

Check if post has gallery images/media

Is there a Wordpress conditional that I can use to check for gallery images/media in a post? I do not want to check if the [gallery] shortcode exist in a post. Attached is a screenshot of what I ...
1
vote
1answer
1k views

Custom Post Type with image gallery

I'm doing research on custom post types for a Wordpress site I'm going to be putting together for a client of mine. The basics of the Custom Post Type seem pretty straight forward. What I'm trying ...
0
votes
1answer
478 views

How to automatically populate a gallery with images attached to posts of one category?

I would like to have a gallery in a post or a page (code in template or via shortcode). The images of this gallery should be pulled automatically from posts of one or more categories of my choice. ...
2
votes
3answers
459 views

get attributes/part of the gallery shortcode

I'm trying to grab all image id's that are associated with the [gallery] shortcode that are listed as exclude. For example: if my post has [gallery exclude="1,2,3"] I'd like to get a variable that ...
1
vote
0answers
43 views

How do I export WordPress galleries?

I am trying to export the WordPress galleries but can't seem to find any functions that do that. I want the data and attachments of the galleries in a WRX Format.
4
votes
1answer
406 views

Navigate with keyboard in Gallery shortcode

I am using Wordpress Gallery shortcode and I was wondering if there is a way to navigate using the arrow keys? Like if I view an single image and used the right arrow to navigate to the next image in ...
1
vote
2answers
688 views

Photo gallery with Featured Images

First, I need to ask if it's possible to create a photo gallery only with the featured images of the latest 6 posts? I assume it is possible but just want to make sure. I don't have much experience ...
3
votes
1answer
1k views

First three images in post excerpt

I have certain posts that are nothing but [gallery] with quite a few images in them. Is there a way to define an auto generated excerpt to only display the first three images for these posts on the ...
1
vote
1answer
259 views

Adding option to Gallery shortcode

just starting out in WP dev, and I'm looking for any guidance I can get. What I'd like to do is use a hook or filter to add my own option to the core WP gallery shortcode. I would want it to work just ...
1
vote
2answers
2k views

Add Download Button in prettyPhoto Plugin

I would like to add a download button link for the full-sized image on the prettyPhoto lightbox when a user views a photo on my site. Currently I use the prettyPhoto Media plugin on my site, and I ...
0
votes
2answers
148 views

create gallery page for specific post id

I have several custom post types similar to (place, person,etc.) refer this and under each of these custom post type there are several posts inserted. ...
0
votes
1answer
119 views

Show posts in “image” format when viewed in category page, but with comments in blog

I am working on an artist's website. She wants each image to show up in the blog, and to category pages like "paintings", "calligraphy", etc. When viewing the category pages, the images should be ...
1
vote
1answer
78 views

Where does the gallery shortcode gets its attachments from?

I know that media are an attachment post type that are children to a post, but how are galleries stored in WordPress?
-1
votes
1answer
286 views

Need help making Gallery slideshow with lightbox work correctly

I am adding pictures to a page, and would like them to be in a series of slideshows. f'rinstance, I have 4 picture series that should be on the page and I would like the visitor to click on a ...
1
vote
1answer
2k views

Customize the Wordpress Default Gallery Output

I want to customize the Wordpress default gallery so that it would format as something like this for each item: <dl class="gallery-item imgteaser"> <a rel="lightbox-cats" ...
0
votes
2answers
95 views

Check if a different page has any attached images

I am trying to make a notification function for a user's account dashboard that displays if they have not added any images to their profile's gallery. I found this page, which is a function that ...
0
votes
2answers
1k views

Add option to “Gallery Settings” section

I want to add a option to the "Gallery settings" (when you insert a gallery into a post). I once found some code on how to do this, but unfortunately I can't find it anymore. I can't even remenber if ...
3
votes
1answer
956 views

Bulk edit wordpress images alt and title attributes

I uploaded around 600 pictures in different galleries in wordpress without setting the titles and alt attributes. I need to edit them, I was wondering a way to edit them by album, let's say the title ...
1
vote
3answers
320 views

Exclude featured image from gallery in wp-admin

Is there a way to prevent the featured image from even showing up in a post's gallery? e.g. when editing the gallery in the admin for a post, the featured image isn't there.
0
votes
1answer
165 views

Don't show images inserted into content

I'm using a lightbox plugin to display my post images with [gallery], it works but those images show up in the content area too. So there are thumbnails and full size of same image. How can i hide ...