Automatically generated smallest size of an image.

learn more… | top users | synonyms

0
votes
2answers
578 views

Add_image_size not cropping

I want to make a crop on the images of my blog page that have more than 443px adjust it to 645x443 size, exactly. I used this code: add_theme_support ('post-thumbnails'); add_image_size ...
0
votes
0answers
76 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
94 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
223 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 ...
9
votes
5answers
3k 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
1answer
202 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
191 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
77 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 ...
2
votes
1answer
447 views

Post thumbnail relative link and HTML modify

I want to remove the website url from all the_post_thumbnail() so they become relative and remove/add attributes from the output. So far I got the following code added to functions.php of the theme, ...
0
votes
1answer
345 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
64 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
74 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
103 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 ...
1
vote
0answers
419 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
20 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
102 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
65 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
425 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
2answers
134 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 ...
7
votes
1answer
1k views

How can I upload video, generate thumbnail and convert to different formats?

I haven't used WP in a very, very long time so please bear with me. I'm using v3.3.1 I've used get_children() to display images of a page in a custom template. I then customized a template to turn ...
1
vote
0answers
50 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
49 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
399 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
1
vote
1answer
3k 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 ...
0
votes
2answers
48 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
14 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
180 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
61 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
429 views

How to use images uploaded with custom implementation of thickbox like the_post_thumbnail() functionality

I have create a custom post type with meta boxes. In metaboxes I have create some fealds that the use can use the WordPress ThickBox Media Dialog to upload his/her images for each post seperatly. ...
0
votes
1answer
16 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 ...
2
votes
1answer
2k views

Using Advanced Custom Fields with Wordpress and Lightbox

I am using the ACF Plugin. I want to have a field where I can upload an image, and the result will display the full image in the Lightbox and then then full image will be resized into a thumbnail from ...
1
vote
1answer
37 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.
1
vote
1answer
346 views

Upload media files to Amazon S3

I have a site that is running on AppFog.com, and they don't have persistent file storage for things like images uploaded through the wordpress media uploader. The theme I am making for the site ...
0
votes
0answers
140 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 ...
3
votes
2answers
5k 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
2answers
2k 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
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
181 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
55 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
43 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
49 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
199 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 ...
-1
votes
1answer
58 views

Where is the template from the_post_thumbnail()?

My content.php is used both for my front page than for my single posts. The problem is that it calls the thumbnail with "the_post_thumbnail()" and the thumbnail returns with a particular width and ...
1
vote
0answers
223 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 ...
0
votes
1answer
560 views

Get post id on click of thumbnail

I am a little lost so I apologize if this question is vague and not organized well. I currently have a grid of thumbnails populated via Wordpress. I retrieve them by getting all the posts in a ...
0
votes
1answer
4k views

Customize WooCommerce Product Images (Placement and size) [closed]

so I'm having trouble trying to re-size my product thumbnail images. The site can be seen here : http://www.seekoften.com/eCommerce . I'd like the single-product page to have square thumbnails below ...
2
votes
2answers
503 views

Setting default thumbnails size & creating multiple thumbnail sizes

Two quick questions. How does default thumbnail size work? if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails'); set_post_thumbnail_size( 800, 600, true ); } ...
0
votes
1answer
520 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
75 views

Making a thumbnail if there exist a link with. jpg or .png extension in Wordpress

I have changed my question. I was wrong. Check it out I'd say. Is this possible to make a thumbnail if a link contains a .jpg (or .png) extension? I want to make it a thumbnail automatically if ...