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

learn more… | top users | synonyms

0
votes
1answer
10 views

Gallery Shortcode Showing IDs

I'm trying to include a gallery in my custom post type. The image gallery works in the editor, but when I view the post I get this. [gallery link="file" ...
0
votes
0answers
11 views

Is there an efficient way to query posts's ACF gallery field?

My setup is as below. Custom post type > Page > Custom field (Gallery field) [only one gallery per post] And below is the code that renders all the galleries from the posts on a ...
-1
votes
1answer
13 views

How do I change the woocommerce product gallery to show all thumbnails instead of three at a time in a carousel?

I am building a site for a client and I can't seem to figure out how to remove the product gallery carousel setting. For the final result, I want to be able to see all the thumbnails at once and not ...
0
votes
0answers
18 views

How to upload images to ACF Gallery Field using Gravity Forms?

I have a front end form to post, i used the code shared Connect GF with ACF Gallery Fields Post are submitted and images are being uploaded but when i enter the post i get this error: Invalid ...
5
votes
1answer
44 views

Detect if is image unattached

I have problem with unattached attachments. I use image.php to show Wordpress image gallery. I always show "big image" (for current clicked image)...and under that image I show rest thumbs from that ...
0
votes
1answer
47 views

How to make gallery images responsive?

There are pictures, one below the other, inserted by the editor as a gallery. You can see an example on my page here. The problem I have is that this gallery of images is not responsive. Resize your ...
0
votes
0answers
25 views

FancyBox Transitions

If you visit http://www.cube.umbrella.al/minimal/2013/07/25/nokia-lumia-1020-review/ (This isn't my site, but it uses the same format/gallery aspect of my own, its just for demo purposes for ...
0
votes
0answers
23 views

Change flexslider bahaviour according to page width

I have a flexslider that displays photos from an Advanced Custom Fields gallery field on posts with gallery post format. Now, there are different post template widths that the user can choose. For ...
0
votes
1answer
27 views

Custom image sizes not working

I have few images on my theme library. These images have various sizes (640x480, 275x183 and 1920x1200). These images are part of the Theme Unit Test data that you can use to test your theme. Now, I ...
0
votes
1answer
29 views

Post gallery loop with thumb and full size

So the goal is to have a href to the full size image and the img src to be the thumbnail. Up till no i have this <?php $gallery = get_post_gallery_images(); foreach($gallery as $img){ ?> ...
0
votes
1answer
33 views

Update caption for metabox gallery images

Just wondering how to make the caption on my metabox gallery images updatable. I have the caption on a textarea so it can be easily updated. I can change the contents of this textarea, cant seem to be ...
0
votes
1answer
32 views

How to show post format gallery metabox image caption in the post front end

After getting my images through a metabox for a gallery post format I have the following code to show them on the post front end: <?php if ( !empty( $images ) ) { foreach ( $images as ...
0
votes
1answer
47 views

Get image captions for images on gallery post format metabox

I have a post format gallery. I have created a metabox to add my images: function mytheme_show_post_gallery_metabox( $post ) { wp_nonce_field( 'mytheme_post_gallery_metabox', ...
1
vote
1answer
15 views

Deleting images from gallery remain as attachment

Process creating a gallery: I create a post with post format gallery I add images from "Add media", note I don't use "Create gallery" but insert pictures into the post update then I have a php ...
4
votes
2answers
100 views

Using variable from one filter in another filter

I have a filter for the Gallery Shortcode where I grab IDs for images used in a post and using the IDs I grab their meta data. Now I need a way to use the $copyright variable in a filter for grabbing ...
4
votes
1answer
36 views

How can I allow for multiple template views on the Gallery Settings page when using the Visual Editor?

I'm trying to extend this answer by making it possible to switch shortcode attributes from the UI and alter the gallery markup based on those attributes. [gallery owl="true" link="none" ...
0
votes
0answers
15 views

Creating a metabox with media uploader for flexsilder gallery

I am trying to come up with a way to create a metabox on the post admin pages under the Wysiwyg editor in WordPress to allow me to use the WordPress media uploader. So, the goal is to have a metabox ...
7
votes
1answer
81 views

Prevent WordPress from adding image' title automatically

I wrote a plugin that set default title for all non-set (empty) titles and leaves the titles set manually (non-empty). The problem is when I upload new photos (to gallery), WordPress by default set ...
0
votes
0answers
16 views

Edit is changing my custom's post type parent id

I'm having a custom post type (vehicle) and i attached a gallery (post) with image attachments in it. Through my custom frontend form, I set all the post and postmeta details right, as i want to, so ...
0
votes
2answers
57 views

How to Organize and Sort Gallery of Images

I'm working on a website for an artist. He has many images that he would like a user to be able to sort and filter by custom taxonomy. In addition, he would like a user to be able to navigate ...
0
votes
1answer
30 views

offset and max_num_pages in pagination gallery

I rewrote the code galleries and stopped at the pagination. How can I get the maximum number of pages? at the moment I can not define it, and put a test for the number 5. (Here "for ($ i = 1; $ i ...
0
votes
0answers
11 views

Gallery with categories and front end user upload

I am looking for Wordpress Gallery with a) Categories b) Image description for each image and show in lightbox c) ability for front end users to create their galleries. I am unable to find ...
0
votes
0answers
17 views

Need help with tabs and image links please?

I need major help =/ Hoping someone can help me find a solution. So I am trying to use photomosaic plugin or just mosaic gallery. http://goo.gl/rTF7kL Thats the page I have set up on. The first set ...
-1
votes
2answers
22 views

how to show list image in gallery?

i has create galley in post as: [gallery columns="6" link="file" ids="156,113,99,67,103,102"] Now, how to show list image in [gallery columns="6" link="file" ids="156,113,99,67,103,102"] in to index ...
0
votes
1answer
36 views

Editor / Add Media: Is it possible to only allow galleries?

I am writing a theme for a client where the employees sometimes have trouble using Wordpress correctly. I am using custom fields to let them add a gallery to a portfolio item (which is just a custom ...
0
votes
0answers
13 views

Reverse Locate Gallery by ID - NOT ID but location on website!

This has befuddled me a few times and my searches only tell me how to find the ID of a gallery which I know. I am helping a friend with her Wordpress blog, I did not set up the site and I see she has ...
1
vote
0answers
27 views

Inside text editor my preview gallery images are in full size

As I described in the title in the edit post page and inside the editor when I submit a new gallery the thumbnails are in full size. I suspect that this error caused when I unset the default ...
0
votes
0answers
47 views

how to get_post_gallery size

i'm follow code get_post_gallery: <?php /* The loop */ while ( have_posts() ) : the_post(); if ( get_post_gallery() ) : $gallery = get_post_gallery( get_the_ID(), false ...
0
votes
1answer
36 views

Loading a template for a URL pattern

I am creating gallery pages for events and csr-events custom post type. Now it has three types of pages: www.example.com/gallery www.example.com/gallery/events www.example.com/gallery/csr-events ...
0
votes
1answer
50 views

How to specify a class added to my gallery

I would like to add a class to my gallery short code, this is how I have added my class: [gallery class="small" columns="2" ids="350,349,302,305"]. Now the confusion comes in, I am not sure how to ...
0
votes
0answers
47 views

Making a archive gallery page for a custom post type which already has an archive page

I have created an events custom post type archive by custom date field and completed all related pages successfully. It has : Archive page in the format : http://www.example.com/events/ Archive by ...
0
votes
0answers
22 views

Start directly with first image of gallery

I would like to link users directly into the first image of my gallery. When the user clicks on a new post on my homepage, I want them to see the attachment.php right away, without going to the ...
0
votes
1answer
31 views

Using catch_that_image() for galleries?

I'm currently in the process of creating my first custom wp theme, in which the post contains the title, the content, the gallery, and also a div in between the title and content where as a ...
0
votes
0answers
41 views

Create a Gallery and update Post Parent of Attachment Images

I need to create a gallery for a custom-post and update the post_patent of every image with the new gallery ID function create_tfuse_gallery_group($post_id) { if ( get_post_type( $post_id ) == ...
0
votes
0answers
38 views

Insert a custom taxonomy as a class in acf gallery loop

I am almost there, but not sure how to echo out a custom taxonomy as a class into my div containing my image. (see all the stuff below). All of the tutorials I see talk about using wp_query and then ...
0
votes
2answers
109 views

ACF Gallery with Media Categories - how do display categories and sort

I would like to use something to filter images within an ACF Gallery. I have added the Enhanced Media Gallery Plugin which will allow me to assign a category to each image, but am not not clear on how ...
0
votes
0answers
17 views

WordPress Gallery defult Shortcode responsive columns

I use WordPress Gallery defult Shortcode, in setting gallery 3 columns. in my site gallery loock good. but my site in mobile Gallery 3 columns see no good, small images. My question How do I edit That ...
0
votes
0answers
23 views

Image Gallery / Thumbnail for Theme Framework through plugin form

I'm using WPUF plugin form in order to submit custom post_type from frontend and I need to implement the form to themes framework, so it can set the thumbnail / gallery in submitted posts. I ...
0
votes
0answers
13 views

How add custom gallery to post_type

I need to add a 0 to the gallery 5 pictures for each post.I need to do this without the use of third-party plugins. I want something done manually through function.php. This is my post_type: ...
0
votes
0answers
22 views

Total Number of Images in a Default Gallery

I am trying to get a unique count of images in a given gallery (the default gallery). I would like to find both the total count of images, as well as the current image. For example, "Now showing ...
0
votes
1answer
21 views

Error while uploading photos

The photos I am trying to upload to my site are either in JPG or PNG but every time I try to upload them it says, Error try again later. Why is this happening and how can I fix it?
0
votes
0answers
67 views

Display meta of custom gallery settings on frontend

I have created custom gallery setting fields by this code: <script type="text/html" id="tmpl-slideshow-gallery-settings"> <label class="setting"> <span><?php ...
0
votes
1answer
83 views

Get gallery images from page ID

I have a page within WordPress called 'Gallery', the page ID is 128, and I need to display only the gallery images from that page on a different page with a different ID. The images were uploaded ...
1
vote
1answer
101 views

Converting html to wordpress images not showing

I am trying to convert a html page to wordpress but I am stuck on a few issues. Images I add to gallery and try to display on the pages don't appear. Slideshow doesn't appear. Note:If I use the wp ...
0
votes
1answer
36 views

Show all images attached to posts as a gallery page?

I want a gallery page where all images will be shown, which were uploaded with all posts. I tried this code with a page template, but the output of this code shows nothing, not even HTML code ...
0
votes
0answers
36 views

Bug in this code for hacking wp standard image gallery

I have a code to hack the standard wp image gallery. This code help me in numbering each image in the gallery. I found this code on the internet. The problem is that when I add more than one gallery, ...
0
votes
0answers
11 views

Thumbnail generation use the larger dimension

I am using the jquery masonry gallery. It basically works but i have a problem i cannot solve now. In Settings -> media i gave the thumbnails a sive of "200x200" with the "crop to exact size" option ...
0
votes
0answers
24 views

Gallery Images could not be shown

I have more than 50 pages on my WordPress site and there is a image gallery (WordPress Gallery, not an extension) in each of them. But now, all of them don't show their images, and in edit mode say's ...
1
vote
1answer
132 views

Set default number of columns in gallery

Is there a way to set default number of columns in gallery? It is set to 3, and currently I change it manually for every gallery in post I create to 4. Here are the settings on the right ...
0
votes
1answer
67 views

Only current gallery images with get_attached_media

On my page the gallery images are cycled and I would like to show their title as a caption. Since get_post_gallery_images only retrieves the thumbnail-url of the gallery images I have tried to use ...