The gallery tag has no wiki summary.
2
votes
2answers
202 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 ...
2
votes
1answer
105 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 ...
2
votes
2answers
916 views
How To Put Multiple Image Galleries In A Single Post?
Is there a way to place multiple image galleries in a single post?
Please note that:
I would only like to use Wordpress' built-in gallery function, and not something else, like NextGen gallery.
I ...
2
votes
1answer
113 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,
...
2
votes
1answer
1k 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 ...
2
votes
1answer
161 views
problem with nextgen plugin
I have a problem with Nextgen gallery,after activating some plugins it doesn't show the submit buttons(insert, cancel).
Then i have deactivated all plugins, but that doesn't help.
I haven't any ...
2
votes
2answers
308 views
Post photo galleries
Anyone know how to make a gallery post where you make one image the cover of the photo gallery and whenever it is clicked it links to the gallery? The use this method on thechive.com. I'm really not ...
2
votes
1answer
2k views
NextGen Gallery - automatically create gallery sub page?
In order to use Breadcrumbs NavXT to display the title of a gallery, you need to create a new gallery subpage that the gallery will link to.
Is there a way to make NextGen automatically create this ...
2
votes
0answers
114 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.
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 ...
2
votes
1answer
326 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 ...
2
votes
2answers
647 views
Cropped featured image replaces original image in gallery
Firstly, I have done my research as thoroughly as I possibly can. Searches have been made, but I have not found any advice or solution as to my exact issue.
Ok, time to explain.
Currently I am ...
1
vote
2answers
5k views
How do i add class=“fancybox” to the default gallery?
i tried this shortcode:
[gallery class="fancybox" link="file" columns="5"]
But the class="fancybox" isn't been added to the a href tag of each image.
How can i add class="fancybox" to each a ...
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" ...
1
vote
3answers
291 views
Best option for photo/gallery handling?
Before I finally start blogging there's one last question that I need help with.
My blog will be photo-focused. We're talking about 70-80% of photos compared to 20-30% of text.
There might be some ...
1
vote
3answers
652 views
Most Flexible Photo Gallery Plugin?
What is the most flexible photo gallery plugin available on WordPress?
By flexible, I mean a plugin that can:
create galleries per folder / event
display / generate thumbnails per size I want (it ...
1
vote
1answer
153 views
How do I change the gallery that is inserted in the post?
When I insert a gallery to a blog post using the [gallery] shortcode or simply the insert media button I get a default structured gallery in my blog through the_content();
However the gallery comes ...
1
vote
2answers
3k views
Displaying a featured image (only img url) as the img src?
I have the following code:
if (themedy_get_option('product_gallery')) { add_action('genesis_post_content', 'themedy_product_images', 1); }
function themedy_product_images() { ?>
<?php
...
1
vote
2answers
467 views
Can I attach an image to a different post?
Image galleries display those images that were uploaded to that post, by default. If I wanted to move an image to a different post, so it appeared there instead, would I have to delete and re-upload? ...
1
vote
1answer
75 views
GalleryView binding for WP Gallery, without NextGen
Is there a WP plugin that binds jQuery GalleryView to the stock WP Gallery?
I love the appearance of GalleryView, but I don't want to have to use an external image & gallery database like ...
1
vote
1answer
232 views
Display all albums in nggallery on a page
I'm using the popular NextGen Gallery / nggallery plugin to handle photo albums and galleries on my site.
I can arrange photos into a album and display it using a shortcode no problem, where I'm ...
1
vote
2answers
107 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
2answers
5k views
How to show description under an inserted image?
I'm using wordpress' native media manager. I have a problem. I can show the title under the image. But I want also to show the description. Is it possible to do?
1
vote
2answers
510 views
Remove width and height attributes from [gallery] output
WordPress automatically adds the width and height attributes to [gallery] shortcode images.
How to delete these attributes? Something like this but for [gallery] output.
1
vote
2answers
594 views
Add size in Gallery Settings in Media Library
I would like to add the size in the Gallery Settings in the Add Media.
I know to add the in the front-end by editing the media.php.
However, when I added the the lines in gallery.dev.js, they don't ...
1
vote
2answers
277 views
Display gallery on top before content
Is it possible to execute the gallery shortcode before any other content no matter where the shortcode is in the post HTML?
1
vote
1answer
1k 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
1answer
40 views
Get meta data from image
How can I get the description of the image?
$album_id = get_the_id();
$photos = $wpdb->get_results(
"select * from wp_postmeta where post_id = '"
. $album_id
. "' AND meta_key = ...
1
vote
2answers
321 views
Wordpress Gallery shortcode: Display one category ID only
Good Day. I am using a Gallery shortcode in my wordpress site to display images.
Problem is that I wasnt the gallery to show only images from a certain category, for example category id 35. How do I ...
1
vote
3answers
535 views
Wordpress 3.5 Gallery Menu Order not set?
With the new Gallery editor in Wordpress I am able to set up my galleries and to drag the Thumbnails to re-arrange the image order. On the backend that seems to work fine. But I ran into an issue when ...
1
vote
1answer
110 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
2answers
2k views
Get image from post's gallery
Is there any possibility on Wordpress to get an image from a post gallery?
Images are not inserted in the post, are on it's gallery.
I'm trying to do a "galleries index" page and instead having the ...
1
vote
2answers
355 views
Image gallery plugin
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 ...
1
vote
2answers
502 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
vote
2answers
266 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 ...
1
vote
2answers
62 views
Automatically add this attribute to the gallery shortcode
When inserting a gallery it adds the following shortcode:
[gallery columns="6" ids="18,150,146,23,147,17,21,20,22"]
I would like it to automatically add link="file" as the last attribute, whenever ...
1
vote
1answer
32 views
Showing a different gallery in a seperate post
i am using the [multigallery] function and I was wondering if there is a way to use the function to call attachments from another post.
For example if i was writing a post about taylor swift and I ...
1
vote
1answer
99 views
Display random gallery images and its parent post title leading to parent post permalink
I usually have a gallery in posts. I want to display random image and its post-title from a random published post which can lead to permalink like related posts below a post.
I used this code:
...
1
vote
2answers
519 views
How to get gallery id inserted to a post?
Is it possible to get a specific Gallery ID inserted to a post in wordpress 3.5? I want to load gallery from post using Ajax. I use shortcode [gallery] to do it. But when I use it this way:
echo ...
1
vote
1answer
85 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 ...
1
vote
1answer
85 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.
1
vote
1answer
488 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 ...
1
vote
1answer
72 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
vote
3answers
164 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.
1
vote
2answers
125 views
Howto accurately position images with maximum flexibility?
I got a request to develop the following design with Wordpress: http://imm.io/DLrl (design is pixelated by me for the purpose of privacy).
As you can see there is a pretty random structure of image ...
1
vote
1answer
96 views
conditional tags- how to use with shortcodes
I have a salon website with a gallery page wherein the user must first select a stylist prior to viewing their individual gallery.
I planned on using NextGen to house the images in stylist specific ...
1
vote
1answer
451 views
Gallery shortcode - change link file image size? (not using default fullsize image)
I am using this for my gallery -
<?php echo do_shortcode('[gallery size="gallery-thumb" link="file"]'); ?>
and I am using the jquery fancyapps fancybox. But some full-size images that are in ...
1
vote
1answer
101 views
How to use photo in multiple posts?
I have a theme that shows images only from gallery tab
(so i can't re-use an image to other posts). As you know an image can only get attached to 1 post. I found a plugin that you can attach an image ...
1
vote
1answer
200 views
Exclude images from “inserted into post” when trying to get attachments
I have here the coin-slider which takes all pictures from the gallery. I get the attachments through the following code:
$attachments = get_posts(array('post_type' => 'attachment', 'post_parent' ...
1
vote
1answer
1k views
How to filter 'post_gallery' after all other filters/plugins etc
I'm trying to re-format the gallery output a bit, change default columns and link setting, as well as exclude the featured image from the gallery images.
I can use *add_filter('post_gallery' ...)* in ...
