Automatically generated smallest size of an image.

learn more… | top users | synonyms

12
votes
2answers
1k views

Generating Thumbnails for video

I have checked and read lot of post about one single issue that is far more complicated than it seems. I have a website that uses a lot of videos taken from wwebsite as on the internet ^^ (services ...
8
votes
5answers
2k 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 ...
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 ...
6
votes
2answers
607 views

Set custom name for generated thumbnails

Is there any filter available to set the naming convention of those auto generated thumbnails? Something like this: thumbnail_150x150.jpg -> thumbnail-s.jpg thumbnail_300x300.jpg -> ...
5
votes
2answers
940 views

New image size version only for the Featured Image file

I'm worried about too many files created when adding a new image size. All uploaded files will generate the new size, I need a specific image size only for the file set as Fetured image, is there ...
4
votes
2answers
811 views

Cropped featured image replaces original image in gallery

Firstly, I have done my research as thoroughly as I possibly can. Searches have been made, but I have not found any advice or solution as to my exact issue. Ok, time to explain. Currently I am ...
3
votes
1answer
116 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 ...
3
votes
2answers
4k 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 ...
3
votes
3answers
2k views

Can I attach a document (eg: PDF) but have a JPEG as a thumbnail?

Is there a built-in feature or plugin that allows you to attach a document to a post or page such that the actual attachment file is one thing (eg a PDF) but the thumbnail images are another (eg a ...
2
votes
2answers
973 views

Adding uploaded images to editor from metabox instead of default popup uploader

I need to find plugin or create listing of all uploaded images for some post in custom metabox. And i can click to thumbnail for add image to editor in custom format. I downloaded a lot of photos to ...
2
votes
2answers
1k views

Stop wordpress from creating multiple size images

I want wordpress to stop making multiple size images cause it's going to eat up my storage space. So I went Settings > Media and then set all the sizes to 0. When I uploaded a new image it still is ...
2
votes
3answers
5k views

Make thumbnails in woocommerce replace the main image instead of opening fancybox

I would like the thumbnails underneath the main image on the single product page to replace the main image when they are either clicked or on hover, I prefer hover. Right now the thumbnails just open ...
2
votes
2answers
403 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 ); } ...
2
votes
1answer
2k views

image_resize in wp3.5 change to wp_get_image_editor and wont work

After 3.5 removed support image_resize and now says to use wp_get_image_editor as described here: https://codex.wordpress.org/Function_Reference/wp_get_image_editor Before (when it was ...
2
votes
1answer
140 views

Adding a custom field or metabox to the post-thumbnail widget?

Is it possible to add a custom field to an existing "widget" in the backend? What I wanna do is provide a way to have a checkbox to apply a thumbnail that is double the size of the normal one on the ...
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 ...
2
votes
1answer
843 views

Thumbnail and Featured Image With Fixed Sizes?

In my index.php file, I'm trying to create a thumbnail for each post with the size width: 200px and height 142px. And on the single.php, I would ike for the featured image to be width: 598px and ...
2
votes
1answer
569 views

WP 3.4 has missing photo data

I just updated to WP3.4 and discovered that previously available images are no longer "found" by the system. By this I mean that all the image files remain online and accessible, but WP has lost ...
2
votes
1answer
986 views

List category posts - Thumbnails are not displaying

we've been using List Category Posts to display different category posts on one page and it was working great until recently when the thumbnail images disappear. The 'thumbnail=yes' option is there. ...
2
votes
1answer
72 views

Display latest 12 images from media library

I was looking for almost a week for such solution - without success. What I want to achieve is have a kind of 'photos cloud' on my wordpress homepage. What I need to do is to display latest 12 photos ...
2
votes
1answer
372 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, ...
2
votes
0answers
211 views

Add Image to the RSS plugin reader from another RSS [closed]

Hello there i need help with the "Super RSS Reader". It works great but i need add function to get image thumbnail from RSS description. foreach ($rss_items as $item){ // Get the link ...
1
vote
2answers
2k 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.
1
vote
1answer
52 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 ...
1
vote
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 ...
1
vote
1answer
2k views

Thumbnails on next/previous links in custom post type single.php

I've been successful in using the following code to display thumbnails for next & previous links for normal posts but this does not work at all for custom post types. <div id="cooler-nav" ...
1
vote
2answers
72 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
2answers
2k views

Show featured image next to post-teasers in Genesis Framework?

I want my posts to have a featured-image thumbnail beside it, how do I do this?
1
vote
3answers
325 views

Implementing a tricky wordpress menu (nested categories + thumbnails)

I'm trying to make a layered wordpress menu, out of categories. Here's how it's going to look: I have no clue how to develop this, can't do it with get_posts (not sortable by parent/children), or ...
1
vote
1answer
81 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
vote
2answers
54 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 ...
1
vote
1answer
335 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 ...
1
vote
1answer
42 views

Sidebar Thumbs Squished?

My Thumbnails seem squished for some reason even though I copied the code from some thumbnails I have that seem to be working fine. The code that works: in index.php <a href="<?php ...
1
vote
1answer
95 views

Aligning the thumbnail image

I want to control the alignment of the featured image(the thumbnail) with the options given in the 'Set featured image' pop box. <?php if(has_post_thumbnail()) { echo '<div ...
1
vote
1answer
968 views

Show full image thumbnail

How can I set full image thumbnail on category pages? Image should be small in dimensions but not been cropped. Currently my theme WP-Davici (Solostream) use "Get The Image" plugin to generate ...
1
vote
2answers
500 views

Post thumbnail not working after regenerate

I have this setting in function.php add_image_size( 'thumbnail-gallery', 185, 185, true ); It will display a square picture. Everything is fine before I regenerate new size using "Regenerate ...
1
vote
1answer
79 views

Custom Post Type And “fopen”

Never posted here but since I can't find a solution on my own, let's abuse your kindness! I'm adding some custom post types through my theme. The first custom type works like a charm, but as soon as ...
1
vote
0answers
17 views

How to get rid of the strange sizing of links around posts? [closed]

I am currently running into a bit of a problem on my Wordpress site. I am designing a theme using the Bones framework, and after working for a while I have discovered a weird bug with links. Any time ...
1
vote
1answer
40 views

media library not showing thumbnails after deleting full image

I am using a bit of code, that deletes the unneccessary full images after uploading and adding different sizes. deleting function in functions.php: add_filter( 'wp_generate_attachment_metadata', ...
1
vote
0answers
42 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 ...
1
vote
1answer
55 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 ...
1
vote
0answers
311 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
18 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 ...
1
vote
0answers
45 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 ...
1
vote
2answers
1k 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
32 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
0answers
177 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 ...
1
vote
0answers
190 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 ...
1
vote
1answer
811 views

Force image crop size in media editor

I've searched high and low for this but think the answer I seek is being buried by the more common questions. I am developing a theme for a client that has two specific image sizes (100x127 for ...
1
vote
0answers
391 views

Custom Walker for wp_list_categories

I need some help with making of one Walker Class. Now I’m having a menu with categories and in the dropdown there are some subcategories. The menu is something like that: <div ...