The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
180 views

Disable Linked Gallery Images If Mobile Browser

So I found this question here: Proper Way to Remove Thumbnail Links In Gallery and looks to have a good answer, but how can I make that apply only if the user is on a mobile browser, or at least if ...
1
vote
1answer
210 views

How do i display the built-in gallery inside a widget?

I want to display a specific gallery (without a plugin = WordPress built-in gallery) inside a widget. I tried the shortcode [gallery ids="717"] but that doesn't work. Maybe a workaround could be ...
0
votes
0answers
72 views

Wordpress gallery image link gives 404 when not logged in

I'm attempting to use the default Wordpress gallery (from the post editor 'Add Media' then 'Create Gallery'). When logged in as an admin and clicking an image in the gallery on the resulting blog ...
0
votes
1answer
2k views

How do I attach images to a post without inserting them?

I'm developing a theme with an built-in gallery outside of the post content. So what I want to do is to allow editors to attach images to a page/post without inserting them. Kind of like the featured ...
0
votes
0answers
138 views

Each user can edit only one page

I have website that let the user publish her business. Each business has a private page with some details and an image gallery. Each business owner has a user. I should make, that each user (each ...
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
0answers
631 views

Multiple gallery thumnbnails on one page

I want to post multiple galleries on a single static page. So far, I've only been able to create a gallery that puts every single picture on that one page. What I want to achieve is several images ...
0
votes
1answer
230 views

Changing layout of defaul gallery output to masonry

I'm changing the default layout for gallery shortcode. I have this in my functions.php: $attr['columns'] = 1; $attr['size'] = 'full'; $attr['link'] = 'none'; $attr['orderby'] = 'post__in'; ...
1
vote
0answers
68 views

Adding shortcode field to edit gallery / Gallery Settings

I want to add a field to the Add Media / Edit Gallery / Gallery Settings column which is able to accept shortcodes. I want to do this so that I can add a Cart66 shortcode which will "render" an add ...
0
votes
1answer
638 views

Image thumbnails slider

js-image-slider.js var sliderOptions= { sliderId: "slider", effect: "13,17,13,13,5", effectRandom: true, pauseTime: 2600, transitionTime: 500, slices: 12, boxes: 9, ...
0
votes
0answers
67 views

Custom field for default gallery

How I can add custom field in default WordPress gallery? in visual editor and in shortcode.
0
votes
1answer
42 views

How do I add tags/taxonomy to images + a query field on page to query 'albums' (images with same tag/taxonomy)

I've got lots and lots of photos on my site and I want to seperate them into albums. Every album is a client album (photoshoot). Though.. I want all my clients to query their album on my site. ...
0
votes
1answer
213 views

How can we create a wallpapers gallery with different resolution?

I want to make a wallpaper gallery which can detect the screen resolution & give the option to download wallpapers in different resolution.
0
votes
0answers
29 views

Calling Images from a Gallery when Post is Clicked

http://acesystech.com/edge/ Im wanting to do something simlar to this, where the customer can click a project and see a scrolling images block of the images, however i want to do i with like click ...
0
votes
1answer
331 views

What makes a placeholder resizable in Tinymce?

It's not that hard to make a plugin to TinyMCE, similar to what the Wordpress gallery is doing in WP 3.5. Unfortunately, these custom placeholders are always non-resizable, although they show the ...
0
votes
1answer
671 views

Advanced custom fields and Slideshow gallery desn't work together? [closed]

Im using WordPress 3.5.1 and the twentyten theme. I'm using advanced custom fields and want to ad a slideshow. I'm using the plugin Slideshow Gallery ( ...
0
votes
0answers
16 views

standard wpGallery for post won't work

I'm trying to get the standard wpGallery running in my post. I followed this tutorial. But I ain't get it working. This is what my editor shows while editing a page: http://i39.tinypic.com/6ivi1z.png ...
0
votes
1answer
86 views

Gallery order specified by shortcodes is ignored in gallery function

I have the following gallery order in a shortcode: [gallery ids="1996,2431,372,447,645,641,647,642,649,643,650,648,653,697,652,390"] And I have this function, which creates a nicer looking gallery: ...
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
1answer
46 views

Adding a gallery to my first theme

I have been spending a lot of time the past few months researching on how to create my first theme. That said most tutorials/books only discuss static sites and I want to go about this well prepared. ...
0
votes
2answers
2k views

Slider do not add alt attribute. Cant get alt attribute from a media library!

I use a slider to show my post thumbnails. But the problem is that the slider adds thumbnails without the alt attribute: <img src="http://example.com/wallpaper-791556-1180x500.jpg" /> But I ...
1
vote
0answers
106 views

Way to add captions to gallery images by code

I am creating posts by using wp_insert_post function. It works fine as I provide values in array required. Sometimes it is required to create a post having gallery. Without any problem, it also works ...
0
votes
1answer
305 views

Display meta data from a custom field within plugin Category Grid View Gallery

I am using this plugin, which creates a gallery of posts, fetching a thumbnail and the titles of the posts displayed in it. I have enabled Custom Fields, and have created (and filled in values) a ...
1
vote
1answer
183 views

add img class to native wordpress galleries

Trying to add an img class = "the image alt field" to the images in a native wordpress gallery so i can use jquery isotope to filter the gallery. I could use the image alt field or the description ...
0
votes
1answer
389 views

Create Short code dynamically

I want to generate short code for my gallery dynamically. For a single gallery, it is easy to create a short code for my gallery using add_shortcode( 'image-gallery', 'gallery' ) Now my question is ...
1
vote
1answer
78 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
1answer
181 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
votes
1answer
599 views

Hover/Zoom on Lightbox gallery

Is there a way to hover/zoom on the larger image in a lightbox gallery. I am using Lightbox Gallery Manager from Raygun and have several galleries on a page. Once the lightbox gallery is opened, I ...
2
votes
2answers
2k 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 ...
0
votes
1answer
75 views

How to display some of images from media library?

i try to create a simple theme. I want display several images from media library(same concept of gallery), but i don't want use POST or PAGE, just directly from media library. (of course not use ...
0
votes
0answers
139 views

How to extend media gallery WP 3.5

I'm trying to extent in a theme the media gallery. basically what I'd like to do is to have another button next to 'Insert gallery' that will say something like 'use this images'. And when clicking ...
0
votes
1answer
123 views

Adding different classes to different images depending on size for fine control of image layout in posts

I have all the CSS classes set to display images in a custom portfolio theme. I am allowing for images of different sizes and proportions (landscape, portrait, etc) to be tiled next to each other and ...
1
vote
1answer
60 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 ...
0
votes
1answer
189 views

Adding Image Count to Multigallery

Ok so I am using the [multigallery] function and it works fine, but one thing I want to add. Here is the code that I am using for the multigallery in my functions.php file function ...
0
votes
1answer
44 views

How to add a div around the default gallery output

I would like to add a container around the default [gallery] output. I don't want to modify any core files, and add unusual lines to my functions.php. How to do that? What's the most elegant method?
0
votes
1answer
51 views

Which file renders the “Edit Gallery” Settings page?

I was looking for a tutorial on adding options to the "Edit Gallery" page. In the hopes of adding some GUI inputs that would result in the generated [gallery] short-code having custom attributes. I ...
0
votes
1answer
156 views

How to change the output of gallery shortcode

I would like to add the media description as a data-attribute to each image of the gallery. All the other answers favour the solution to copy the whole code from media.php to functions.php and change ...
0
votes
1answer
25 views

Functions Error: Impacting Galleries

The function below controls an option inside an options panel. What it does is choose the number of posts being displayed in a particular archive (to_count archives, to_count_home, to_count search ...
0
votes
1answer
95 views

How to show the image caption on custom post type …?

I Follow this code to make a gallery photo system: $the_imgs = get_custom_field('gallery_img:to_array'); foreach( $the_imgs as $img ) { list( $url, $width, $height ) = ...
2
votes
1answer
903 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 ...
2
votes
1answer
108 views

Attach custom gallery to a page

I am developing my first WordPress website and am trying to find a way to do the following. Website editor needs to be able to create image gallery pages by attaching multiple images with metadata ...
0
votes
1answer
285 views

JavaScript Errors when Loading NextGEN Gallery [closed]

I am using NextGEN Gallery and NextGEN GalleryView. (Editors Note: Not sure what this sentence means) But I can't get the image those image was hidden. When I check the css and js files, all of ...
0
votes
1answer
3k views

Change the output for [gallery] shortcode

I'm sorry if this question was answered here, but I couldn't find it. Is possible to change the HTML output of [gallery] shortcode (without plugins)? I would like to show the thumbnails as another ...
2
votes
2answers
355 views

Gallery Only Displaying One Thumbnail

My image galleries are showing only one thumbnail in the post the gallery sits in. http://themeforward.com/demo2/2013/03/08/image-gallery/ My single.php markup can be found here: ...
1
vote
1answer
143 views

Gallery shortcode numerical sorting

When I try to sort a Gallery created through the [gallery] shortcode by numerical titles I get them sorted in alphabetical order. That means that they are sorted like so: 1, 3, 34, 4, 56, 6, etc. ...
4
votes
1answer
2k views

How to paginate wordpress [gallery] shortcode?

I am using wordpress gallery shortcode [gallery] I was wondering if there is anyway to paginate them without using a plugin.
0
votes
1answer
1k views

Wordpress 3.5 grab first image from gallery

I'm noticing that adding a gallery to a page now just lists the ID's of images, slightly different to before, and reordering the images just amends the order of the ID's listed in the gallery ...
2
votes
1answer
349 views

How to insert Gallery shortcode to a meta box

When we create a Image Gallery from the Media Modal Box and click on "Insert Gallery" button, the gallery shortcode is added to the main text area. Is there a way to detect which Post Format is ...
0
votes
1answer
633 views

Ordering of gallery images without using shortcode in theme

I using the built-in gallery in wordpress to store and sort images inside a custom post type. In the theme I was using: $attachments = get_posts( array('post_type' => ...
7
votes
5answers
750 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 ...