The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
88 views

Modifying the media-template.php file, the right way?

The [gallery] shortcode accepts the columns='0' as an attribute so that it doesn't insert any breaks in the HTML between gallery items, however this option is not available in Gallery Settings ...
3
votes
1answer
627 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
1answer
90 views

Add Lightbox To WordPress Native Gallery

Is there a way to check if a gallery is linked to an attachment page or to an image file via jQuery or WP filter? I'm trying to add a lightbox to gallery image that is linked to image file. But I ...
1
vote
1answer
126 views

How is a gallery associated with some post in database?

I see galleries are represented as separate post records with post_type = 'gallery' in the database. How is this record (gallery) associated with a basic post (type = 'post') in the terms of database ...
1
vote
1answer
124 views

add img class to native wordpress galleries

Trying to add an img class = "the image alt field" to the images in a native wordpress gallery so i can use jquery isotope to filter the gallery. I could use the image alt field or the description ...
1
vote
1answer
912 views

How to remove title attribute from gallery links and images

I want to remove the title attribute from within the output of a [gallery] shortcode e.g. <a href="url" title="bobby"> <img src="url" title="bobby"/> </a> should be: ...
1
vote
1answer
135 views

posts_per_page option limits the number of Gallery items

I have noticed that if I have a query where posts_per_page are set to 4, any (image) gallery that belongs to one of those posts will too have only 4 items (although when I create the gallery from Add ...
1
vote
1answer
80 views

Can anyone help me with galleries and post types?

Hi i'm opening a blog and i am using custom post types. I don't know if i'm doing this wrong or right. Check out wetpaint.com For example they have a page for every show that they cover, i don't ...
0
votes
1answer
27 views

Default Wordpress gallery or very lightweight alternative to it?

I've tried looking up but I cannot seem to find the following... What must I include in functions.php and in style.css to have the default Worpdress gallery working? I have a new Wordpress theme, ...
0
votes
1answer
39 views

gallery image size

I have been looking for a couple of days for a filter for the WordPress gallery. I have tried many different codes but nothing seems to work for it. I am not using a plugin. I am talking about the ...
0
votes
1answer
20 views

Moved blog - galleries don't work

I moved my client's blog with nearly 800 posts from an ancient installation of WordPress to another host and a new version of WordPress. Now, several months later, we noticed that she had a few posts ...
0
votes
1answer
89 views

How to create manually a fancybox gallery?

premise i don't really know anything about wordpress framework, i only know how to use it. I need to change an already exists gallery with loooots of images, with a simple gallery like fancybox (the ...
0
votes
1answer
40 views

Creating image gallery in wordpress

Lets assume I have two following directories fruits and vegetables under my image folder and that I want to show all images on some specific page. My questions are following: How to implement PHP ...
0
votes
1answer
26 views

I want to add a gallery to a post but I don't want it displayed in the content?

I want my user to able to add a gallery to a post and then run a conditional like: <? php if (strpos($post - > post_content, '[gallery') !== false) { echo do_shortcode('[gallery]'); } else ...
0
votes
1answer
75 views

Programmatically use nextGEN Gallery

Can I programmatically use nextGEN Gallery? By that I mean I like to programmatically create galleries, albums, add images, and then link them to posts in my WordPress site.
0
votes
1answer
38 views

How to customize the gallery shortcode in WordPress?

I want to change WordPress's main gallery shortcode style to something like the picture below! Any idea ?
0
votes
1answer
19 views

How to get pictures of the Wordpress post

During the post creation of a post in Wordpress, I add 2 pictures in the post Gallery. How can I retrieve uploaded pictures URLs to display them on the other template?
0
votes
1answer
49 views

Change the values of numberposts gallery

I have installed this plugin (http://wordpress.org/plugins/media-categories-2/) to categorize my images. In my functions.php I have put the following code to limit the number of images shown in the ...
0
votes
1answer
83 views

Modify Gallery Output to render differently on a PAGE and a POST

I'm still learning Wordpress and slowly getting better, but my skill set is not up to par for the changes I am asking for. I need to customize the gallery output for two sections on my site: 1) ...
0
votes
1answer
246 views

Issues with quicksand portfolio setup

So I am using the jQuery quicksand plugin in combination with prettyphoto and tooltipsy. My php template: <aside id="work_nav"> <ul class="work_tags_nav"> ...
0
votes
1answer
155 views

How to dynamically insert <a href> in the image caption?

So, below is the Wordpress default generated code for a gallery item: <div id='gallery-1' class='gallery galleryid-203 gallery-columns-3 gallery-size-thumbnail'> <dl ...
0
votes
1answer
50 views

Get raw image detail from post gallery?

Is it possible to get the raw info from a post gallery and display on the page, specifically for a slider? So can you create a gallery then display the gallery on a page with the full size image, as ...
0
votes
1answer
36 views

How to display images that was uploaded in the media gallery and not by the current post?

I have uploaded images before in my other posts and now I want to display it in my Photo Gallery. I'm using an isotope layout so I'm not using the native gallery of WordPress. It's working just fine ...
0
votes
1answer
109 views

Disable Linked Gallery Images If Mobile Browser

So I found this question here: Proper Way to Remove Thumbnail Links In Gallery and looks to have a good answer, but how can I make that apply only if the user is on a mobile browser, or at least if ...
0
votes
1answer
36 views

How do I add tags/taxonomy to images + a query field on page to query 'albums' (images with same tag/taxonomy)

I've got lots and lots of photos on my site and I want to seperate them into albums. Every album is a client album (photoshoot). Though.. I want all my clients to query their album on my site. ...
0
votes
1answer
128 views

How can we create a wallpapers gallery with different resolution?

I want to make a wallpaper gallery which can detect the screen resolution & give the option to download wallpapers in different resolution.
0
votes
1answer
222 views

Dynamic Content Gallery Thesis 2 Wordpress Home Page Only

I'm using Wordpress with Thesis 2 installed and I'm building my own design onto the "Blank" skin. I want to use the Dynamic Content Gallery Plugin on the home page only. I'm using this code to load ...
0
votes
1answer
182 views

Create Short code dynamically

I want to generate short code for my gallery dynamically. For a single gallery, it is easy to create a short code for my gallery using add_shortcode( 'image-gallery', 'gallery' ) Now my question is ...
0
votes
1answer
133 views

How to change the output of gallery shortcode

I would like to add the media description as a data-attribute to each image of the gallery. All the other answers favour the solution to copy the whole code from media.php to functions.php and change ...
0
votes
0answers
34 views

Display image attachment meta-data in gallery

I have a gallery that displays the pictures of the staff of an organization I'm building a site for. When a user clicks on the staff members picture, that attachment page opens up and displays the ...
0
votes
0answers
191 views

Nextgen open album directly in lightbox

a new recent update to the nextgen plugin to 2.0.14 was added on August 27, 2013. I was wondering if it's possible when a user clicks on an album thumbnail instead of it going to a specific gallery ...
0
votes
0answers
100 views

Thickbox not displaying just the image, instead showing full page in lightbox

I have implemented Thickbox into my wordpress theme. I have a regular Wordpress gallery that now has the lightbox when you click on any of the images. When clicked the lightbox shows up. However, ...
0
votes
0answers
54 views

Trying to get my gallery to be responsive based on the post

I am trying to build a gallery page that is responsive to the post ID. After discussing ideas with a friend who is far more knowledgeable in WP he suggested I use post ID in my arguments that is ...
0
votes
0answers
16 views

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

I want to do an image gallery in a page, where the linked image (a href) is different from the thumbnail's src. I need to have the ability to change the thumbnail image. Its important because for each ...
0
votes
0answers
50 views

How to loop two arrays from custom post types

Not sure if I'm going about this the right way but I've been stuck on this for a couple of days and it's killing me. Got a custom post type called 'featured-work' and custom fields in it. These two ...
0
votes
0answers
114 views

Loading all gallery images in home using ajax

I want to automatically load all the pictures from the galleries across the site (without having to specify IDs) in the home page. But I need to have control of behavior cause I don't want to load a ...
0
votes
0answers
95 views

Add a second native gallery with custom layout.

I’m absolutely fine with native wp 3.5 gallery, I’ve styled it to my needs and it’s awesome. But what I’m trying to figure out now is there any way to add one more native gallery with different layout ...
0
votes
0answers
40 views

Merge two WP single blogs while keeping galleries intact

Combining two single instances of WP (3.5), BlogA and BlogB (which includes a WP gallery with every post), into a new blog, NewBlog. BlogA is a standard WP blog. BlogB uses a custom post type ...
0
votes
0answers
57 views

WordPress Gallery: How to change the order in media.php

i want to change the order like this: NOW: <div class="thumbnail"> <div class="gallery-icon"> <a href="###"> <img width="400" height="300" src="###"> ...
0
votes
0answers
49 views

Wordpress gallery image link gives 404 when not logged in

I'm attempting to use the default Wordpress gallery (from the post editor 'Add Media' then 'Create Gallery'). When logged in as an admin and clicking an image in the gallery on the resulting blog ...
0
votes
0answers
116 views

Each user can edit only one page

I have website that let the user publish her business. Each business has a private page with some details and an image gallery. Each business owner has a user. I should make, that each user (each ...
0
votes
0answers
95 views

Dynamically load JJ NextGen Slider/ Slideshow (dynamically add shortcode with jquery)?

My front page includes an image slideshow by JJ NextGen Slider (Link). Therefore I am using PHP and do_shortcode(). This is the full code: <?php echo do_shortcode('[jj-ngg-jquery-slider ...
0
votes
0answers
362 views

Multiple gallery thumnbnails on one page

I want to post multiple galleries on a single static page. So far, I've only been able to create a gallery that puts every single picture on that one page. What I want to achieve is several images ...
0
votes
0answers
108 views

Hook into 3.5 Media Gallery UI Update Event

I have been trying to create an extra tickbox that will intercept the wordpress gallery shortcode so that I can add my own parameters to the shortcode. So far I have managed to add an extra option to ...
0
votes
0answers
55 views

Adding shortcode field to edit gallery / Gallery Settings

I want to add a field to the Add Media / Edit Gallery / Gallery Settings column which is able to accept shortcodes. I want to do this so that I can add a Cart66 shortcode which will "render" an add ...
0
votes
0answers
62 views

Custom field for default gallery

How I can add custom field in default WordPress gallery? in visual editor and in shortcode.
0
votes
0answers
26 views

Calling Images from a Gallery when Post is Clicked

http://acesystech.com/edge/ Im wanting to do something simlar to this, where the customer can click a project and see a scrolling images block of the images, however i want to do i with like click ...
0
votes
0answers
16 views

standard wpGallery for post won't work

I'm trying to get the standard wpGallery running in my post. I followed this tutorial. But I ain't get it working. This is what my editor shows while editing a page: http://i39.tinypic.com/6ivi1z.png ...
0
votes
0answers
122 views

How to extend media gallery WP 3.5

I'm trying to extent in a theme the media gallery. basically what I'd like to do is to have another button next to 'Insert gallery' that will say something like 'use this images'. And when clicking ...
0
votes
0answers
50 views

WordPress Gallery Has “Ghost” Image

I have 3 galleries on a single page. All three are wrapped by jQuery Cycle to create 3 simple rotators that each have a thumbnail pager. Each gallery is using the [gallery] shortcode with a few ...