Automatically generated smallest size of an image.

learn more… | top users | synonyms

0
votes
1answer
541 views

How to link to featured image to media file URL

I have enabled a function when I uploaded an image, it auto create a post with that image as the featured image. Now I wish to link to that featured image to that of the image file/media file URL so ...
-1
votes
0answers
11 views

WooCommerce Thumbnails in cart and email

My WooCommerce cart has no product thumbnail. The table that I see in the code has a table cell for it, but it doesn't appear on the page. I have one in the Checkout, but not on the Cart page. I'm ...
5
votes
4answers
8k views

How to Replace YouTube Videos with a “Click to Play” Thumbnail?

I use a lot of embedded videos (via oembed) on my blog, and that can slow down page loads. Is there a way to automatically replace YouTube (and other) videos with a thumbnail (preferably the post's ...
1
vote
0answers
36 views

Thumbnails of same size with different crop

Is there any way to generate thumbnails of the same dimensions, but with a different crop? I want to do something like: add_image_size( 'thumbnail_top', 360 , 180 , array ('center', 'top') ); ...
0
votes
2answers
743 views

How to get thumbnail from post attachment in this loop

I use this code to display Most popular posts based on view count, but I dont have images in post content I have all images attached to post via attachment (gallery) How to replace this "thimthumb" ...
0
votes
1answer
370 views

How to get cropped thumbnail source for custom post type

I need thumbnail image url with size 148*148px. I using custom post type for testimonials. I need just the image source like http://example.com/demoimage.jpg. It is possible to get cropped image ...
0
votes
2answers
413 views

Underscores.me retrieve next / previous post thumbnail in post_nav function

I am using Underscores.me for a project. I'd like to add the featured image (thumbnail) to the previous / next post links. They have a function which I'm trying to edit called THEMENAME_post_nav(). I ...
1
vote
2answers
3k views

Add Title Attribute to WordPress Image the_post_thumbnail

i use this code to show post's thumbnail in my site but this code cant show the title Attribute of the thumbnails. how can i add Title Attribute to WordPress thumbnails? <?php if ( ...
0
votes
2answers
669 views

Cannot upload featured image to a custom post type

For some reason I am not able to upload images OR set the Featured Image on a custom post type in my custom wordpress theme. I have added theme support of post-thumbnails to my functions.php file and ...
0
votes
0answers
52 views

Force Regenerate Thumbnails Not Working

Alright so I'm writing a new theme for my blog and i've decided to change the size of large media from 640 to 820. I have used the force regenerate plugin and updated the media settings so that large ...
0
votes
1answer
20 views

How Do I Auto Generate Thumbnail from First Embedded Image?

How Do I Auto Generate Thumbnail from First Embedded Image in a Post? All the Thumbnail Plugins only generates thumbnails from self hosted images.
5
votes
2answers
5k views

set_post_thumbnail_size vs add_image_size

What is the difference between set_post_thumbnail_size and add_image_size? Is set_post_thumbnail_size for all images, and add_image_size for sizing images individually? Thanks.
0
votes
0answers
20 views

Contentwidth Twenty fourteen influences the WooCommerce thumbnailsize

Although I regenerated the WooCommerce thumbnails to a bigger size (I checked it with Firebug), the responsive design (Twenty Fourteen) seems to prevent the thumbnails to grow bigger. Only when I ...
0
votes
0answers
21 views

Gabfire Widget Image Too Small

I have an issue with an updated widget on Wordpress. I have a sidebar Widget using Gabfire's Widget Pack which is running version: 1.4.4, Wordpress: 4.1.1 and Theme Patterns which is also up to date. ...
0
votes
0answers
19 views

Why doesn't Wordpress make thumbnails for videos?

I noticed videos in the media gallery always show as an icon preview (unlike files in a file manager, which show a thumbnail.) Considering that WP integrates Imagemagick, which apparently can extract ...
0
votes
1answer
46 views

external url for post thumbnail and title

I created a custom category template where I show thumbnails of the posts and a title as url, if you click on the thumbnail or the title you get redirected to the post but I would like to redirect to ...
0
votes
1answer
78 views

Image thumbnails not available post migration, but still accessible via direct URL - DB issue

To start with, I'll just clarify that this appears to be a different issue to the numerous migration ones already covered. In short, I've migrated my site to a new domain (both in root, no directory ...
0
votes
0answers
50 views

Does not show thumbnail in a given category

I am creating a loop with two formats for posting , one is the default post and the other is a video post using the post-format (video) . I found right here a function to capture and save thumbnail ...
1
vote
1answer
568 views

wp_get_attachment_image() not working when trying to add with and height attributes

I am using wp_get_attachment_image() to try and output an img tag with width and height attributes. Here is my code: $thumb_src = wp_get_attachment_image( $id, 'thumbnail', false, array('width'=> ...
0
votes
1answer
36 views

Scale An Image Thumbnail

I am having issues getting some logos to display on my page. The page shows the search results for a series of companies, with each result shown in a small box. I need the logo to scale correctly to ...
0
votes
0answers
78 views

How to get Multiple Post Thumbnail in index page

I'm using this MultiplePostThumbnail plugin in my theme https://wordpress.org/plugins/multiple-post-thumbnails/screenshots/ It's working fine in all pages and in posts, problem i'm facing only on the ...
9
votes
5answers
4k views

How to disable WordPress from creating thumbnails?

I've been looking around the net for a long time on how to disable WordPress from creating multiple thumbnails. I've seen in most tutorials to set all the images to 0 in the media section. I have ...
0
votes
0answers
38 views

Multiple thumbnails

I'm trying to create a new field in the post editor, where you can add a unlimited number of images(ala the featured image field). After searching the www for days, the only thing I've found is this. ...
0
votes
1answer
16 views

Wordpress Thumbnail compression depends on the server?

Different image weights were generated in different servers when Uploading images to Media. For instance, an original image of 2.1Mb uploaded to a server generated a 700Kb image, for the medium ...
1
vote
1answer
4k views

How to split the categories of subcategories with thumbnails

This is the code I use to display all product categories with thumbnails: <?php $cats = get_terms('product_cat', array( 'hide_empty' => 0, 'orderby' => 'name' )); ?> <div ...
3
votes
3answers
136 views

Can WordPress crop only the post thumbnails?

I'm using the post thumbnails feature of WordPress and I have several sizes defined in functions.php. Everything's fine, it works great with Crop Thumbnail to crop them perfectly. I have a question ...
0
votes
1answer
37 views

Generate thumbnails like 500px.com

I tried but couldn't get thumbnails like these, in wordpress. Please check this url https://prime.500px.com/galleries/tricks_and_treats If you notice, there is no cropping. Its just zoomed-out or ...
1
vote
0answers
43 views

force feed readers to pick atom version

The reason i want to do this is Feed versions of my Front-page (rss and atom) are different! that's right. i have placed a function code to put preview images in feed but looks like it only effect on ...
1
vote
0answers
128 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
2answers
127 views

Is it possible to nest get_previous_post()?

I am trying to retrieve the previous and the 2nd previous posts' featured image as well as the two next posts' featured image. <div id="cooler-nav" class="navigation row"> <?php $prevPost = ...
0
votes
0answers
105 views

Serving resized images on a responsive site without making 2x copies

new here. I'm sure this question has been asked numerous times, but here we go. I'm a blogger (not a coder) and recently started adjusting my responsive site for retina displays by uploading very big ...
0
votes
1answer
45 views

How to output thumbnail twice in a loop

ok I have a portfolio page. & I have two question: number 1: Every portfolio item has thumbnail attached. what I want is to print out the first thumbnail from the first post twice. One at the ...
0
votes
1answer
146 views

Add Thumbnail to wp_list_categories()

I'm using the following code to display a list of my taxonomy terms in my home page: $customPostTaxonomies = get_object_taxonomies( 'guide' ); if( count( $customPostTaxonomies ) > 0 ) { ...
0
votes
1answer
58 views

Create thumbs/gallery from custom fields

I'm looking for some direction on what the most proper way to achieve a particular layout on a page. Basically I'm looking at a horizontal, scrollable set of thumbnails at the top of the page's body, ...
1
vote
1answer
126 views

Thumbnails produce unwanted gray pixels on white background [closed]

Is there a workaround for producing QUALITY "Featured Image" thumbnails of different sizes? WordPress produces compressed thumbnails that contain grey pixels where it should be a completely white ...
0
votes
1answer
63 views

Why this thumbnail hard crop code does not work?

I am trying to show thumbnail image as an attachment in the feed. So I use following code. function add_images_to_rss($var) { global $post; if(has_post_thumbnail($post->ID)) { ...
0
votes
1answer
121 views

Getting specific image thumbnail urls of attached images

I am using the Manual Image Crop plugin to set thumbnails for images. I am not using any images as 'featured images' however. I have a number of thumbnails saved to each image. If I use ...
0
votes
1answer
289 views

Thumbnail With Next/Prev Links Not Showing Next Post?

I am using the below code to display thumbnail with next/prev posts links on single.php page. It is working fine when next and prev post are from same category but not showing the next or prev post ...
-1
votes
1answer
21 views

Thumbnails loading forever

Suddenly this happens: the thumbnails of my home page (which is a list of blog posts) suddenly take forever to load. Literally forever (they never load). But even this is not totally accurate: ...
0
votes
0answers
45 views

Custom Social Media Thumbnails for Pages

I am building a guide website and each section of the guide will be put together on a separate page. I want to make sure that each page has a different thumbnail for sharing on Facebook, Twitter ...
0
votes
0answers
411 views

Wordpress media library (in GRID VIEW only) is not showing thumbnails

I am using a bit of code, that deletes the unneccessary full images after uploading and adding different sizes and then sets custom sizes. The crazy thing is, the other media gallery view is working ...
3
votes
3answers
3k views

Settings in 'Media > Settings' is ignored when inserting images

When I upload an image, it is automatically resized as I would expect, however the sizes for inserting the image seem to ignore the settings I've placed in Settings/Media. In my media settings I ...
0
votes
1answer
218 views

Why is wp_get_attachment_image_src returning wrong dimensions? [duplicate]

I am using wp_get_attachment_image_src to construct the srcset attribute of an img tag. In that attribute I want to output a comma separated list of image urls along with the image widths. Using the ...
0
votes
1answer
73 views

Thumbnails resized and not cropped in the center

here's image of some thumbnails in my wordpress homepage: http://i.imgur.com/x8EmtMO.png The first one is resized very nicely - I don't know why and how - and the other ones are cropped in the center ...
0
votes
1answer
565 views

How To Delete Desired Image Sizes From wp-content/uploads?

My default media setting in WordPress blog is 150x150, 300x300, 1024x1024 respectively for thumbnail, medium, large images. Now I am designing a theme that need different size thumbnail images to show ...
0
votes
2answers
45 views

Different thumbnails for index and article page

For my aricles (wp7app.de) I'd like to use two different thumbnails, one which is displayed only on the index page (150x150) and one for the article page (600x400). However, I don't want to use a ...
0
votes
0answers
31 views

How to correctly add the featured immage (thumbnails) support in a WP theme? Why I can't add a featured immage?

I have developed this custom WP theme: http://www.asper-eritrea.com/ As you can see into the post excertpt (in the home page) it is showed the first immage into my posts. To do it I use this code: ...
0
votes
1answer
42 views

Product Images Low Quality After Updating From WP 3.5 to 4 [closed]

I recently updated my WP website from WP 3.5 to recent version 4 and now I am getting a lower quality of all product feature images. I am using woocommercee to generate an online shop and it was ...
0
votes
0answers
81 views

Portrait or Landscape images are not cropped to exact dimensions

I'm using a theme that's registered a new image size of 580x580 that's then resized to 100% width to fit in a column (approx 200px wide) The problem is that an image that is originally 225x600 gets ...
0
votes
0answers
109 views

Sharing a photo post on facebook sometimes results in a grey thumbnail

On my facebook page some of the thumbnails are partially or completely greyed out: https://www.facebook.com/ohokphotos My first suspicion is that this occurs when facebook fails to completely load ...