Post Thumbnail is a theme feature introduced with Version 2.9. Thumbnail is an image that is chosen as the representative image for Posts, Pages or Custom Post Types.

learn more… | top users | synonyms (1)

3
votes
0answers
127 views

Featured image upload finished hook

I'm looking for a way to hook into the process of uploading a featured image. Ideally I would want to be able to do some stuff right when the upload has finished, before the thumbnails are generated. ...
1
vote
0answers
52 views

Wordpress not cropping thumbnails properly

For some reason Wordpress is ignoring my thumbnail sizes and keeping thumbnails cropped proportionately instead of specific dimensions. Here is what I have in my functions.php: add_image_size('main-...
1
vote
0answers
22 views

How to update the values when the featured image has changed?

I'm trying to implement this function. It saves in the database the dominant color of the image uploaded as featured image in a post. It's working perfectly BUT the problem is that it only works when ...
1
vote
0answers
28 views

Using custom image resizing script in a page

I am using the aqua-resizer to create custom image sizes and cropping. However, I am also using a theme with a built-in page editor and module-based layout. I am able to get the aqua-resizer script ...
1
vote
0answers
30 views

automatically set “Featured Image” the same as the og:i that is set in a custom field

I currently have a site that uses the "custom fields" feature to set the value of the meta property="og:image" for each post. All of my og:images are stored on an external server. I'm looking for a ...
1
vote
0answers
16 views

Fixing image names for a site being restored

Fixing image names for a site being restored The WordPress site went down last week and is being restored. When a image(image1.jpg) was uploaded a week ago using the back-end of WP, it likely was ...
1
vote
0answers
334 views

Upload featured image from front end using media-upload.php

I'm trying to use admin/upload.php to upload featured image from front end form. All I have to do is put below code in the front end form <div id="postimagediv" class="postbox "> <div ...
1
vote
0answers
517 views

Customising the size of images served in Visual Composer elements

I'm using the Visual Composer plugin to build, or basically visually insert the shortcode for a number of sliders, latest blog posts and masonry grids. Most of these are set to use a posts featured ...
1
vote
0answers
216 views

Can't generate thumbnail images

Having a very strange problem with this site I recently took over hosted on RackSpace. Seems whenever i upload a new image, it doesn't generate different sizes and I'm trying to get it where it will ...
1
vote
0answers
91 views

Setup Featured image on all posts from thesis thesis_post_image custom field?

I moved from thesis to other wp theme and i want to change the thesis post images (these are saved under thesis_post_image in database )as featured images. Site have over 1000+ posts. Is there a way ...
1
vote
0answers
234 views

Export xml use/import images from theme directory

Is it possible to create demo.xml for a theme that when imported into fresh theme installation will use/import images from theme directory folder (e.g. theme/images/demo) rather than import media from ...
1
vote
0answers
352 views

Featured image not working, because of custom user role?

I've got a weird issue. My post thumbnails aren't working with a custom role. Images can be uploaded, and when viewing the media uploader they show as attached to the relevant post. However, when ...
1
vote
0answers
354 views

“Medium” size image displayed instead of “thumbnail” in only one post, other posts are fine

Please take a look at this cicada photo - http://photo.aseev.com/stock-photo/cicada-exuviae/ - below you will see 5 thumbnails, all of them are squared, except one (a bug on white background). It is ...
1
vote
0answers
95 views

Image Editor does not affect custom sizes!

Recently working with wordpress 3.5, I came across this patch :http://core.trac.wordpress.org/ticket/19889 ...which solved the problem of custom image sizes defined by my theme not resizing or ...
1
vote
0answers
421 views

Cleaning up bloated wp_postmeta table by removing multiple _thumbnail_id's?

On a very old site (7 yrs) with a lot of posts (30k) I've been trying to whittle down the database tables. The postmeta table is 1.5m rows, 750k of those rows are for a meta_key named '_thumbnail_id'....
1
vote
0answers
181 views

How to replace featured image upload option with the post media image option

I am looking for a way to insert custom URL links in featured Image as well. Currently Featured image tab is only having these basic settings - But I want to add custom URL links to my featured ...
1
vote
0answers
334 views

How to create resized versions of images added with wp_insert_attachment

I'm uploading images to my media gallery and setting them as my post's featured image, which is working quite well. I'd like to generate thumbnails of these featured images, in the same way that ...
1
vote
0answers
1k views

Featured image metabox not showing up

I have a theme installed on WordPress Multisite 3.5.1 which has a one custom post. Now I wanted to have two more so I have created them. Everything is working besides one thing. The featured image ...
1
vote
0answers
370 views

Can't Set Featured Image

I have installed the MarketPress plugin from WPMU. I have an ongoing issue with featured images. When I try to set the featured image (in any post) it continually hangs on saving. My problem is that ...
1
vote
0answers
172 views

Resize post thumbnail produces horrible image quality..Any help?

im having a problem figuring this out. I am displaying a random post on the header of my site but the post-thumbnail looses quality when I add a custom size. How can i make it not loose quality? This ...
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;"> ...
1
vote
0answers
883 views

How to export all content with feature images?

I want to export all content with featured images from my localhost WordPress site to the production blog,but when I tried using the default WordPress export-import plugins ,all content get exported (...
1
vote
0answers
1k views

Set featured image from external URL

I have been searching high and low for a work-around to set a featured image from an external URL. I understand by default the image must be on my server to get re-sized and displayed. Essentially I ...
0
votes
0answers
24 views

Add alt text to image posts using XML-RPC/functions.php

I am using the following part of code to upload images using xmlrpc: $content = array( 'name' => $title.".".$ext, 'type' => $type, 'bits' => new ...
0
votes
0answers
21 views

Newly Uploaded Images Don't Scale Properly in Featured Images

It took me a bit to figure out what was going on, but here it is.... When I create a new post, and add a featured image to it, the image doesn't scale properly, like they used to. On the home page, ...
0
votes
0answers
31 views

Exclude Featured Image Attachments from Wordpress Search Results

I'd like my search.php page to show all attachments except featured images (because they appear as duplicates of the posts that use them). I have seen some examples that do this for a query, but can'...
0
votes
0answers
7 views

How to set specific image as thumb for other image?

I have two images: http://localhost/small.jpg, http://localhost/big.jpg. I upload them via media handle sideload. Is it possible somehow assign small.jpg image as thumb for the big.jpg that I could ...
0
votes
0answers
78 views

How can i set thumbnail image as featured image?

Hy,as you can see in this code an image it's attachated to a post directly into featured image with this function update_post_meta( $post_id, '_thumbnail_id', $attach_id ); but how can i transform ...
0
votes
0answers
20 views

get texonomy image from custom post type

Hello I have been using a wordpress theme called cliper it has a cpt called coupon with taxonomy like category and store and I am using a plugin http://zahlan.net/blog/2012/06/categories-images/ to ...
0
votes
0answers
16 views

why are images not full size?

when viewing images on portfolio page is not a problem, but if one portfolio in the open drawing that appears small, it requires some time so the image can be full size. Why did it happen,can you ...
0
votes
0answers
19 views

How to get secondary image on blog page(reading->Posts page:) header

I have using "MultiPostThumbnails" and getting banner for all pages ut not getting for blog page when i have set (reading->Posts page). I have added this code on header. $current_page_banner = ...
0
votes
0answers
68 views

Featured image does not work with images on a post at the frontend?

[Found a partial solution] I need a little help with this problem. I don't know why on my videos the theme uses a thumbnail and set it as featured image but for images it does not. When I install a ...
0
votes
0answers
27 views

some tweak to a upload featured image code

from three days in a confusing me with this problem , i have a code for publishing a post from front end for images and video, for videos he take the thumbnail and put in featured image but for images ...
0
votes
0answers
70 views

Featured Image with External Link on click

Hoping someone can help me here, Im trying to edit a plugin which has a custom post type called https://wordpress.org/plugins/custom-post-widget/ On line 110 of the file : custom-post-widget/post-...
0
votes
0answers
36 views

featured image rss feed in a category

I want to get the featured image in my RSS feed in a specific category. With the principal rss feed mywebsite.com/feed , I have no problem. Featured images are displaying. When I want to create a rss ...
0
votes
0answers
11 views

How to fix the format of entry pages with thumbnail images?

I am trying to make the entry posts with a thumbnail image to the left, and title above the excerpt of the article to the right of the thumbnail, but aligned with it. Currently, the thumbnail is below ...
0
votes
0answers
14 views

Feature image cropping issue

When I am uploading any image to set as background on my homepage it gets cropped automatically. I am using attitude theme for the site. What settings shall I change to have the complete image as it ...
0
votes
0answers
40 views

Compression of original picture during upload?

WordPress compress scaled thumbnails of image during upload, but, original image will be is same quality. I am trying to compress original image too. I wish to make image in original resolution ...
0
votes
0answers
21 views

White Blank screen and issue to get thumbnail in

<section id="container" class="one-column"> <div id="content" role="main"> <div class="gridBox"> <div class="boxes-container"> <?...
0
votes
0answers
18 views

Multiple Images from a Featured Image (ie, additional product photos)

I need help coming up with a solution or even deciding if it is possible. I would like to provide multiple images (closeups) of a featured image (large one) as detail photos... without having to ...
0
votes
0answers
32 views

Mobile view: big image sizes, when using infinite scroll and loading next posts

My website is set up with a simple blog (http://goo.gl/5nJZOz) and the plugin "Infinite Scroll". The site works responsive: When I change the size of my browser to 799 pixels wide or lesser, the ...
0
votes
0answers
13 views

Custom Theme with Included Infinite Scroll Won't Load Post Thumbnails

I'm open to any constructive feedback, here. I have a custom theme that we've included infinite scroll in but I noticed today that, when loading category posts, once the additional posts are loaded,...
0
votes
0answers
54 views

Thickbox Opening IFrame instead of Featured Image

I am trying to open the featured image on the single post page in a WP Thickbox, but it's opening the entire post in an iframe. Here is my code: <?php if ( has_post_thumbnail()) : ?> ...
0
votes
0answers
296 views

AJAX image upload with a upload progress bar using media_handle_upload

I currently have post image upload for the featured image from front-end form. <input type="file" name="wh_image_upload" id="wh_image_upload" multiple="false" /> and using media_handle_upload ...
0
votes
0answers
116 views

Featured image to grayscale with PHP imagefilter - which hook to use?

Website I am working on uses b/w images everywhere and my client is a little lazy, so I need to convert any image attachment to grayscale automatically. For that, I use something similiar to this: ...
0
votes
0answers
10 views

Wordpress image selector in theme

I'm new to wordpress theme developing, I'll be happy if I could use your help. I'm trying to simulate the post thumbnail metabox content in my theme. I need the ability to upload and choose images ...
0
votes
0answers
80 views

Featured images same height

I have a theme (called Origin) from Elegant Themes. I'm using a child theme. I need to programmatically have all the featured images set to the same height for the home page. I can do this in CSS but ...
0
votes
0answers
195 views

Get URL of current featured image with JS in edit post view

Is it possible, somehow, to fetch the URL of the currently set featured image when you're in the edit post view? So far I've looked at fetching via jQuery such as: var url = jQuery('#set-post-...
0
votes
0answers
22 views

Featured Image with specific width or height in percentage

My site has the post featured images in the main page, but shows them cropped. What can I do to change it so it doesn't do the cropping and degrade the quality?
0
votes
0answers
94 views

How to add featured image on front end form?

I'm working on my first WordPress plug-in for front end posting where signed in users can post and manage their articles on front end. I'm pretty close to be done but can't find a way to add Featured ...