The gallery tag has no wiki summary.
2
votes
1answer
1k 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 ...
1
vote
1answer
59 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
51 views
Setting up a gallery with images and a zip download
I am putting together a little gallery/portfolio for a friend's work and I am struggling to work out where a plugin starts and theme begins.
I'm trying to achieve a simple grid of images which link ...
1
vote
1answer
57 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 ...
1
vote
1answer
434 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 ...
1
vote
1answer
387 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
369 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
93 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
71 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
20 views
What makes a placeholder resizable in Tinymce?
It's not that hard to make a plugin to TinyMCE, similar to what the Wordpress gallery is doing in WP 3.5. Unfortunately, these custom placeholders are always non-resizable, although they show the ...
0
votes
1answer
34 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
132 views
Hover/Zoom on Lightbox gallery
Is there a way to hover/zoom on the larger image in a lightbox gallery. I am using Lightbox Gallery Manager from Raygun and have several galleries on a page. Once the lightbox gallery is opened, I ...
0
votes
1answer
54 views
Adding different classes to different images depending on size for fine control of image layout in posts
I have all the CSS classes set to display images in a custom portfolio theme. I am allowing for images of different sizes and proportions (landscape, portrait, etc) to be tiled next to each other and ...
0
votes
1answer
80 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
1answer
41 views
How to show the image caption on custom post type …?
I Follow this code to make a gallery photo system:
$the_imgs = get_custom_field('gallery_img:to_array');
foreach( $the_imgs as $img )
{
list( $url, $width, $height ) = ...
0
votes
1answer
88 views
CLOSED - Change the output for [gallery] shortcode
I'm sorry if this question was answered here, but I couldn't find it.
Is possible to change the HTML output of [gallery] shortcode (without plugins)?
I would like to show the thumbnails as another ...
0
votes
1answer
98 views
Gallery shortcode numerical sorting
When I try to sort a Gallery created through the [gallery] shortcode by numerical titles I get them sorted in alphabetical order. That means that they are sorted like so:
1, 3, 34, 4, 56, 6, etc.
...
0
votes
1answer
38 views
Hide the 'Gallery Settings' section of the Gallery tab of the media Thickbox
When I invoke the media uploader from a certain page, I'm looking for a way to hide all of the 'Gallery Settings' options at the bottom of the Gallery tab. I have set a referrer (dd-options-footer), ...
0
votes
1answer
120 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
109 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 ...
0
votes
1answer
93 views
Generated WYSIWYG gallery with individual gallery_page templates
I am in the process of making my first theme, and have created the basic pages index.php, front_page.php, single.php and page.php, I also wanted to add a gallery template page.
The idea being the ...
0
votes
1answer
72 views
Hierarchical gallery
I want several galleries, every gallery containing several images.
What is the proper way to do this two-level structure?
I'd make every element of each gallery a post.
0
votes
1answer
128 views
Gallery post images on homepage?
I have a post with image gallery, it has 10 images. Can I get the direct link to the images in the post, so that I can display first 5 images on the homepage?
0
votes
1answer
136 views
Gallery not displaying images when clicking on them
I've inserted a wordpress gallery in to my site (on a custom post type) using the editor. The code it's added is [gallery link="file"]. The gallery is displaying correctly, and when hovering over the ...
2
votes
0answers
118 views
Paginate wordpress gallery
I am using wordpress gallery shortcode [gallery] I was wondering if there is anyway to paginate them without using a plugin.
1
vote
0answers
30 views
Way to add captions to gallery images by code
I am creating posts by using wp_insert_post function. It works fine as I provide values in array required. Sometimes it is required to create a post having gallery. Without any problem, it also works ...
1
vote
0answers
60 views
Creating a post image to show in a gallery
Sorry if this title of question is not clear. I have create a custom post template with the help of this plugin Custom Content Type Manager
With this plugin i create this , and i am at the Second ...
1
vote
0answers
76 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 ...
1
vote
0answers
21 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 ...
1
vote
0answers
227 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" ...
1
vote
0answers
32 views
How to export the wordpress gallery only
I 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.
1
vote
0answers
85 views
How to show private flickr group on a Wordpress site?
I have been trying to embed a flickr group within a Wordpress site for our camera club using a plugin such as slicker flickr or awesome flickr gallery. I have no problems with showing a set of ...
1
vote
0answers
91 views
How to use the WP export and get images that are contained in a posts gallery
I ran the standard wp Export on a single custom post type called products. I got all the custom fields and all that but each cpt has a standard post gallery. The link to the image is not coming ...
0
votes
0answers
10 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
13 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
30 views
Images aren't correctly resized and gallery breaks
I need help to find out how to fix images in the mobile theme of my blog because they're not being resized correctly and galleries created with [gallery] shortcode are also breaking.
My current theme ...
0
votes
0answers
60 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
0answers
22 views
Altering adjacent_image_link() for attachment pages
I'm attempting to repurpose adjacent_image_link() for use with attachment pages. I have galleries that are based on an attachment taxonomy ("image-gallery") and multiple terms (the specific gallery ...
0
votes
0answers
32 views
Linking Attachment page to another attachment page of larger size
I am not sure is it really possible. I have a gallery. But few years ago, I did not cared to make the image size on attachment page full size. You know what I mean, attachment page shows default size ...
0
votes
0answers
61 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
28 views
Fancy Box not working on Galleries
I'm running FancyBox in the current wp, and it works on still images, and with Vimeo via the WP Lightbox Ultimate. But galleries won't trigger the fancybox function. I'm on wp 3.5.1. Any help you ...
0
votes
0answers
31 views
Mixed portfolio gallery with multiple Vimeo within the same post
I am looking to display portfolio content similar to this flash site: www.russell.cd
I have tried many WP plugins as well. (there is already a Prettyphoto component built into this custom theme.
...
0
votes
0answers
28 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 ...
0
votes
0answers
57 views
Get a specific NextGen Gallery Album
I am using a plugin, I don't remember where I found it, to display a list of galleries.
How can I change the code so that it shows only one particular album instead of a gallery?
I'd like to modify ...
0
votes
0answers
32 views
Custom gallery with slideshow
I followed the accepted answer for this question to replace the standard Wordpress gallery with one using my own structure. However, an unintended side-effect of this is that it has overwritten ...
0
votes
0answers
36 views
Open gallery image include all post images
Is there a way to make wordpress so when I click on a gallery image, it automatically includes all the images in that specific post?
so lets say I have image 1,2,3,4,5
and I have [gallery ids="4"]
...
0
votes
0answers
32 views
Gallery inside posts
I'm looking for a solution to a certain type of gallery I want to use inside posts. These posts have tons of content, including pictures. I want to create a gallery like the one in this image I made ...
0
votes
0answers
74 views
Change Media Manager image link behaviour (not to link to direct file)
Is there a way or a plugin to modify / replace Wordpress media manager's default way of handling images in pages / posts?
Bad (default) behaviour:
If you insert an image, the link to the file gets ...
0
votes
0answers
62 views
How to add text link to display Gallery
With echo do_shortcode('[gallery link="file"]'); it adds gallery thumbnail but what I am looking is add one text link e.g. View Gallery and when user click it will open gallery in lightbox/colorbox
-2
votes
0answers
16 views
How can I use Nextgen gallery shutter effect to other images in my website
It's works fine for the images in Nextgen gallery, how can i use this effect for other images in my website.