Tagged Questions
0
votes
2answers
126 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
1answer
43 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 = ...
0
votes
1answer
53 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 ...
0
votes
0answers
28 views
WordPress Gallery Has “Ghost” Image
I have 3 galleries on a single page. All three are wrapped by jQuery Cycle to create 3 simple rotators that each have a thumbnail pager. Each gallery is using the [gallery] shortcode with a few ...
1
vote
1answer
49 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
88 views
CLOSED - 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 ...
0
votes
0answers
73 views
Change Media Manager image link behaviour (not to link to direct file)
Is there a way or a plugin to modify / replace Wordpress media manager's default way of handling images in pages / posts?
Bad (default) behaviour:
If you insert an image, the link to the file gets ...
0
votes
1answer
148 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 ...
0
votes
1answer
47 views
Autosort uploads in galleries by filename
A client of mine wishes to not have to sort images uploaded into a post gallery, but instead rely on its filename for sorting (e.g. "01_sample.jpg", "02_sample.jpg"). This would save a lot of time for ...
0
votes
1answer
361 views
Responsive image slider/rotator using multiple image sizes [closed]
There are many WP image slider plugins that claim to be responsive. So far, all the ones I've looked at resize images on the fly e.g. with CSS. A small-screen or mobile user is forced to download ...
0
votes
1answer
176 views
wp_get_attachment_link() add rel attribute if the link points to direct image
I'm using filter like this to add rel attribute in wp_get_attachment_link()
add_filter( 'wp_get_attachment_link', 'sant_prettyadd');
function sant_prettyadd ($content) {
$content = ...
0
votes
2answers
202 views
Change the way wordpress outputs images or image galleries
The title is the short version of the question.
Here's what I need in more details...
If the answer is not so simple, I would be glad if you can point me to the right direction with a tutorial or to ...
1
vote
0answers
60 views
Creating a post image to show in a gallery
Sorry if this title of question is not clear. I have create a custom post template with the help of this plugin Custom Content Type Manager
With this plugin i create this , and i am at the Second ...
0
votes
1answer
224 views
Paginate Gallery [closed]
I am using the default WordPress Gallery (along with the Cleaner Gallery plugin) to display some images. The one thing that the gallery doesn't seem to have is pagination. What I'd like to do is after ...
5
votes
3answers
275 views
WP 3.5 and Galleries - how to count images?
I'm trying to figure out how to count and display the number of images in a gallery with WP 3.5. I was following an old post on Ottopress, querying the DB for attachments but it seems the galleries ...
0
votes
1answer
119 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
1answer
40 views
How to display original unmodified thumbnail
I have uploaded a few images that are being used as thumbnails. I cropped them within WordPress to be square and focus on the subject of the image. I have also got a slider that is rectangular and ...
0
votes
2answers
123 views
One picture belonging different galleries?
How can one picture belongs different galleries?
For example, there are two galleries. I want to avoid loading the image twice (in two galleries) but it shown (included) in the first and second ...
1
vote
1answer
88 views
wordpress get gallery images title
I am retrieving some images post with:
$img = wp_get_attachment_image_src( $attachment_id, 'full' );
How can I retrieve the image title?
Thanks.
0
votes
1answer
195 views
Colorbox: simple a link href image not appearing [closed]
I have a function that lists the images linked to a post:
function bdw_get_images($gal) {
// Get the post ID
$galID = $gal;
// Get images for this post
...
1
vote
1answer
500 views
Custom Post Type with image gallery
I'm doing research on custom post types for a Wordpress site I'm going to be putting together for a client of mine. The basics of the Custom Post Type seem pretty straight forward. What I'm trying ...
0
votes
1answer
191 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.
...
2
votes
3answers
205 views
get attributes/part of the gallery shortcode
I'm trying to grab all image id's that are associated with the [gallery] shortcode that are listed as exclude. For example: if my post has [gallery exclude="1,2,3"] I'd like to get a variable that ...
4
votes
1answer
179 views
Navigate with keyboard in Gallery shortcode
I am using Wordpress Gallery shortcode and I was wondering if there is a way to navigate using the arrow keys? Like if I view an single image and used the right arrow to navigate to the next image in ...
1
vote
1answer
387 views
Bulk edit wordpress images alt and title attributes
I uploaded around 600 pictures in different galleries in wordpress without setting the titles and alt attributes. I need to edit them, I was wondering a way to edit them by album, let's say the title ...
1
vote
3answers
165 views
Exclude featured image from gallery in wp-admin
Is there a way to prevent the featured image from even showing up in a post's gallery?
e.g. when editing the gallery in the admin for a post, the featured image isn't there.
0
votes
1answer
109 views
Don't show images inserted into content
I'm using a lightbox plugin to display my post images with [gallery], it works
but those images show up in the content area too.
So there are thumbnails and full size of same image.
How can i hide ...
1
vote
1answer
366 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:
...
1
vote
2answers
126 views
Howto accurately position images with maximum flexibility?
I got a request to develop the following design with Wordpress: http://imm.io/DLrl (design is pixelated by me for the purpose of privacy).
As you can see there is a pretty random structure of image ...
1
vote
0answers
58 views
NextGEN Gallery- using shortcode for different galleries on different pages [duplicate]
Possible Duplicate:
conditional shortcode not working
I have a salon website with a gallery page wherein the user must first select a stylist prior to viewing their individual gallery.
I ...
0
votes
2answers
123 views
Wordpress as CMS: How to manage/handle images assigned to a post as full-sized background images in a slideshow?
I wonder if Wordpress is the best CMS or solution for what I wannt to do?
I need to find some way to upload images to a post that I can loop as background images. Just like I can upload multiple ...
0
votes
1answer
65 views
Any plugins that upload, resize, and display images?
Here is an ideal workflow for my situation:
Upload a folder full of images
Resize images according to a specified size
Have the ability to organize these images into folders (collection1, ...
0
votes
2answers
1k views
Using Jetpack carousel w/o creating a gallery
I want to use the Jetpack Carousel for all my posts without editing all of them. Is there a way to show pictures in the carousel even if they're not in a gallery?
0
votes
1answer
125 views
Gallery post images on homepage?
I have a post with image gallery, it has 10 images. Can I get the direct link to the images in the post, so that I can display first 5 images on the homepage?
0
votes
1answer
75 views
What is the plugin to import image from URL?
How can i import image from specific URL to image gallery in Wordpress so that i can use it as a thumbnail for post? I search for a plugin.
0
votes
1answer
142 views
Pagination between images (active/inactive)
I would like to add a check on the following piece of code that shows the arrows next/prev only if the next/prev image exists:
<div class="gallery-image">
<p class="attachment">
...
0
votes
0answers
14 views
How do keep caption from displaying on gallery short code? [duplicate]
Possible Duplicate:
How to manually fix the WordPress gallery code using PHP in functions.php?
I'm using the gallery shortcode and I put in display=none thinking that would keep the ...
0
votes
2answers
992 views
How do I get gallery thumbnail URL and change the default thumbnail size?
when I create a gallery I get this code generated yet I can;t find out how
<img width="150" height="150" src="http://localhost/wp2/wp-content/uploads/2012/06/28_0120-150x150.jpg" ...
1
vote
2answers
2k views
Get image from post's gallery
Is there any possibility on Wordpress to get an image from a post gallery?
Images are not inserted in the post, are on it's gallery.
I'm trying to do a "galleries index" page and instead having the ...
0
votes
1answer
113 views
Excluding post thumbnail from the attachment.php when using wordpress gallery
I am looking for this answer everywhere and can't find it.
I setuo the wordpress default gallery using the attachment page which shows next and previous photos.
everything is working fine and I have a ...
1
vote
1answer
101 views
How to use photo in multiple posts?
I have a theme that shows images only from gallery tab
(so i can't re-use an image to other posts). As you know an image can only get attached to 1 post. I found a plugin that you can attach an image ...
0
votes
1answer
37 views
How do I set the sizes of my thumbnails when inserting a [gallery]?
A really simple thing, yet my images are uploaded as about 500px wide, I have them selected as full size, yet when I use the [gallery] shortcode, it crops the thumbnails to 100w x 75h. This isn't ...
0
votes
1answer
299 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 ...
0
votes
1answer
182 views
Allow users to contribute images to a post
I'd like to curate, per-post, a collection of images submitted by many different users. Meaning - when a user views a post, they'll see as part of it the images that others have contributed, and will ...
-2
votes
2answers
1k views
How can I make all gallery images to open in a new window?
How can I make all gallery images to open the high resolution image in a new window?
2
votes
2answers
648 views
Cropped featured image replaces original image in gallery
Firstly, I have done my research as thoroughly as I possibly can. Searches have been made, but I have not found any advice or solution as to my exact issue.
Ok, time to explain.
Currently I am ...
3
votes
1answer
966 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
90 views
photo gallery implementation like tmz
** REVISED POST **
I have a custom post type called photo_group that allows you to input an array of photos. I also have a single post called "photos" which is re-written to be my-website.com/photos ...
0
votes
1answer
1k views
How to create a simple slideshow out of a post image gallery?
Are there any solutions to transform a default image gallery into a simple slideshow as seen in this theme?
Note: click to move to the next picture in the gallery.
3
votes
2answers
1k views
How do you modify the HTML output of a Gallery item (using the gallery shortcode)?
Im a bit lost on this simple problem so i thought id come and ask the pros. Ive just been told by my client that on their sites gallery, the name and description are on the same line.
so for example ...