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)

0
votes
1answer
346 views

Thumbnail Image Rounded Corners w CSS (or any other good method)

I've been researching how to display thumbnails with rounded images, but every solution ends up running out of gas. One trick I tried was wrapping the thumbnail in a division with the same size and ...
0
votes
1answer
56 views

How to post images on my blog with a pre-defined border

The images in this blog post: http://wordfruit.com/blog/the-hole-through-the-earth-3/ ...have borders around them -- hatched lines. But in this post: http://wordfruit.com/blog/copywriting-for-fish/ ...
1
vote
1answer
652 views

Stripping the_content() from images then displaying them seperately

Ok, I've got content with images removed using this code: $content = strip_tags(get_the_content(), ...
1
vote
4answers
5k views

remove and disable image link in functions.php

Is there a way to disable image or thumbnail link URL, as well as remove existing image/thumbnail links in functions.php? NOT the setting under media as posted in this link, please.
0
votes
1answer
534 views

How to get post id of first child of the same post type?

Is there a function that will let me get the post id of the first child (of the same post type, not attachment)? I could always just run a loop via wp_query but that seems like overkill. :/ The goal ...
6
votes
4answers
10k views

Stop wordpress from hardcoding img width and height attributes

I'm wondering if there's a simple way top stop WordPress automatically hardcoding featured image height and width attributes, other than using regex... As I'm using a flexible grid for my project ...
1
vote
5answers
691 views

How to associate an image with a term taxononmy and publish it on frontpage?

I couldn't find the solution anywhere else, so I believe is a valid question for this website. I think my problem is divided in two parts. I created a custom taxonomy called "Type" and within it, I ...
9
votes
1answer
6k views

Adding Category/Tag/Taxonomy Support to Images/Media

I've been trying to add category, tag, or custom taxonomy support to images (or all media, though I'm only concerned with Images). I've got it part-way figured out with: add_action('init', ...
1
vote
0answers
172 views

In Loop, if a Gallery, Only Pull First Image [closed]

I'm trying to create a loop that only displays the post types: "photo" and "gallery". If it's a gallery I would like to display only one of the images, preferably the first. I'm a little confused ...
0
votes
1answer
491 views

How to use custom fields to replace top-level parent title with an image using wp_list_pages?

I'd like to integrate get_post_meta into the wp_list_pages mix so that any top-level parent list items get replaced with images ONLY when a key exists in the post's custom fields section. I can't do ...
1
vote
1answer
100 views

Featured Image Thumbnail Creation

What function or script creates the hard-cropped feature image when a post is saved? Regardless if I stipulate a size when saving the featured image in the media library (like the medium size), a new ...
3
votes
1answer
792 views

How to link to the image editor's Edit Image function?

How do I link to the image editor's Edit Image function from the front end? I know that I can open the lightbox with a simple link, such as <a ...
1
vote
1answer
315 views

image in my post disappeared after I upload website to remote server

Before I upload my website to server, I created post with images which are uploaded to media, their url are, for example: http://localhost:40952/wp-content/uploads/2011/09/study_in-En.gif After I ...
1
vote
1answer
372 views

get_post_meta not working on category.php

I'm referencing an attached image in my header.php page which is displayed as a full screen background on my posts: global $wp_query; $page_id = $wp_query->get_queried_object_id(); ...
0
votes
1answer
787 views

Image resizing - TimThumb vs convert on upload?

I'm using jQuery Supersized to display a full screen background slideshow on my blog, and I'm using mobile detection to serve a smaller version of the images to mobile devices so it will load faster. ...
0
votes
2answers
2k views

Allow users to upload multiple images to their profile

I've asked this before but to no avail. I need the ability for any user (From Contributor up) of my website to upload a minimum of 5 and a maximum of 10 images to their profile and have they ...
0
votes
1answer
250 views

Migrating a website using custom image tags to use featured images instead

I have a site that was built using a Wordpress 2.x era theme that uses a custom field "image" to hold the URL to use as a featured image for each post. I am migrating to use the PageLines Platform ...
-1
votes
1answer
178 views

wordpress featured image

I'm new to Wordpress and I'm trying to create a new theme for it. I've downloaded the latest version (3.2.1) and installed it successfuly. But when I install my wordpress theme (to start to add the ...
1
vote
2answers
2k views

Include caption underneath post images

Hello I've been struggling for ages trying to find a solution for this. Basically I just want to retrieve all images from a post and display a caption underneath. Here is the code i'm using: ...
0
votes
1answer
121 views

Images don't update after being edited

I have many pictures on my site and after posting for a while, I realized that I should have watermarked them. So I did just that, I downloaded all the images and watermarked them. I uploaded a few of ...
0
votes
1answer
99 views

Right click&copy images: protection

I saw there's a Wordpress plugin that prevents people from using right click on text or images, called WP Protect. I was wondering if there's a way to hardcode it into Wordpress instead of using a ...
0
votes
2answers
3k views

How to access & display images from a post without textual content ( and vice versa) according to best wordpress practices

Looking to create a customized single.php for my posts. In one column I'd like to display all images added through the add media function (inserted into post). In the next column all other content ...
1
vote
2answers
985 views

Can I attach an image to a different post?

Image galleries display those images that were uploaded to that post, by default. If I wanted to move an image to a different post, so it appeared there instead, would I have to delete and re-upload? ...
2
votes
1answer
111 views

What is the Wordpress Pinecone sitting on top of? [closed]

Does anybody know where wordpress gets their banner images? Perhaps we could find the original photo? I'm curious just what exactly this pine cone is sitting on top of.
1
vote
1answer
2k views

Do I need to resize an image to fit the post?

I'm going to post an image in a blog post, first uploading the image to my server, and using its url. If the image is bigger than the maximum width of my blog-post, will it take longer to download, ...
1
vote
2answers
3k views

Need help building a filter to edit the output of “image_send_to_editor”

What I'm trying to do is edit the output of image_send_to_editor so that i can make the anchor that wraps around the image have a specific class & rel. I plan to basically make each image that ...
2
votes
2answers
696 views

Display info from custom fields in all images' HTML

Okay, I've been working on this all day and can't find the solution anywhere. I've created a custom field within the image upload screen (info first found here). The field stores the name of a ...
1
vote
1answer
815 views

Get most recent media upload

Wordpress sites this as an example of how to get the thumbnail: <?php echo get_the_post_thumbnail( $post_id, $size, $attr ); ?> I want to know how can I use the same basic function but just ...
1
vote
1answer
1k views

attachment.php code or tutorial

I am confused about the exact purpose attachment.php ( and image.php) . I notice many themes dont have them. If single.php displays the image the way I want then is it OK to leave it out. On the other ...
1
vote
1answer
330 views

Wordpress adds extra width to post images container boxes

when I insert an image into a post, the <div> that contains that image (and thus any caption) is set to be wider that the image itself. For example, I have added an image that is 211px wide. ...
0
votes
1answer
334 views

Forcing absolute <img> src links in the RSS feed

We are using relative image URLs in the post's HTML code. Looks like relative src links break on many RSS readers. By default, Wordpress does not seem to prepare post's HTML for feed too much. Does ...
2
votes
2answers
859 views

What's the best “insert all images” plugin?

I've tried several plugins that supposedly allow you to "insert all images" after using the flash based uploader to upload multiple images. However, I still haven't found one that ties in well with ...
1
vote
2answers
855 views

Add multiple images to author profile page

I'm developing a directory style theme using multi-site and each new author needs to be able to upload 5-10 photos to be displayed in their profile page. Is there any way of doing this? I don't mind ...
1
vote
2answers
846 views

Set Maximum Width for an uploaded image

I want to restrict the width to a maximum of 600px for images uploaded using the "full size" image option in WP posts/pages section. I've tried two methods: Method 1: Adding the following to ...
0
votes
2answers
4k views

Add image attachment to post via coding?

I tried to add an image as Attachment image to a post. in wp_postmeta i added _wp_attached_file as meta_key and value = productimages/Routers/v/CISCO1941.jpg it not works and i could not see the image ...
0
votes
1answer
443 views

Broken thumbnails (sometimes) with TimThumb

Reinstalled theme with latest version of TimThumb (was previously effected by the vulnerability issue). Now most of my thumbnails work, but some do not. My theme relies on this plugin, so I'm not sure ...
9
votes
2answers
11k views

WordPress Theme Preview Image

I'm developing a custom WordPress theme. When I go to select themes in the Appearance menu, my theme does not have a preview image. Is there something I need to do to get a preview image to show up? I ...
8
votes
3answers
2k views

What's the best way to use the Featured Image for responsive web design?

I have a brilliant idea and since WordPress already takes care of some of the work, I just need to find a good method to make this work. I am working on a project that needs to be responsive to all ...
-1
votes
2answers
603 views

How to mark a image attachment as background image?

I am trying to add a functionality to mark a post's attachment id as a background image. Basically, I would like to replicate the post thumbnail functionality: in the image attachment details, the ...
0
votes
2answers
254 views

How can I remove image taxonomy pages from my theme and from Google?

A lot of my theme's image pages are ranking on Google. I'd like to remove these pages entirely from my theme so they no longer rank. When a user hits these image pages the content is taken out of ...
1
vote
1answer
236 views

Is there a plugin or simple way to add a multiple images metabox to a post?

I am looking for a way to create a custom field/metabox that allow to attach multiple and infinite images to a post. This would allow to create a custom post type for a portfolio and allow to attach ...
0
votes
2answers
266 views

Wordpress file browser

I see plugins that somehow hook into the Wordpress file browser (so that users can either upload an image to the image library or choose an image from the image library) but I've been searching ...
2
votes
2answers
633 views

extract post image to be featured images

I been working with featured images more lately and I been adding them to my posts as I go. However I have a bunch of older posts that do not have the featured image set and I want to use it for such ...
0
votes
1answer
717 views

Output posts attached images as thumbnails linked to full-size with lightbox class

I'm trying to create a function to be placed in a template page to output the post's attached images. I would like to have the images display as the theme's specified thumbnail size and be linked to ...
0
votes
1answer
1k views

Add a span tag around image

I want to be able to add a <span></span> around every image that gets posted. How will I be able to do this?
0
votes
1answer
124 views

Can i have 2 separate Galleries on 2 separate pages each go to a DIFFERENT Attachment.php file?

I would like to style the attachment page for each gallery differently, but i'm not sure how (sorry for the noob question, i'm still new to wp development!). I was hoping i could use Attachment.php ...
1
vote
0answers
273 views

Display image gallery in lightbox via single link [closed]

I would like to do the following: On a single page, show a link saying "view images". When clicked, this will bring up a lightbox, within which will be an image gallery that a user can though. I ...
0
votes
1answer
314 views

Using different size thumbnails on different parts of my site… with functions.php?

Two years ago in StackOverflow there was an interesting question about using specific thumbnails, small, medium or large images on different parts of the site. The question, available here, was well ...
0
votes
3answers
1k views

fitting the thumbnail image into a div

I want to get an uploaded image fitting 100% inside a div. The problem is that, the uploaded image has different size. For example, I uploaded an image and wordpress created an 150x150 thumbnail. I ...
0
votes
1answer
241 views

Web App mode leaves users stranded when following image links when using WPTouch with W3 Total Cache [closed]

In most of the posts on my site, embedded images link to the actual image file. I'm also using Web-App mode via WPTouch. In web-app mode images linked to their larger versions shouldn't open; since ...