The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
6 views

attchment id vs url

Hi guys so im working on a site and im using galleries to display images of products and I was wondering why do some images link like this: http://studioanise.com/?attachment_id=249 and display how I ...
1
vote
2answers
347 views

Custom gallery in wp3.5

I used a tutorial I found for a slick little custom gallery in 3.4, but upon upgrade to 3.5 it no longer works. I'm trying to learn php still and can't seem to get this working again, as I either get ...
0
votes
1answer
12 views

Get url of selected gallery images?

I'm implementing a gallery upload to my plugin, and I've set up an image gallery upload with: function upload_gallery_button(e) { e.preventDefault(); var $input_field = ...
0
votes
1answer
75 views

Getting the image title/alt attribute from the gallery shortcode

I am trying to learn how to code php so that I can customize the image gallery within WordPress (among other customizations). The code I have works great for a stylized gallery page, but having a ...
0
votes
0answers
11 views

Displaying WP Gallery images on the front page from a post

The following code works great if you're fetching a gallery on the same page. (much thanks to @Jan Beck for this code -- working with alt/title for WP Gallery shortcode ) But I am trying to get ...
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
0answers
8 views

Gallery images stored elsewhere (preferably Google Drive)

I host client galleries on my website using the standard WP gallery but the disk space costs a lot this way. I was wondering if there's a way to show pictures in a gallery that are loaded from ...
0
votes
0answers
12 views

customize theme's iLightbox shortcode

I am using the Themeco X theme and it comes prepackaged with the iLightbox. I want to customize the X shortcode to utilize iLightbox variables that are not 'included'. Themeco says that "1. You can ...
0
votes
0answers
11 views

display gallery in list format instead of grid

I'm looking for the best approach to do the following: The site will have one page into which the user will be creating and inserting albums and galleries via the FooGallery plugin which "uses the ...
0
votes
0answers
11 views

Enhance-Media-Manager-For-Gallery

Enhance Media Manager for Gallery I used the example and the html template is rendering fine, however no attribute for type is added to shortcode in page content. So I believe the JS is wrong. Help? ...
0
votes
0answers
8 views

woocommerce product gallery not loading pictures [on hold]

In Woocommerce Admin, edit product page, Product Gallery > Add product gallery images I select or upload my picture - press Add to gallery button. The Add Images to Product Gallery window ...
1
vote
2answers
52 views

have WP Gallery display the title instead of caption

OK, I have looked and read quite a few message boards about this problem and I can not seem to find an answer. I am uploading thousands of photos for a photographer and using the WP Gallery ...
0
votes
1answer
883 views

limit number of images shown from gallery

I'm not sure if I'm doing this the right way.. I want to display 4 random images as part of the header of a page. I created a post called Header Images and inside it is a gallery with a bunch of ...
2
votes
1answer
3k 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 ...
0
votes
1answer
18 views

Wordpress gallery not sorting the images if I change the order of image ids

I am using Wordpress gallery in a theme. I am trying to change the order of images by changing the order of ids but it is not working for me. I have searched relative questions to wordpress gallery ...
0
votes
1answer
33 views

Possible to add same caption to all photos in a gallery?

I was wondering if there is a possibility to to add one caption to all the images in an album within WordPress?
0
votes
0answers
10 views

How do i retreive the ids of images from the gallery embedded to metabox

i have created a metabox with the following code $image_process_left = get_post_meta($post->ID, '_image_process_left', true); echo '<br><label for="image_process_left"><b>Image ...
0
votes
1answer
346 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
2answers
827 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 ...
1
vote
1answer
57 views

Making WordPress Gallery (.gallery-item) Responsive?

Shortcode for Gallery: [gallery link="file" columns="5" size="medium"] I’m using a 5 column gallery on an inner page of a website, obviously when the site responds down to mobile and even tablet ...
0
votes
0answers
18 views

Include gallery in attachment permalink

I need a fix for my gallery attachments on WordPress. Now when adding a gallery the permalinks are something like that : mydomain/the_post_name/image_file_name/ But I want to do something like ...
0
votes
3answers
549 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(); ...
-3
votes
0answers
21 views

Customize slider shows on the single product page

I have attached a picture to show the problems I faced. the slider(or maybe other element) take too much area in the product page. i need to alter the dimensions of this element for good appearance ...
0
votes
0answers
16 views

How to add more fields to wordpress galleries?

I would love to add more fields so I can add date, title and other information to Wp galleries..i wonder if there is a tutorial or guide you can recommend me guys? I found a few ways to do it, but ...
1
vote
3answers
89 views

Responsive Images

Is there a native function to display the correct responsive image size for post thumbnails or gallery images depending on the screen resolution? Normally I'm using: 1.Custom image sizes: function ...
0
votes
1answer
410 views

How to dynamically insert <a href> in the image caption?

So, below is the Wordpress default generated code for a gallery item: <div id='gallery-1' class='gallery galleryid-203 gallery-columns-3 gallery-size-thumbnail'> <dl ...
3
votes
4answers
1k views

Overide Gallery Default Link to Settings

Is there way to control the gallery default “Link to” setting? Using the image_default_link_type filter within a functions.php file works on inserting single images into posts but it doesn't seem to ...
0
votes
0answers
16 views

Show posts from specific categories in a set page and some cosmetic modifications

So I'm trying to make a gallery-site for a friend's art as a hobby/learning project, and so far I've chosen a theme that I liked and modified it to fit the content I wanted to upload. But ...
0
votes
0answers
83 views

Add custom fields to wp native gallery settings

i already searched for solution and found a lot of unsolved or obsolete topics. Custom wordpress gallery option | Custom field for default gallery However, I´d like to add some custom fields ...
0
votes
0answers
26 views

Wordpress gallery previous/next buttons showing all media library images

I have just noticed that on my installation of wordpress, within the gallery image pages, the previous/next buttons are browsing through my entire media library rather than just those images that are ...
2
votes
0answers
49 views

Custom wordpress gallery option

I would like to add custom option to default wordpress gallery tab. I need something simple just a drop down to add offered style, this would add predefined class to gallery on client side and on ...
3
votes
2answers
11k 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
3answers
13k 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
votes
1answer
32 views

WooCommerce-like featured gallery

I want to create a gallery similar to what WooCommerce does using multiple "featured image"(s). I have searched and searched, but i cant seem to find any solution to this (not even a thread covering ...
1
vote
1answer
35 views

Can we have an 'Update metadata' button in Image Gallery for all image instances?

{Note: This question is a followup of this one.} It is possible to implement the following: In WP go to Media | Library and select an image. The 'Attachment Details' window appear. We have there ...
0
votes
1answer
60 views

Need help with get_posts pagination

I've been working on a wordpress site, and I'm trying to build a page where visitors can see all of the images that have been uploaded to the wordpress media gallery, regardless of whether or not said ...
0
votes
1answer
261 views

custom gallery filter with image caption as link title?

I use a custom gallery function to alter the normal Wordpress markup. Usually it's fine but I can't quite figure out how to add the image caption as a TITLE attribute on the thumbnail link. (The ...
0
votes
1answer
69 views

How to refresh the Gallery images?

I am using The Ken theme for one of my client, and they want to keep refreshing the Gallery images every time the page load. I could see mk_gallery.php files, as I am not hard code PHP developer so ...
0
votes
0answers
47 views

Replacing Gallery Shortcode with Foundation's Clearing

Using wordpress 4.1 and Foundation 5, and attempting to replace the stock gallery shortcode with foundation's clearing. In debugging mode, I get a notice of: Strict Standards: ...
5
votes
1answer
169 views

Best approach when modifying the Media Manager

I am trying to edit the Media Manager to allow the selection of a new option in the "Link to" select field. This Backbone template is currently defined in media-template.php <label ...
1
vote
1answer
80 views

Gallery Shortcode - only show first x thumbnails

Is there a way to only show the first 6 thumbnails on the actual post but when a user clicks on any of the thumbnails, then he can browse all images in the post gallery? Essentially, I would like the ...
0
votes
1answer
31 views

How do I extract a gallery image from databse?

I am using Tribulant Gallery Voting to have a Pet contest on my website. The plugin adds a Vote button below each image in the gallery. I want to show the 'Top 5' Pet photos with most votes in the ...
0
votes
1answer
38 views

Get title attribute from galleries

I managed to get all the images of a gallery from another page using get_post_gallery() and I entered a description for each of them in the edit gallery window. I tried using get_image_tag() to get ...
0
votes
1answer
61 views

Where is image gallery information saved?

Where does Wordpress 4 saves image gallery information? It must be in a file because I have not find anything in the database.
0
votes
1answer
58 views

Some doubts about gallery shortcode in Wordpress

I'm using Jetpack with Wordpress and creating a gallery. The thing is that I don't want all the images from that gallery to be shown, only the last 50 of them. Is there any solution to this using just ...
0
votes
1answer
51 views

Gallery with shortcode not showing

I've created a gallery in a static page of my wordpress site, like this: [gallery type="rectangular" ids="129,13,126,34,130"] This page has ID=63, so I'm trying to display this gallery in my ...
0
votes
1answer
14 views

Display images with same specific value?

I'm trying to make a slider for my website, but I'm a little bit stuck right now. The thing is that I don't want to use any plugin (I prefer to try to learn how to do this, and also most plugins have ...
1
vote
0answers
37 views

Extending Media Gallery - Retrieving values from short code

There are some existing questions that discuss how to add fields to the gallery dialog box and get those into the short code. What I want to be able to do is facilitate editing an existing short ...
0
votes
0answers
43 views

Post gallery as carousel

So I have this idea in mind: I would like to create custom page template, and whenever in post gallery is between tags, for example: Lorem ipsum somethinginkgsd.... [carousel] Gallery here ...
2
votes
1answer
104 views

how do i embed the pdf gallery in wordpress post

I want to show the epaper of newspaper. Is there a way that i can embed a gallery of pdf in post just like the gallery of images