Automatically generated smallest size of an image.

learn more… | top users | synonyms

0
votes
1answer
24 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
1answer
35 views

WordPress Displaying Thumbnails Vertically :(

WordPress is displaying my thumbnails vertically and VERY LARGE. Specifically it's displaying WooCommerce product page thumbnails vertically and VERY LARGE. Can't seem to figure out why or what piece ...
1
vote
1answer
22 views

Get ID of featured image using “get_post_thumbnail_id(the_ID())” - without printing to screen?

I'm using the code: get_post_thumbnail_id(the_ID()) to get the ID of a post thumbnail image, but whenever I call this it outputs the ID to screen. I just want to get the value to use in another ...
-1
votes
0answers
6 views

Custom names for generated thumbnails

could someone updates this answer to the latest WP version? I don't find the code in any wp core file and haven't enough knowledge to update it by myself.. :/ Old question: Set custom name for ...
1
vote
0answers
20 views

How to compress thumbnail images of two different sizes?

I'm new to wordpress and so far with a limited knowledge of PHP, I was able to build up a theme from scratch. I removed the compression for my homepage images for a better quality of pics. Now, the ...
0
votes
0answers
25 views

Why are my 'medium' images the wrong size

In my media settings I have: Thumbnail size 131 x 87 Crop thumbnail to exact dimensions: yes Medium size 260 x 1000 Large size 560 x 800 But the_post_thumbnail('medium') outputs an ...
0
votes
1answer
42 views

Display thumbnail of child, parent and ancestor using featured thumbnails

I have tried to achieve that the Home page displays featured images of all it's child pages and in turn some child pages are displaying the featured images of their child pages. This is my code so ...
2
votes
1answer
43 views

Adding a photo to each WP user

I found several plugins (like this one and this one) to get the ability to attach a picture to a WP user. But these plugins are not maintained any more. Since there's apparently no plugin that does ...
0
votes
1answer
20 views

the_post_thumbnail returns full sized image, how to debug?

This is a weird situation. I have defined add_theme_support('post-thumbnails'); add_image_size('190x280',190 , 280,true); add_image_size('400x600',400 , 600,true); Uploaded images to post as ...
0
votes
1answer
22 views

Admin - no Featured image choice in create new/page|post

I am developing a WP theme and I wanted to add a thumbnail/featured image to a new page/post but there is no such option/choice - like it used to be, I am using WP 3.8.1, I did try to turn off all the ...
1
vote
1answer
24 views

How to have the thumbnail cropping tool working

I've been using wordpress (and developing on it) for years now, but never be really able to use the drop tool. So I try to ask here... If I crop a thumb, I see the right cropping in the media ...
0
votes
1answer
32 views

Thumbnail of the latest posts page

I have a page "Blog" and it's set to display latest posts. This page itself has a thumbnail, and I want it to be displayed in header. Every other page/post has same layout and thumbnail shows in ...
0
votes
0answers
29 views

Retrieve image from Open Graph of an external URL and set as featured image

I would want to retrieve an image of an external link in the content of a post, as to feature it as a thumbnail, sort of how a Facebook status or other similar things would look. I guess that an Open ...
1
vote
1answer
27 views

Generated media have incorrect aspect ratio

Uploaded an image via standard 'add new' dialog to the WordPress Media library. Here were the original Media Settings: Thumbnail - 150x150 Medium - 300x300 Large - 1024x1024 I uploaded a ...
3
votes
1answer
62 views

How do I delete all generated images from my server except those currently used in posts

I have a new set of image sizes for my site's in-development theme. My server is filled with old image sizes, most of which have never been used. You've heard this one before, right? The Question How ...
0
votes
1answer
60 views

Thumbnails are not cropped even after selecting “Crop thumbnail to exact dimensions”

I am moving Wordpress site from one domain to another. In the old domain the WP version was 3.5.2 while in the new domain WP version is 3.8.1. There is a page named "2002" which just contains an ...
0
votes
2answers
54 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 ...
0
votes
0answers
30 views

How to fix thumb.php error

So I moved a site to a new URL and some post thumbnail images aren't showing up. What is strange is that some are pathing to the new /uploads folder without a problem. Others are producing this ...
0
votes
0answers
55 views

Woocommerce: Automatic category/subcategory thumbnail based on 1st product [on hold]

At the moment I am building Affiliation shop based on xml. There is plenty of categories and more are being added automatically. Does anybody know how to write function, which would show ...
0
votes
1answer
88 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
2answers
42 views

Multiple thumbnails and one gallery

I'm looking for solution for a gallery on a WP page that shows multiple thumbnails of images in that gallery, but not all thumbnails in gallery (like default Galleries in WP works). I want ...
0
votes
0answers
41 views

How to add featured image to a post?

I have a registration form where the user can upload an image. Upon registration I create a post and I would like the uploaded image to featured image. I have tried that but it is no working : ...
0
votes
1answer
35 views

How to change the thumbnail size to a specific category?

I am using thumbnail on my blog posts. I added the following code in my functions.php for that purpose add_theme_support('post-thumbnails'); set_post_thumbnail_size( 328, 228, true ); It's ...
0
votes
0answers
42 views

NextGen Gallery Sidebar Widget Plugin

Can anyone suggest me a good plugin or code to display thumbnail photos from multiple galleries. I want show thumbnails in the sidebar and foot from multiple nextgen gallaries and each thumbnail ...
0
votes
0answers
69 views

Woocommerce Checkout Page Add Image to Order Review [on hold]

How do I add a thumbnail of the product image to the checkout page as it is seen on the cart page? I tested, modified and retested the change recommended this answer, but I am unable to make it work. ...
1
vote
0answers
145 views

How to make thumbnails of uploaded animated gifs NOT animated

I am having an issue where I want the thumbnails of my animated gifs to NOT be animated. I tried to talk to hostgator about helping with this issue and they simply said that I must find a solution ...
1
vote
0answers
15 views

Delete original attachment files after editing

I am looking to obtain an certain workflow using WP Media Uploader and Image Editor and I am getting a lot of generated images that I do not need and I do not want to keep them. You can see in the ...
0
votes
1answer
32 views

Adding a cover image to video shortcode

I'm looking for a way to allow the user to add a cover image (a.k.a. thumbnail) to an internal video, uploaded to WordPress and embedded with the shortcode [video]. So far everything I came up to is ...
0
votes
1answer
33 views

how can I call a posts featured image in any template?

I would like to call specific images in my template from the posts and pages of my choosing. For example I want to these featured images on my home page; About page Project post Another page I ...
0
votes
1answer
171 views

Disabling image thumbnails and automatic regeneration

When image uploaded to the wp gallery - thumbnails automatically created, in my case 294x294, 191x191, 99x99 - these thumbnails are generated at very high compression / low quality. In order to ...
0
votes
3answers
83 views

Media Library Image Sizes in Bones theme (add_image_size)

I'd like to create new thumbnail options in Bones and have followed the instructions in the Bones theme Functions.php file. I am expecting therefore that one should be able to choose from the Size ...
0
votes
2answers
65 views

How can i give a download link to the thumbnail or featured image

I am using the code below to give users download the thumbnail image, as i have a wallpapers site: <a class="downloadbutton" href="<?php echo $src[0]; ?>" download="imageName">Download ...
1
vote
0answers
33 views

What is the best way to store thumbnails for a non-image attachment?

I'm in the process of extending Document Gallery to support generating and displaying thumbnails for each document. I've got thumbnail generation under control, but I'm curious as to what best ...
0
votes
0answers
38 views

Thumbnails have stopped generating correctly

I had thumbnails set up and working perfectly on my site. However, I wanted to change the size and did so through the functions.php file (although I see this is now an option in Settings -> Media). I ...
0
votes
1answer
72 views

how to resize thumbnail image

I am using this function to re-size my thumbnail , add_image_size( 'portfoliolarg', 120, 120, true); the image is corp and resize I just want to resize my Image
0
votes
2answers
27 views

Check if custom thumnail size image has been cropped to the correct dimensions

I'm looking for a way to check if an image has properly created a custom thumbnail size that has been hard cropped. add_image_size( 'homepage-thumb', 1676, 828, true ); $size = "homepage-thumb"; ...
0
votes
0answers
8 views

Change crop position on featured image crop [duplicate]

I've set a featured image on my pages and want to crop them to a certain dimension. The problem is that it crops those dimensions in the center of the photo vs. from the top left (0,0) position. How ...
0
votes
0answers
12 views

Image gallery thumbnails on product page [duplicate]

I use the WooCommerce theme Mystile, and there is a lightbox function built into that theme (or Woocommerce). I have deactivated this lightbox from the WooCommerce settings by unchecking this " ...
0
votes
2answers
99 views

Display number of latest images from wordpress gallery in your homepage

I was trying to get a solution for something that I am trying to accomplish. I am using the wordpress native and simple gallery to show images in a page called: "gallery" so far - very simple. it ...
1
vote
2answers
44 views

How to offset thumbnails to the center?

I made few thumbs size. But some of them make total resize of original pict or make new with specified sizes from right bottom corner. Is this posible to centrilize thumbs? I meen to make new thumb ...
0
votes
1answer
15 views

Thumbnail Look For WP

I would refer you to this site: http://jimmyscarff.org/2013/11/12/the-funness-of-victor-harbor/ I am trying to get medium size photos for the pics, but they are all thumbnails and not WYSIWYG as I ...
0
votes
0answers
122 views

Updated WordPress and now image crop, thumbnail setting and thumbnails are gone

I've updated to WordPress 3.7.1 and when I upload images to my site, it's not generating thumbnails. It's also missing the image crop and thumbnail setting sidebar. I created a simple theme but ...
0
votes
2answers
474 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 ( ...
1
vote
1answer
31 views

How do I turn a post thumbnail into a background image?

I believe the answer o this question was posted on this page, but it is still not clear to me. The snippets are scattered all over the discussion and several glitches happen when I implement them.
0
votes
0answers
18 views

Replacing Thumbnails with View All Photos

When I make a post with over 20 attachments, I want the post on the index page to have just 10 thumbnails (these link to image.php which eventually links to all 20 photos), with a link that says "View ...
0
votes
1answer
102 views

Show posts image attachments

I'm creating an archive page for my photoblog. My posts have 1 or more images. I'd like to show all the attachment thumbnails in a page. Using the featured image (the_post_thumbnail) only shows 1 ...
0
votes
0answers
47 views

How to add multiple versions of the same featured image for SEO reasons?

I am currently writing a plugin that optimizes category pages in WooCommerce. The idea behind it is that a product can appear in multiple category pages and for every category page it appears in, ...
0
votes
1answer
36 views

How to strip thumb from widget

I v made a customization on my theme, and some widget display where only title is shown without thumb.But the thing is i dont know how to remove this thumb so i v made a custom thumb size and in ...
0
votes
1answer
37 views

“This site is under development” when sharing on Facebook

I have some issues when sharing my website's url on Facebook. There is a text saying "This site is under development", and there is no thumbnail. That only happens when sharing the main url (the url ...
0
votes
0answers
156 views

WooCommerce image output customization

How can I size the product thumbnails differently than the size shown on the checkout page ? ( I want the product thumbs to be square, and the ones on the checkout page to remain vertically oriented ...