The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
69 views

Breadcrumbs for Single Image page

As we know in different post we can use some image which we uploaded. This image can be used in many post but it has only one PARENT post. My question is how to track from which post the user came ...
0
votes
0answers
109 views

Insert Gallery Doesn't insert shortcode

I have a custom posttype where for some reason the "Insert Gallery" button generates an javascript error Uncaught Error: Syntax error, unrecognized expression: [gallery ids="113,111"] ...
1
vote
1answer
3k views

Get a list of galleries from an album in NextGEN Gallery [closed]

I want to get a list of galleries of a certain album. Than I would create a link to this galleries. How do I get the list of galleries in PHP? I saw that there is some code like global $nggdb; ...
0
votes
1answer
120 views

Picture inserted in the post not showing in “Gallery”

I have some posts in which I inserted the picture manually (before migrating to Worpdress) <img src="http://www.example.com/images/2010/quand-l-inde-compte-ses-habitants,M35788.jpg" border="0" ...
0
votes
1answer
67 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
0answers
37 views

How can I make gallery slideshow width fit to picture width?

I am using WordPress 3.8 and I want to make gallery width to fit image width.How can I do that? Currently it look like this: I want it look like this:
0
votes
0answers
78 views

Passing more options to: wp.media.gallery.edit

I am calling the media gallery edit screen like so on the front end: wp.media.gallery.edit('[gallery ids="70,71,72"]'); The right images get loaded (70,71,72), but the media library shows just a ...
0
votes
0answers
41 views

Using ACF to Link Images to Colour

I'm working on a website, where clicking a colour swatch will change the colour of the image displayed. Essentially I need to upload a series of images with a colour attached to each image. I figured ...
4
votes
2answers
2k views

add_filter and changing output captions of image gallery

I'd like to change only one output of native WP Gallery (in media.php) On Smashing Magazine (link) author advises to change whole gallery_shortcode function. But I wondered if is possible to change ...
0
votes
0answers
24 views

WP Gallery Image Page Issue When 2 galleries share one image

All attached images are stored in WP_POST table and have PARENT_POST which is only one. So if I put some image in one gallery the image will belong to that gallery(post). If I add the same Image in ...
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
4answers
11k views

Show Social Sharing Buttons And Facebook Comments In Lightbox Modal Dialog (Image Overlay)?

I would like to show Facebook comments and share buttons in the lightbox modal dialog (image overlay) that pops-up when I click on an image in gallery. A lot like what they have done on this website ...
0
votes
1answer
69 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
28 views

Making a [gallery] in a loop with attachment IDs?

I dont understand why this returns nothing but a blank screen. But if you echo the $attachment->ID you get a string of ID numbers. The goal is to produce a gallery with the wordpress [gallery] ...
0
votes
2answers
238 views

Changing Gallery images size?

I'm grabbing URLs of my Gallery images: $gallery = get_post_gallery_images( $post ); foreach($gallery as $thumbnail) { echo $thumbnail_slideshow; } The problem is all I'm getting are ...
0
votes
1answer
217 views

How to hide first gallery for every post?

I'm using galleries for attaching images, so the very first gallery for every post is used to generate a slider and nothing more. That's why I don't want to see it in post's conent. Let's say I have a ...
0
votes
1answer
62 views

Why do all Gallery functions return null for me?

This is how I'm creating new galleries: I start with making a new post. then I click on Add Media > Create Gallery after that I select a few images from Media Library (let's say 3 of them). and ...
1
vote
0answers
83 views

How to add custom meta box under Gallery Settings in the “Edit Gallery” popup

I am developing a theme. I want to add option for the user to choose the type of the gallery which he is adding. Will it be a slider, masonry gallery or some other type. I cannot figure it out how ...
1
vote
1answer
119 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 ...
0
votes
1answer
93 views

Get a Page's attachments in Gallery order

Having created a page and a gallery within that page, I would like to retrieve all the images in that gallery in the order they are set when the gallery is created, i.e. the order which I drag them in ...
0
votes
2answers
209 views

Display number of latest images from wordpress gallery in your homepage

I was trying to get a solution for something that I am trying to accomplish. I am using the wordpress native and simple gallery to show images in a page called: "gallery" so far - very simple. it ...
0
votes
0answers
131 views

gallery PHP & CSS

I am creating my own theme, and in order to display a gallery I want to add the PHP to call the gallery, and then use CSS to style it. I am using the plugin from the following site and when i follow ...
0
votes
0answers
1k views

Get gallery and product gallery images full size

I'm trying to get all gallery images in a while loop of posts (for example a blog page). With the code I'm using right now, I only get the small thumbnail images (150px : 150px). Also I want to get ...
0
votes
1answer
336 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
0answers
69 views

Getting Wordpress image gallery to output image title as well as caption

I'm looking to do a small tweak to the way Wordpress shows gallery images. I use a 1 column gallery with full width images and would like to output the title as a header and the caption as the main ...
0
votes
1answer
161 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 ...
0
votes
1answer
635 views

How to have Tiled Galleries like in WordPress.com?

In a WordPress.com hosted blog, you have the posibility to create picture galleries with a different style than usual: tiles, squared tiles or circles. What plugin are they using to achieve this? I ...
10
votes
2answers
2k views

ZIP up all images displayed in a [gallery] and offer as download link

I would like to offer my visitors the option to download the entire photo gallery (displayed on dedicated [gallery] pages) as a ZIP file displayed at the bottom of each gallery page. - The full-sized ...
0
votes
0answers
129 views

How to Display Custom Post Type's Gallery (images ) in Through WP_Query

I am trying to load an Image Slider images from a Custom Post Type image Gallery Feature. For example let say I have an Custom Post Type called banner which I can load images to it's Gallery and I ...
0
votes
2answers
789 views

Native gallery sorting is ignored

On my website, I recently got a quite strange problem. I used to upload images via the nextGen Plugin. But since with this plugin google doesn't seem to index my pictures, I wanted to switch back to ...
2
votes
2answers
3k views

get_post_gallery_images returns thumbs . I want full size

I have the following code on my site. <?php // image gallery content if( has_shortcode( $post->post_content, 'gallery' ) ) { $gallery = get_post_gallery_images( ...
0
votes
1answer
248 views

Help with WP gallery function, wrap gallery in div

I have a function in my functions.php file I need to change slightly and am having trouble doing it correctly. This function changes the gallery markup for Wordpress, making it more html5 friendly. It ...
7
votes
5answers
705 views

Use a separate custom table (not posts) to handle file upload data

The Problem: Website that has over 100 photos per post. Could possibly swell posts-table beyond 100K entries within a few years. The Dilemma: Would much rather stick to default WP UI for handling ...
0
votes
1answer
30 views

How can I attach a gallery to a post with a short code?

I would like to attach an image gallery to a post. Here how i am trying to do it: from the posts administration page i click on: add new media -> create gallery Select the images and click to: ...
0
votes
3answers
10k views

How to enlarge thumbnail on mouseover?

I am currently using NextGen Gallery and I want to view full images when I hover over the thumbnail, it is much better than waiting the user to click. Currently I obtain this functionality in Chrome ...
1
vote
2answers
3k 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 ...
0
votes
1answer
207 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) ...
1
vote
0answers
930 views

How to upload image and attach to Woocommerce product gallery?

I got the following code which takes and image, uploads it to my server and sets it as a featured image. How can i change it so it adds the image to the product gallery in Woocommerce? Maybe ...
-1
votes
2answers
28 views

Looking to implement a scrolling gallery in my theme

I'd like to include a scrolling gallery in a theme I am developing. Currently I have the code that "grabs" the attachments and place the thumbs inside a div (without using the gallery shortcode or ...
1
vote
1answer
41 views

In which version of WordPress was the new gallery shortcode implemented?

As of WordPress 3.5, as I'm sure you all know, the gallery shortcode generated from the media uploader changed and now includes a list of image IDs. The gallery shortcode codex page says the ...
1
vote
2answers
525 views

Fancybox not working. why?

Ok, I tried to implement a fancybox lightbox in my custom theme. I enqueued my scripts in functions.php: function ikos_add_lightbox() { wp_enqueue_script( 'fancybox', get_template_directory_uri() . ...
0
votes
2answers
370 views

zip download plugin works well in localhost but not on live site

I need to offer a zip file download [to registered users] on every post, containing all the images attached to the post. The solution provided in this thread works well for the purpose, although it ...
2
votes
1answer
791 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 ...
0
votes
1answer
91 views

Gallery plugin forces itself above text

I am using the 'gamma-gallery' plugin. A little modified, that is. The gallery is forcing itself above any text that was in the post. Any idea why that is? Here is the plugins code, if needed: ...
0
votes
1answer
360 views

How to remove the images from “Uploaded to this post”?

I was wondering if there's a simple way to deselect images from uploaded to this post, but still have the images in the image library? I uploaded some images while i was editing a post and this isn't ...
0
votes
1answer
479 views

Add a checkbox in Media Upload window

I'm developing a theme and want to put an internal gallery. Do not want to use all photos uploaded to the media library. I want to create a field (checkbox) so you must select which of these photos ...
0
votes
1answer
38 views

Category view with contents of [gallery]s shown

SO: I have a bunch of Posts with [gallery]s in them. They are in category "Galleries". I want the category view to show (some||all) of the contents of the galleries in each post. Instead it seems ...
0
votes
1answer
114 views

Re-ordering images in existing post in wordpress 3.6.1

I hope someone can help me. I cannot see how to re-order images once loaded to the media gallery. WordPress used to have a list view of all images in a post with a box you could enter the running ...
0
votes
1answer
76 views

Debugs/errors in oqey gallery

When i install this plugin (oQey gallery) i report some errors like: 1) Notice: Undefined index: type in \wp-content\plugins\oqey-gallery\gallcore.php on line 252 On line 252: if($_GET['type'] ...
0
votes
1answer
555 views

How to automatically populate a gallery with images attached to posts of one category?

I would like to have a gallery in a post or a page (code in template or via shortcode). The images of this gallery should be pulled automatically from posts of one or more categories of my choice. ...