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

learn more… | top users | synonyms

0
votes
0answers
8 views

Any Nextgen Gallery to WordPress importer?

Im trying to find a Nextgen Gallery importer to WordPress (default) gallery. I found some plugins and works well (like this: https://github.com/kovshenin/escape-ngg), but only with old tag system [...
0
votes
0answers
10 views

Implement a layout for feautured images on a single category

This is kinda hard to explain but here we go, im trying to use the flex laytout from Freewall for my posts featured images on my category of "gallery", i want only the featured image to display the ...
-1
votes
0answers
26 views

How to make random order ACF gallery?

My code is: <?php $images = get_field('gallery','option'); if( $images ): ?> <div id="slideshow"> <?php foreach( $images as $image ): ?> <img src="<...
-2
votes
0answers
18 views

How to create a 'colour simulator' image gallery [on hold]

I want to create a 'colour simulator' for a client's website, to show how a product might look in different colours. Something similar to this: http://www.designinferno.com.au/colour_simulator.php ...
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 ...
0
votes
2answers
441 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
0answers
19 views

XML Import functionality

I've taken a look across the site and cant seem to get an answer that matches my problem. I am using a plugin called WP All Import Pro which allows XML imports to media gallery and custom meta fields. ...
0
votes
0answers
20 views

Retrieve a Page's Gallery's Images, With Custom Thumbnail Size and Links to Full Image

Using the following function: get_post_gallery( get_the_ID(), false ) Example: <?php /* The loop */ while ( have_posts() ) : the_post(); if ( get_post_gallery() ) : ...
0
votes
0answers
17 views

Making Image Gallery the Width of the Page

I've been trying to find out ways to make the image gallery on my website's front page as wide as the very page itself. As in, I'd like it to stretch from the entire left side to the right side. The ...
0
votes
0answers
19 views

In a Gallery with limited image posts, how do I not limit images on single post?

I created a function for a theme that limits the amount of images displayed in a gallery. This is within the Gallery post format. However, I want to limit gallery images on all pages except for the ...
0
votes
1answer
29 views

Multi post images to post [closed]

Is there an easy way to post several images to a facebook post, so the post displays all. Like this: http://vendelboposten.dk/laekre-sko-og-nyeste-mode-fra-nova-shoes-fashion/ This link is made with ...
0
votes
1answer
40 views

Automatically add class-attribute to gallery?

I'm making a theme for a client in WordPress and he wants each gallery to have a grouped lightbox, so there's a lightbox for each gallery. I found out you can make it add an attribute to the gallery ...
0
votes
1answer
446 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
2answers
1k views

Insert wp gallery shortcode into custom textarea

Is there a way to insert wp gallery shortcode into custom metabox textarea ? I would like to have something like this: New metabox in post/page with textarea and below textarea there are a button to ...
2
votes
1answer
108 views

Gallery images titles - get from post

Is there any possibility to make a functions hook, which will automatically override titles of added images (or added during gallery creation) with post title? Just like in the example: - im creating ...
0
votes
1answer
23 views

Gallery IDS and Captions: hide/show on a per ID basis

I am aware of hiding captions in a gallery via css on figcaption, like .wp-caption-text/.gallery-caption for example. What I am looking for is a way to have custom control of hiding captions on ...
0
votes
0answers
13 views

Double gallery inserted in posts

I have a code for customizing gallery which I found in this post Custom Gallery HTML only working when images are attached to post/page I have customized it to suit my needs, it is set so that the ...
0
votes
4answers
822 views

Display Gallery Images from Custom Post Type

I want to display all the images added as gallery in a post with prettyphoto class. I am using this code. <?php /* The loop */ while ( have_posts() ) : the_post(); ...
0
votes
1answer
44 views

How to get post attachments in gallery post format template

I'm doing a WordPress theme, and I get stuck on one thing. As you know, the post-format in WordPress has different types of formats, I did all the types except the gallery slideshow. What I need, for ...
1
vote
2answers
166 views

Pull Random Attachments With Pagination

I want to make a archive page that pulls in all uploaded images to the site. I am using the current script. Its paginating somewhat but not showing all the images. Showing around 90 out of 140. ...
0
votes
1answer
30 views

Get_template_part inside filter?

Is it possible to remove gallery from content but in its place do get_template_part('content-gallery'); ? I have this piece of code which removes gallery from post but I am inserting content-gallery....
3
votes
2answers
2k 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: <...
3
votes
2answers
2k views

Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)

I'd wish to use WP 3.x standard Media Librery rather than relying on 3rd party plugins like NextGen no matter how well they're written. I just don't like duplicating functionalities. Media Librery ...
0
votes
1answer
13 views

Page WYSWIG only allowing slides

How do I add other content to my homepage.It is only accepting image slider. I would like to add some raw html and a gallery below the slides.Removing all images in the slides doesnt reveal the normal ...
0
votes
1answer
24 views

Attachment Metadata inside of Loop

Basically, I'm trying to call attachment info to display withing a loop, for use in an image gallery. I know I need to use wp_prepare_attachment_for_js($attachment_id) but I can't seem to get anything ...
0
votes
0answers
12 views

Change permalink to attachment gallery post and redirect parent post

I have a problem with the photos attached to another article Example: **Photo1** attached in MyPost1 **Photo2** attached in MyPost2 **Photo3** attached in MyPost2 **Photo4** attached in MyPost3 **...
0
votes
1answer
24 views

Pulling in Column Count in Custom Gallery

So close, but I know nothing of php. Would like to be able to pull in columns from wordpress gallery. The very nature of removing the default gallery might make this impossible. I think the secret ...
1
vote
1answer
39 views

Original image not saving?

When i'm uploading a picture, WordPress doesn't save the original image, just the thumbnails? That's why when i'm setting a featured image, the link is broken. Any help to to save the original image ...
0
votes
1answer
52 views

Use bootstrap for wordpress gallery?

I am wondering if it is possible to rewrite the gallery shortcode output (default wp gallery) to use bootstrap responsive columns. WP gallery is not really working as the rest of my theme. I know it ...
0
votes
0answers
7 views

Integrate a gallery with thumbnail inside a div with custom field

I have a tough problem. I created in wordpress template, a portfolio page. When you click on a project picture, a new div opened with other project's pictures. But I would like that my picture are ...
0
votes
0answers
21 views

Display style of attached image

Is there any way to write a filter/action in funtions.php so that all attached image thumbnails in a single post will be opened using the gallery feature on click? I can add the below snippet in ...
0
votes
0answers
38 views

Get ORIGINAL image links from get_post_gallery

I use get_post_gallery( WP_Post, false ) to get gallery data because I build gallery HTML myself. However strangely it only gives list of ID's and list of thumb-urls. What is the best way to ...
0
votes
2answers
4k views

ID of images from gallery

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.
0
votes
0answers
42 views

Customizing default WordPress Gallery

I am using the code from another StackExchange WordPress question here: Change Wordpress default gallery output by mathielo And all is going fine with my custom edits to this code (which includes ...
1
vote
1answer
41 views

How to get ID of images used in gallery?

How to get ID of images used in gallery? Using $gallery = get_post_gallery_images( $post ); I only get a string with thumbnails url, without image ID which is needed for basically everything. ...
0
votes
0answers
66 views

Adding a wp_editor to a modal, edit gallery button not displaying?

I've initialized a wp_editor via ajax with quick tags within a wp-media modal, and everything seems to be working great. However If I try and edit a gallery within the modal by clicking it nothing ...
0
votes
0answers
40 views

Change Gallery Shortcode Image Size

I am developing a WordPress theme and have a few posts with galleries (displayed via Jetpack slideshow). Gallery example: [gallery type="slideshow" size="full" ids="1672,1682,1674,1670,1676"] ...
7
votes
4answers
12k views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
3
votes
4answers
12k views

How to get Page/Post Gallery attachment images in order they are set in backend using WP_Query()?

I am trying to retrieve all the images from the Gallery of a page in the order they are set in the backend. So far I have: $my_wp_query = new WP_Query(); $all_wp_pages = $my_wp_query->query( ...
0
votes
1answer
67 views

Replace custom gallery shortcode with default gallery shortcode

I want to replace my custom gallery shortcode in my post content with the default Wordpress shortcode (in pre get posts). I will be doing this in only a certain instance where it will need to be ...
0
votes
2answers
71 views

Responsive Wordpress Gallery

I have been trying to make my Wordpress Gallery responsive with the help from another post: Making WordPress Gallery (.gallery-item) Responsive? I would also like the original 5-column gallery to ...
0
votes
1answer
617 views

Dynamic image grid gallery

I want to create a project with the following image grid gallery. I try to do with the using of masonry JQuery My code : functions.php wp_register_script( 'pkgd', get_template_directory_uri() ....
0
votes
1answer
406 views

How to get the first image gallery of a product in woocommerce in a loop

I want to diplay a product with product image, and when visitor hover that image, will change to first image from product gallery I am using this code to display the image gallery, but displayed all ...
1
vote
3answers
3k views

How to add a random image to a post from gallery and only show one?

I know how to add an image and a gallery. I need to have one image from the galley show on the page at random each time the page is loaded. The page should only show one image at a time. Is there a ...
0
votes
0answers
14 views

wordpress gallery captions

I'm trying to develop a simple content site with wordpress which requires a slider gallery with unique captions for each image within the gallery. $gallery = get_post_gallery_images( $post ); Using ...
0
votes
1answer
21 views

How to move Wordpress gallery image out of the link?

I'm a newbie to Wordpress modifications and PHP in general and I need a bit of help. I've found a post here showing how to modify the native Wordpress galery output. Everything is allright but I can't ...
0
votes
0answers
44 views

Adding pagination into gallery shortcode

I'm tring to add pagination to [gallery] shortcode. add_filter('post_gallery', 'filter_gallery', 10, 2); function filter_gallery($output, $attr) { global $post; //GALLERY SETUP STARTS HERE----------...
0
votes
1answer
149 views

How to show a manageable list of images on a post?

I've created a custom post type called product. On my theme's product page, I want to be able to show a basic list of images (ul>li>a>img) on a sidebar like this (quickly googled :P): I ...
0
votes
0answers
14 views

How to compare 2 attachment tags against category tag

I need to compare 2 tags from an image attachment against tags that are used in categoryID=2. And only get returned the tag that is used under the categoryID=2. With that, I should get returned just 1 ...
0
votes
1answer
16 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" ids="590,589,588,587,586,585,578,580,581,582,...