Automatically generated smallest size of an image.

learn more… | top users | synonyms

0
votes
0answers
70 views

Force thumbnail creation

If a particular image is uploaded with the same size dimensions or less than my set thumbnail size, wordpress won't auto cropped it. Doing some searching I come to learn that the hook responsible for ...
-1
votes
1answer
47 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
151 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
2k views

Customize WooCommerce Product Images (Placement and size)

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
294 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
0answers
16 views

How do I use two different images, one as a thumbnail and one as a linked image? (1 post)

I want to do an image gallery in a page, where the linked image (a href) is different from the thumbnail's src. I need to have the ability to change the thumbnail image. Its important because for each ...
0
votes
1answer
71 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 ...
0
votes
1answer
310 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
0answers
18 views

Check if there is an image in a post or comment and make it a thumbnail automatically [duplicate]

Is this possible? So just like video embeds... If it sees an <img> tag in a post or comment, it should make a thumbnail of the image.... Can this be done? If so, how?
1
vote
2answers
1k 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
2answers
124 views

Function to get thumbnail img source

I have this function call that displays an entire img tag with the correct url for that post.. the thumbnail img... ?php the_post_thumbnail('blog-page'); ?> What I need is just the source ...
0
votes
0answers
15 views

Fetching attachment_link outside loop

First of all I must say I'm not a star with PHP. I have registered here because there are so many good solutions to stuff I needed in the past, so thought it would be good to try and engage in the ...
0
votes
1answer
54 views

Can't edit thumbnails

I am having two related problems: In the Media Library, when I click on edit image, I don't see the image load on the left part that allows to crop etc. Similarly, I can't edit nggallery thumbnails, ...
0
votes
1answer
139 views

Dynamic image crop in WP 3.0+?

Since WP 3.0 does not support hard crop anymore (the only way to crop is in media manager), how am I suppose to dynamically crop my thumbnails? I don't want to crop them manually one by one...
0
votes
1answer
109 views

Disable Linked Gallery Images If Mobile Browser

So I found this question here: Proper Way to Remove Thumbnail Links In Gallery and looks to have a good answer, but how can I make that apply only if the user is on a mobile browser, or at least if ...
0
votes
1answer
405 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
2answers
153 views

Add rel=lightbox to custom string

I'm using the following code in my functions.php to show thumbnails in my excerpt: function pietergoosen_kry_eerste_prentjie() { global $post; $first_img = ''; $output = ...
0
votes
1answer
105 views

Get a different size of Image thumbnail While working with custom metabox

I am using custom metabox for a page in my new project, I am using it for uploading image, and attaching it to the page. It's working fine, I can select image or upload the image using WordPress' ...
1
vote
1answer
312 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
85 views

Is it possible to change image size used for preview thumnail in Add Media popup

I has cleaned up my media items by removing all the medium and large size from upload dir. So the medium size now could not be found. Currently the Media library popup (when click Add media) uses ...
0
votes
1answer
362 views

image thumbnail in RSS Feed

I dont have much coding knowledge. getting prob with RSS feed. I copy n pasted from somewhere this code. getting title and date.. its fine, but client needs now image thumbnail too. How to put image ...
0
votes
1answer
719 views

add youtube thumbnail in index and single.php add video

I crating custom wordpress themes for video related website, client can embed youtube video, in index.php only show thumbnail image and title of video then when click thumbnail it goes to single.php ...
0
votes
0answers
626 views

Why am I getting blank thumbnails in media library?

I run a Multisite installation with 10 blogs. All the other blogs work fine except for one where any image that's uploaded does not show up in the media library. There's just a blank image instead of ...
0
votes
0answers
241 views

Delete associated thumbnails when calling wp_delete_attachment

I have a somewhat straightforward script that allows users to upload their own avatar from the front-end. Another script allows them to delete their avatar, before uploading another. The ...
1
vote
1answer
181 views

Woocommerce: Set thumbnail detail (clipping area)

I am using the german Wordpress 3.5.1–de_DE with Woocommerce 2.0.8 and the Woothemes Mystile Theme 1.2.8. I have a big picture for a product (Jellyfish.jpg) and want to use a specific area of that ...
0
votes
3answers
563 views

Use 'medium' size with catch_that_image() function

I've this function, which I'm pretty sure a lot of you already know: function catch_that_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = ...
0
votes
1answer
53 views

Imagem resolution responsive

I have a add_image_size to resize an image, but when i have 980px of resolution, the image still the same size. I would like the image be 100% when the resolution is lower than 980px, but I need to ...
1
vote
0answers
169 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 ...
0
votes
2answers
129 views

Additional image sizes are not being generated

When I upload an image through the admin interface, the image is only saved at full-size. The other sizes are configured to their default values in Settings > Media. The automatic resized versions are ...
0
votes
0answers
91 views

get_the_term_list & url

I have 2 custom post type and i want to link them together with an url from the first one and a image from the second one. I can get the title and the url of my taxonomy like that : ( CPT = ...
0
votes
1answer
371 views

How to set thumbnail image for a (child) theme

I've created a basic child image for twentytwelve, and it works as expected. The only issue is that it does not have a thumbnail image in the themes page: How do I set a thumbnail image for my ...
0
votes
1answer
475 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 ...
8
votes
5answers
1k 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
38 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
3answers
103 views

Theme thumbnail in dashboard

I'm not sure whether this question belongs here but I don't know where else to ask it : do WordPress designers/developers usually create a dashboard theme thumbnail when they completed the WP theme ...
0
votes
1answer
179 views

Thumbnails for media Library images

I have somee Item in the media library, where I want to retrieve the thunbnail from. I use the normal post thumbnail functions (tried some of them), with normal posts or cpts's the work fine. As ...
0
votes
1answer
127 views

Thumbnail remove width & height function

I wish that when the browser was resized to below 980px, my images were width 100%. The container of the images already have 100%, the problem is that I'm using wordpress size code for thumbnails: ...
0
votes
2answers
339 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
1answer
67 views

I would like my posts to pull my custom cropped thumbnail instead of creating its own thumbnail from Featured Image

Firstly, I'm not a developer, mostly a website designer and CSS hacker. I'll try to explain better: I'm using a grid theme that creates a thumbnail out of the featured image to display as a post ...
2
votes
3answers
3k 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
1answer
66 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
322 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
1answer
1k 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 ...
0
votes
2answers
4k views

How to set global variable in functions.php

I want to be able to echo the URL of the featured image of a post and after looking some on the web I found the following which works fine when I put it in a loop in my front page template. <?php ...
0
votes
1answer
151 views

Thumbnail is corrupt but image is good

I am using wordpress 3.5 to manage my website with a template (not sure which). Lately, each picture I add to a gallery creates a corrupted thumbnail, but the picture itself shows up ok. I tried ...
0
votes
3answers
1k views

Wordpress 3.5 - Add custom image size

Since the new version of Wordpress (3.5), it seems to be an incompatibility between the image manager and the custom image sizes. Previously I used in my functions.php : add_action( ...
2
votes
2answers
3k 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 ...
0
votes
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
0answers
14 views

Get attachment id from thumbnail url [duplicate]

Possible Duplicate: Turn a URL into an Attachment / Post ID I got a thumbnail url, for example http://www.mysite.com/wp-content/uploads/blume-beispielbild-300x225.jpg I know I can find the ...
1
vote
1answer
39 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 ...