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.
2
votes
1answer
20 views
How to remove thumbnail sizes for specific post type on a child theme?
The theme I'm using includes a slideshow that generates an additional 4 image sizes for every image that is uploaded. I don't need to have all those images being generated for every image.
Is there ...
2
votes
1answer
43 views
How to change the naming of the resized image files
Now with custom image sizes Wordpress is almost as powerful as timThumb / phpThumb. There is one problem however. The way Wordpress handles the resized images are chaotic and doesn't survive theme ...
2
votes
1answer
62 views
Featured Image Size Conditional Tag?
Is it possible to check what image size has been selected for the featured image and only display that image..
For example.
<?php if(has_post_thumbnail('small-image')): ?>
...
1
vote
1answer
223 views
Cropping thumbnails to specific dimensions on front end post
Probably not the best title description but here we go. One of my custom post types is for youtube videos which I take the thumb from youtube and upload it as a thumbnail for the post. Now it's easy ...
1
vote
1answer
79 views
Show last 2 image attachments from posts
How can i show the last 2 post attachments in my category template?
I tried the following
But i need to show the last 2 post image attachments
if i have the following code
function ...
1
vote
1answer
358 views
Archive show thumbnail
I want to show thumbnails next to my posts in archive page, however it only shows thumbnails if the posts has a featured image.
So i want to show thumbnail for the image attached to the post, but i ...
1
vote
1answer
70 views
How do you create a custom template to display a category with an image and related posts below?
I am trying to create a custom template that can give the following effect...
Category Name A (with image)
post with category name A
post 2 with category name A
post 3 with category name A
...
0
votes
1answer
11 views
Add Image Size for Featured Image with Responsive Design
So, I know that I can make a custom featured-image size by adding this to my functions.php file:
add_image_size('newsize', 883, 300, true);
and calling it with:
the_post_thumbnail('newsize');
...
0
votes
1answer
10 views
display post thumbnail for specific category outside of loop
I'm building a theme that features a section wherein I'd like to have the single most recent post's thumbnail of a single category displayed between the header and blog sections. Something like ...
0
votes
1answer
25 views
Displaying warning if no featured image has been set - Post Editor
I run a multi-author website and many of my users are forgetting to set a featured image for their post. This is a big problem as my theme depends highly on featured images to keep a consistent feel ...
0
votes
1answer
31 views
Custom post doesn't show featured image
I'm probably missing something but somehow my custom post type doesn't display the featured image input field when creating the post. I have the featured image already registered in my functions.php ...
0
votes
1answer
41 views
Latest news mini images
I tried to find an answer on websites and other forums, but found nothing. I will try to explain my problem.
I need to change my WordPress website so that it displays a small image for all news ...
0
votes
1answer
9 views
How to import linked images and make them featured -> automagically
I am using FeedWordPress to syndicate articles from RSS feeds.
The plugin does a beautiful job of bringing in the content, preserving original formatting, and assigning metadata to the right places. ...
0
votes
1answer
22 views
To CSS Style on the image uploaded on a Post under Content Section
I have uploaded a media picture to a post the HTML I saw as such
<a href="http://localhost/self/wp-content/uploads/2013/03/pic1.png"><img ...
0
votes
1answer
44 views
Custom image sizes are not used
I recently launched a new theme and regenerated all the thumbnails with AJAX Rebuild. All of these custom image sizes are defined in my functions.php as well as the individual template files in which ...
0
votes
1answer
54 views
How to add thumbnails to posts and pages automatically in a uniformed fixed elegant way?
please i am wondering if there was a plugin or hack that enables me to append a nice looking thumbnail for each post or page i publish on my blog.
Currently, i am able to add the featured images but ...
0
votes
1answer
99 views
Height and width attribute not setting by the_post_thumbnail
I am using following code to display images in home page:
if ( has_post_thumbnail() ) {the_post_thumbnail('postbox-thumb')
But the output of the above code does not have height and width of the img ...
0
votes
1answer
50 views
I would like my posts to pull my custom cropped thumbnail instead of creating its own thumbnail from Featured Image
Firstly, I'm not a developer, mostly a website designer and CSS hacker.
I'll try to explain better:
I'm using a grid theme that creates a thumbnail out of the featured image to display as a post ...
2
votes
0answers
50 views
Hide upload image fields for the different media upload popups
I am trying to change a few of the options in the Set Featured Image popup in the Wordpress admin. I can't seem to find anything that determines if the popup window is a Featured Image or an Add Media ...
1
vote
0answers
209 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
96 views
Can I insert the feature image inside the content, after any paragraph?
I want to display the feature image inside a post text, perhaps after the third or fourth paragraph (or any) into the_content.
Searching the site I've found this code, by Amit:
...
1
vote
0answers
157 views
Can't Set Featured Image
This client is a salon that offers a number of unique products for sale in the salon. These products are also available at an external website. I have installed the MarketPress plugin from WPMU and I ...
1
vote
0answers
114 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
53 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
225 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
56 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
0answers
524 views
Set Featured Image Thumbnail from external URL
I have been searching high and low for a work around to set a featured image thumbnail from URL. I understand by default the image must be on my server to get re-sized and display.
Need to get a php ...
1
vote
0answers
100 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.
...
0
votes
0answers
7 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 ...
0
votes
0answers
23 views
Is there a way to force Featured image to show as attachement?
When adding an image as a featured image to a post - if the image is an existing image in the Media Library, then the image is not added as a true attachment but as a thumbnail, shown like this in ...
0
votes
0answers
13 views
the_post_thumbnail(“size”) returns same image for all sizes except thumbnail
I've got 3 default image sizes set up in "Setting > Media Settings > Image Sizes"
However, when I use anything but "thumbnail" as the image size parameter in the_post_thumbnail(), it returns the full ...
0
votes
0answers
23 views
How to upload images using <form> as a post thumbnail?
In my custom image upload form, codes are (generally):
if(isset ($_POST['submit'])=='Submit')
{
$product_image_1=$_POST['product_image_1'];
$product_image_2=$_POST['product_image_2'];
$newPost = ...
0
votes
0answers
19 views
Post thumbnail size for custom field only
I'm using advanced custom fields (the plugin), and I have some image upload fields. The images that I'm uploading via this custom field need to have a specific size, but I don't want to create images ...
0
votes
0answers
13 views
How to require minimum image size for featured image only
I would like to show a message when a featured image is set in the WordPress admin for any post type.
E.g. a user uploads an image and sets as featured image. I check, if the image size is adequate ...
0
votes
0answers
48 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 ...
0
votes
0answers
14 views
Why '/post_type/feed/' differs from '/feed/?post_type=XX'?
I was trying to put the thumbnails for my custom post types in their respective feed using the the_content_feed and the_excerpt_rss filters. The problem was when I reached for the feed using the ...
0
votes
0answers
53 views
add_theme_support( 'post-thumbnails', array( 'post')); is not uploading the file
So I used the codes below in the functions.php
add_theme_support( 'post-thumbnails', array( 'post'));
set_post_thumbnail_size(100, 75);
And then in THE LOOP I called:
<?php ...
0
votes
0answers
138 views
Category Grid View Gallery Plugin not showing images as a grid
I installed Category Grid View Gallery to show some featured images from Posts as a grid... and they're only showing up as a list. There should be plenty of room to show these images 2-up. Played ...
0
votes
0answers
32 views
How do I link featured images on my blog homepage to an entire tag instead of a post?
I've found a theme (Hatch) for my blog - link here that I really like. I am trying to figure out how to get the mid-sized featured images or post thumbnails that are currently displaying on my ...
0
votes
0answers
30 views
Post thumbnail caption moving to right
I have a portfolio type theme.
Each page has a post thumbnail.
I have a home page where I have each post thumbnail in a ul list
The list is then floated to create a grid.
I need a name to go with ...
0
votes
0answers
18 views
Generate featured images old posts II
In this original post:
Generate featured images old posts
This SQL is :
INSERT into wp_postmeta (meta_value, meta_key, post_id)
SELECT DISTINCT(ID), post_type , post_parent
FROM ...
0
votes
0answers
38 views
Remove featured image link not working
I added a featured image to my post through set featured link in backend. Not when i click on remove featured image, it removes it . But when i update the post then, The featured image still comes ...
0
votes
0answers
70 views
Setting custom image sizes in child theme
I'm trying to create a child theme that has different image sizes from the custom image sizes created by the parent theme. The code below works just fine in setting the options and everything and the ...
0
votes
0answers
52 views
Bulk change image titles
I have site with more than 1000 posts and they all have one image on it.
All have the same title because they where imported via csv...
However, I have a custom field on each post that stores the ...
0
votes
0answers
110 views
Front-end media upload doesn't work properly
When i try to upload media from front end i get error
An error occurred in the upload. Please try again later.
When i refresh a page i see uploaded media. I noticed that when i remove header ...
0
votes
0answers
66 views
Bulk resizing featured images to bigger proportions
Similar to this guy Resizing to bigger proportions as original not working, I need a way to resize my featured images to bigger proportions as most of the images are smaller than my pre defined ...
0
votes
0answers
61 views
How to take thumbnails of video posts
I want to show videos thumbnails, as a part of related, recent or popular posts in different parts of the site such as in the footer and sidebar widgets. How can I achieve this?
One thing that I ...
0
votes
0answers
116 views
media_sideload_image and set_post_thumbnail are returning the wrong image
I have a script set up to grab a YouTube video thumbnail based on a custom field if the post does not have a thumbnail set upon save_post
function set_youtube_as_featured_image( $post_id ) {
if ...
-1
votes
0answers
22 views
Add_the_image_size Responsive
I am using the code:
add_image_size ('portfolio1', 600, 344, true);
to show my portfolio thumbs on my website.
But when I'm using tablets and smartphone i want these images width 100%.
I'm using ...
-1
votes
0answers
26 views
html to image featured image
hi how can i use the script below to be able to convert html to image in wordpress so that when i click a button it generates and set the image a featured image, i wanted to create a metabox in post ...

