Automatically generated smallest size of an image.

learn more… | top users | synonyms

1
vote
0answers
37 views

Inside text editor my preview gallery images are in full size

As I described in the title in the edit post page and inside the editor when I submit a new gallery the thumbnails are in full size. I suspect that this error caused when I unset the default "...
1
vote
1answer
43 views

Is there a way to change a post's thumbnail image(s)?

I just recently finished the first version of a blog (here: http://northernconservative.com/ ), but whenever I share a post on social media, the thumbnail image is the atrocious scaled up version of ...
0
votes
1answer
16 views

Echo list attachment size in post

i have a post width 10 attachment image in post i want querylist 10 attachment in post as: <li><a href="url-img-attachment-sizefull-img1" title=""><img src="url-img-attachment-...
0
votes
1answer
26 views

Thumbnail generating and posting

I have PHP code that generates a thumbnail, but it crops out the wrong part of the image and displays wrong. How does it know what part to crop out, and how do I fix that to crop out the portion of ...
0
votes
1answer
164 views

Can't get post thumbnail to display in foreach loop

I've been trying to get the post thumbnail to display in the foreach loop for a few hours now and I can't figure out how to make it work, any help would be greatly appreciated! <div id="...
0
votes
1answer
32 views

1px black line appearing down right side of thumbnails (theme snaps) [closed]

For some reason on most of the thumbnails there is a black 1px line to the right of the image. This looks to be a cropping issue or something but there is a 1px thick line on the right hand side of a ...
0
votes
0answers
18 views

Make thumbnails on product-category pages the same size

please im in a huge need to normalize the size of the thumnails, you see what im talking about in here http://www.jovitahandmade.com/boho-chic-bags/ i want to set the same height for all of them, ive ...
0
votes
0answers
65 views

Disable Wordpress thumbnail scaling on medium and large image

I want to disable WordPress medium and large image scaling like it's already possible with small thumbnail by checking the option below. crop thumbnail to exact dimensions normally thumbnails are ...
0
votes
0answers
36 views

How to add custom thumbnail size to media library's display settings / size?

I have added a custom thumbnail size in the functions.php of my template like this: add_image_size( 'post_mainpic', 750, 250, array( 'center', 'center' ) ); Now I want to be able to select that ...
0
votes
0answers
13 views

Thumbnails in my album pages

I'm going to insert a navigation bar (with thumbnails) in my album pages. I've tried in different ways, but no one is working. The code, for "template-album" source, is the following. <?php ...
0
votes
1answer
119 views

Allow 'Set featured images' to select multiple images

So 'Featured image' option on WP is lacking. What I was expecting is when user selects multiple images it echos out multiple images on the page, instead you can only select one photo. I tried to find ...
1
vote
2answers
1k views

get_post_thumbnail_id() Doesn't return value [closed]

I'm changing a menu from a loop with query_posts to a "custom menu" using wp_get_nav_menu_items, but I can't seem to retrieve the post_thumbnail. The original code I had (snippet): <?php ...
0
votes
0answers
15 views

Thumbnail generation use the larger dimension

I am using the jquery masonry gallery. It basically works but i have a problem i cannot solve now. In Settings -> media i gave the thumbnails a sive of "200x200" with the "crop to exact size" option ...
1
vote
1answer
127 views

How can i place Feature Image under title field in wp-admin?

I am creating my custom Image slider, in register_post_type() -> i use : supports = "title,thumbnail"; i use only two thing in supports, "title,thumbnail" But post-thumbnails default position is ...
0
votes
1answer
1k views

How to Make Thumbnail of Post Stay Animated

When I upload my post with an animated .gif, the thumbnail generates into a new image and doesn't stay animated. It will stay animated inside the post which is great. It seems to resize the .gif image ...
0
votes
0answers
101 views

Product images (thumbnail open full size same page)

In my custom post type called "product", I have created a template with a few thumbnail images and one full size. When you click on the thumbnails, they opens up in new or same window. But I want ...
0
votes
1answer
169 views

Disable Media File Image Link On Mobile Devices

I'm looking to disable the 'media file' image link on mobile devices, so that when viewing a site on mobile devices we simply have the image being displayed with no link to anything. I am looking to ...
1
vote
2answers
86 views

shortcode get thumbnail size

How to get shortcode thumbnail size? my code get shortcode thumbnail size in functions: function thumb_medium( $atts, $content = null ) { return wp_get_attachment_url( get_post_thumbnail_id( $...
0
votes
1answer
74 views

Wordpress Gallery Thumbnail images look blurry

I am using the standard WP gallery, and it all looks great on the page until I have images with different sizes. I have resized al the images I could and set them to medium size display and those ...
1
vote
2answers
88 views

How can I get I get the thumbnail custom size dimensions?

Assuming I have a custom thumbnail size, as defined by the following... add_image_size( $name, $dim_x, $dim_y, true ); ...how can I get the defined image dimensions programatically, using only $...
0
votes
1answer
67 views

resizes images on the fly

I'm looking for a plugin that resizes images on the fly that I can call via php. I have searched the wordpress plugins for something that does this and wasn't able to find anything that was up to date ...
0
votes
0answers
42 views

Admin panel Thumbnail style cropping for custom post thumbnails?

You know how WordPress allows you to choose the cropped area to display on the by default 150x150 thumbnail size? Is there a way to add your custom thumbnail sizes to the admin panel in the same way? ...
0
votes
0answers
29 views

How to setup a new image size in a child theme?

I need to setup a new size for a thumbnail that will be used by a plugin but I can't get this done, this is what I have so far: /** * Registers a new image size. This means WordPress will create a * ...
1
vote
1answer
364 views

Display only posts with thumbnail using WP_Query

I'm having hard times with showing only posts which have featured images using the loop. My PHP level is basic and any help will be really useful. So basically this is my original code : if( ...
0
votes
1answer
31 views

Why wordpress doesn't generate thumbnails?

Wordpress doesn't generate thumbnails in my server. I don't know why. Old images' thumbnails get regenerated; however, the newly uploaded ones doesn't. I used Regenerate Thumbnails plugin to ...
0
votes
0answers
68 views

Why wont these thumbnails show up?

Here is a link to the Website with the issue. http://southernhighlands.com/homes/exclusive-listings/ Looking at the 1st thumbnail I can see it is linked to Notice: Removed http:// because I can ...
-1
votes
1answer
2k views

Display woocommerce product_cat child terms with thumbnails

I was wondering if someone could give me a hand. I would like to display the child categories of my woo commerce store categories along with the thumbnails I have set for them in my dashboard. I have ...
0
votes
0answers
24 views

Ability to choose icon-thumbnail from available icon set

I would like to give user a ability to choose icon-thumbnail from available icon set in custom post type post(not icon in admin panel). It can be somethink line fontawesome or somethink else. Is it ...
5
votes
4answers
11k 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
70 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
858 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
552 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
64 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.
8
votes
2answers
9k 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
29 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
172 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
315 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 ...
1
vote
1answer
1k 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
47 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 ...
10
votes
5answers
7k 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
70 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
22 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 size,...
1
vote
1answer
5k 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 class=...
3
votes
3answers
190 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
94 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
65 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
211 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
329 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
118 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
77 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 ...