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
256 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
179 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
124 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
100 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
1k 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
716 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
858 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
338 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
346 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
869 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
906 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
873 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
453 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 ...
11
votes
2answers
13k 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
632 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
256 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
237 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
273 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
652 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
750 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
2k 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
278 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
316 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
256 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 ...
0
votes
2answers
633 views

Bulk Image Upload And Rerrange Functionality

I am looking for a solution, it can be pre-existing plugin or code I put into my functions.php file that will allow me to batch upload images to a post, and then have the ability to rearrange the ...
1
vote
1answer
86 views

Is this post using WordPress Gallery?

Here's an interesting post that I saw toda - check the gallery This website is using WordPress, now if you notice the image URL changes however we can still see the javascript slide effect. If it was ...
1
vote
1answer
721 views

Ways to show multiple, separate galleries per post?

I'm working on a project that will require two separate galleries to be displayed on the same post. One gallery is specific to the product and the other is professional generic shots. The content of ...
1
vote
2answers
3k views

Link to full size image or attachment page in photo theme

My site is using WooThemes Statua theme. I'm trying to get my resized slider images to link to their respective full size images (or attachment pages). I asked a similar question on the WooThemes ...
1
vote
2answers
801 views

How to redirect 'file url' to 'post url' i.e. in attachment.php

I've just started using the attachment.php template on my site. What I'd like to do is redirect all images in posts that used 'file url' to 'post url' and my new attachment.php template. Is this ...
0
votes
4answers
1k views

how to show images without passing it to timthumb.php file for resizing

currently I m showing post image and it's exceprt on my index page of website. Beacuse of this site is slow downs as each image is passed to timthumb.php file. I want to change in code so that image ...
0
votes
4answers
2k views

Making a parent directory writable by the server

Uploading an image to add to a page, I got a message saying: Unable to create directory... Is its parent directory writable by the server? Assuming the issue is that the parent directory needs to be ...
0
votes
1answer
1k views

Display X images from a gallery in the sidebar

I've been hunting around for a day for this answer and thought I should turn to StackExchange in the hopes someone has an aswer. My goal is to display X images (for example, 4) in the sidebar of this ...
0
votes
2answers
66 views

Specify what to do for a specific image number of the post

I want to specify for the images of my post - if is number x, output this, else if is number y output this instead, etc. I'm trying make specific treatments to my 1st, 4th, 9th images for that post. ...
0
votes
1answer
4k views

Howto use WP built in Thickbox for images?

I've been searching for a better way to utilize the built in Thickbox function for images. I've been using my method for a few months, but I don't think it's the best way to do it. Here is the code ...
4
votes
2answers
3k views

wp_get_attachment_image_src problem

I'm have a problem with the wp_get_attachment_image_src function returning the incorrect url for an image. My code looks like this: $image_main_ar = wp_get_attachment_image_src( $image_ID, ...
0
votes
1answer
66 views

Plugin that will let me specify a number of image sizes?

I've designed a grid-based portfolio theme for a photographer; for each portfolio item, I need six different images, all of which have a fixed size. However, no two sizes are alike. Is there a ...
0
votes
2answers
238 views

PHP or JS for header image rotator?

I'm working on a site that is using this PHP script to load a random header image every time it reloads. I would like to use Javascript instead to allow the browser to cache images and improve load ...
1
vote
4answers
2k views

Images not showing on blog

This morning most of the images on my wordpress blog (http://records.photodharma.net) have stopped loading. This even happening on embeds. All the images here are embedded: ...
0
votes
2answers
616 views

Featured Images on Front Page

I currently have a static front page and a /blog. My goal is to have the front page be a grid of hand selected images (similar to a portfolio). I would like to be able to easily switch the images are ...
2
votes
1answer
357 views

Add an image box besides featured image?

When you want to associate an image to a post which already has its own featured image, you have to use a custom field : you upload an image just as if you wanted to add an image inside your post, but ...