Images are used in different ways by WordPress.You can use a theme with images in layout, place images within your post/page content, display images next to visitor's name called avatars etc

learn more… | top users | synonyms (3)

1
vote
1answer
1k views

Force image crop size in media editor

I've searched high and low for this but think the answer I seek is being buried by the more common questions. I am developing a theme for a client that has two specific image sizes (100x127 for ...
0
votes
1answer
626 views

Upload images from one site to another in Multisite

My multisite setup has one sort-of-admin site, where users can insert/edit posts and specify on which site they want 'em published. This is a contract requirement and cannot be changed. EDIT: Check ...
1
vote
0answers
47 views

Insert File URL Links to Existing Images that Were Not Originally Linked to Themselves

I hope the title was descriptive of what I'm looking for. I have a client who has been inserting images into hundreds of posts, but choosing "Link URL: None" when inserting images instead of choosing ...
0
votes
1answer
78 views

Stop WordPress from showing images on non post pages

With regards to how WP displays "preview" text on the home page, category page etc for each post, how do you stop it from including images in this section. I'm not talking about the featured image ...
0
votes
1answer
279 views

409 error (Conflict) when trying to insert an image into a post

I've uploaded a Wordpress site to the live server and I get this error whenever I try to insert an image into a post: Conflict The server encountered an internal error or misconfiguration ...
5
votes
2answers
1k views

Adding a custom image upload size and making it selected by default?

How can I add a custom image upload size with a width of 550px and make it selected by default in the Add Media page? Currently, there are 4 sizes available: Thumbnail, Medium, Large and Full Size. ...
1
vote
0answers
71 views

Change Featured Image direcly in the Page

In Doing an Image Gallery with Fancybox( lightbox ) using a wordpress loop, take a look at the code inside the loop: <div class="gallery_image"> <p style="width:201px; height:199px;"> ...
2
votes
1answer
4k views

How do i reference the theme path in pages for images?

How do i reference images in a page/post without installing the php plugin or typing it out manually like this: domain.com/wp-content/themes/mytheme/image.jpg
1
vote
2answers
138 views

Custom Field returning Numerical Value for Image rather than URL

I have been trying a way round my latest WordPress problem all morning and I feel now is the right time to shout and ask for help. I have been trying to create a people directory, I'm there except ...
1
vote
2answers
83 views

Wordpress shows my picture in admin bar

I have installed wordpress on my dev but during installation, I did not upload any picture for my profile but on admin bar, it is showing my picture. How I can remove it?
3
votes
1answer
2k 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 ...
0
votes
1answer
82 views

How would I attach media/images to a post based on a ID stored in a each post's custom field

I have converted a site over to wordpress recently. I was able to import all the posts via a CSV importer, but not the images associated with each post. The post type is "machinery". The custom ...
1
vote
3answers
429 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.
1
vote
1answer
145 views

Inserting images in multiple posts native gallery

I am trying to find a solution to a problem that Wordpress seems to lack. Here is a scenario: I have uploaded images to a post using the native gallery to display the images. These images then ...
0
votes
1answer
196 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 ...
0
votes
2answers
2k views

Saving/Writing/Adding file to upload folder

Within a plugin I am generating an image, I would like to save this image to the upload folder and update the WPDB with the location of said file. I cant find any build in wordpress functions to ...
0
votes
1answer
97 views

How can i add thumbnails images to particular post (using code not admin pannel) in wordpress

I am trying to set thumbnails for my post. I have post_id = 285 and I want to add manually a thumbnail (using code) but I'm not succeeding. update_post_meta( $post->ID, '_thumbnail_id', ...
2
votes
1answer
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: ...
2
votes
1answer
567 views

Show Post Excerpt in Image Attachement

I want to show excerpt from the post in the below image attachment, here's my code <?php /** * Image Template * * Displays singular WordPress Media Library items. * * @package Thematic * ...
1
vote
2answers
454 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 ...
0
votes
2answers
316 views

Remove link on full-size images

Is there a way to remove the link on full size images in posts/pages? I still would like to have it for the other smaller sizes. Since the full size image is already full size, it seems unnecessary ...
0
votes
1answer
68 views

image URL changed in wordpress

I have moved a theme from local to live and the image URL's are showing my live localhost default url instead of the current live url. Any idea's on why and how to fix this? The site is live at ...
2
votes
1answer
78 views

Images in upload folder with hexadecimal names

I'm using Wordpress 3.4.1 with the Suffusion theme 4.3.0. I've noticed that there are a large number of images with hexadecimal names, like 54f96e1d5f478186f66bde9d6aeda625.jpeg. I'm wondering how ...
2
votes
1answer
151 views

Converting Attachment to Images?

I've had no problem using lightboxes before with attachment images, but I've switched to a new theme called Quicknote and it seems that attachment images now instead link to the attachment page. ...
1
vote
1answer
348 views

Metabox with multiple fields added by user and upload box

I'm trying to build system, where user can add as many fields as he needs to the post. I'm using code from this thread. Everythings works fine, except I can't get my upload working. Here's code I've ...
0
votes
1answer
915 views

How can I get Taxonomy Images to work with 'orderby' argument?

I'm using the Taxonomy Images plugin and am trying to sort the taxonomy but Taxonomy Images isn't playing nice. This works: $terms = get_terms( 'work_cat', $args ); but this doesn't: $terms = ...
0
votes
1answer
415 views

Make a wordpress site similar to Hot Or Not - Image rating system [closed]

I'm wondering how I would go about implementing some kind of image voting system to wordpress. I've had a brief look at plugins but none are particularly great. I would also like users to be able to ...
6
votes
7answers
1k views

Show two different sized featured images on homepage

I would like to have two different sized featured images on my homepage. I currently have all featured images set to 280x200. I would like to have SOME posts on the home page display a larger ...
8
votes
4answers
2k views

Automatically replace original uploaded image with large image size

As our users regularly upload ~6MB images to use on the website (and aren't too familiar with how to resize them first), WordPress stores the originals as well as resizing them to several different ...
1
vote
2answers
676 views

Is there any action/filter hook to use when an image gets edited in the editor?

I can't find a specific hook. If I already have added an image to an article via editor and then I edit it, I'd like to intercept the code just before it is sent again to the editor. I already use ...
0
votes
1answer
25 views

trouble with featured image

I don't understand why this happens I created a new image size in functions.php called blog. Code looks like this add_theme_support( 'post-thumbnails' ); add_image_size('blog', 134, 134, false); ...
1
vote
2answers
4k views

Show featured image next to post-teasers in Genesis Framework?

I want my posts to have a featured-image thumbnail beside it, how do I do this?
1
vote
0answers
91 views

Regex to turn embedded images in to attachments

I've got a blog that has all images embedded in each post rather than a thumbnail linking to an attachment page which is what I'd like. I understand from this question that no plugin (like Regenerate ...
0
votes
1answer
175 views

Wrap a post image with a div if it doesn't have a caption

I've tried the below code to wrap a post image with a div and it works. The problem I'm having is if the image has a caption. It screws up the the code that is generated when a caption is set for the ...
0
votes
2answers
853 views

Mass crop images: Landscape images -> Portrait images

I have several images that are wider than they are tall (landscape). The problem is that the theme I'm using crops images to 150x214px (taller than they are wide). This set up works for the majority ...
0
votes
1answer
2k views

How do I insert a custom field in a user submitted post?

Please help! I have a form for users to submit posts, and I want them to be able to choose photos already in the media gallery based on category selected. I want to include radio buttons to choose ...
0
votes
3answers
655 views

resize and crop thumbnail photos

I am using a wordpress theme that displays an image as 600x400 for the slider, the same image on the home page is 290x180 but inside the article the same image is displayed as 600x250 (!). If the ...
0
votes
2answers
169 views

Re-process Images

I've got a blog that has the highest-resolution version of all its images embedded in the posts, rather than a thumbnail linking off to an image attachment page. Can you tell me how I can re-process ...
1
vote
1answer
449 views

How to display images in related posts?

I want to display an image for each related post. Note, these are inline images, not from post thumbnails. What I need is: If the post has an only image, show it. If it has multiple images, show ...
2
votes
1answer
534 views

Adding a querystring to an image URL when clicking 'insert into post'?

I have written a plugin which does some fancy stuff with GD lib when you upload an image. Everything is working fine, however I need to get the image title and add it to the image URL (and file name ...
0
votes
2answers
2k views

Is there a way to insert multiple images into a post at the same time without using a gallery?

I'm trying to find a way to add multiple images to a blog post in wordpress at the same time. I want to be able to write text above and blow the images, just like a normal blog post. It takes a lot of ...
1
vote
1answer
137 views

media_sideload_image with rewritten urls?

When I try to use media_sideload_image with a path like this http://placekitten.com/300/200, it gives me an error. That is because it don't know the filetype or the filename. Best way to upload the ...
2
votes
1answer
335 views

query attachments of parent page if attachments of current page are smaller than …

I'm using WPQuery and get_children($query_images_args) to query attachments from the current page. If the current page has no attachments assigned I'm querying the images of the parent page. This ...
5
votes
3answers
724 views

Using Images in Wordpress - Best Practices

I'm not a novice to Wordpress Theme Design & Development. I've actually been doing it for a few years now and in recent years, it has become more than a hobby and is slowing shaping into a career ...
2
votes
1answer
2k views

help getting featured image using get_posts

I am using a homepage sorter to arrange the posts on the front page of my site because of that, I am getting the posts in this manner so that I can call each post individually instead of in a foreach ...
1
vote
1answer
92 views

Making images in posts link to the image file rather than the attachment page

So I've got a bunch of content with images inserted into them. The users inserting content have done the default option of linking to the attachment page which isn't great. I've altered the ...
1
vote
0answers
64 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 ...
2
votes
1answer
74 views

Query for recent images across multiple posts

I'm a bit fresh to wordpress theme development (and PHP in general), and I'm curious if there is a way to query XX number of recent images, likely spanning across multiple posts. Basically I want to ...
0
votes
1answer
385 views

Attachment Image using wrong src?

I've had some issues recently with this code below to display the featured image of a page: add_theme_support( 'post-thumbnails' ); add_image_size("homepageFeatured", 250, 250, false); ...
2
votes
1answer
3k views

How to add a media with PHP

I have more than 1000 pictures on my webserver, uploaded with FTP in a local folder ( /home/chris/pictures ) Is there a way to add them as a well known media to wordpress in PHP and get their id? ...