Automatically generated smallest size of an image.

learn more… | top users | synonyms

-1
votes
1answer
517 views

PHP-Code inside Href-Tag

I have include PHP-Code inside a href-tag – and it doesn’t work! <?php $image = get_post_meta($post->ID, 'image_medium', true); if ( $image != '' ) {?> <a href="<?php ...
1
vote
1answer
883 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 ...
0
votes
2answers
269 views

Thumbnails appear to be zoomed

Im using a theme which has my thumbnais set to 150x150px. But after installing plugin (just too check it out) I noticed it displays them correctly, but the default thumbnails are zoomed in. Can ...
0
votes
1answer
125 views

Custom image size mixes width and height in output

I want to use a couple of custom image sizes for a site that I'm developing. When I output the images I sometimes do not get the correct width size because it is mixed up with the height size. It ...
0
votes
1answer
338 views

Autogenerated Thumbnail compression depending on size

This is a follow up to this question, in witch the jpg compression is altered depending on what WP's built-in image resulting image size returns. While it may work for most of the people, i'm looking ...
0
votes
1answer
547 views

How to add a custom thumbnail size for a specific category?

The default thumbnail size for the Wordpress theme I use generates category thumbnails for the homepage and archive page at 200x110px. I would like to add a custom thumbnail size for a specific ...
0
votes
3answers
566 views

prevent wordpress from creating thumbnails of an image

I have a theme installed which automatically generates differnet sizes of images (thumbnails) when I add a "featured" image in a post. supermuc-106x80.jpg supermuc-116x80.jpg supermuc-150x100.jpg ...
-1
votes
1answer
58 views

Thumbnail informations (meta)

Does anyone know how can I display in the loop thumbnail's name, alternative text, title, caption, url? Thx for all advices and suggestions
1
vote
0answers
421 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 ...
0
votes
2answers
293 views

How can i make this in the_post_thumbnail?

if I add this code in my theme function.php add_image_size('thumb' , 130, 65, true ); // Thumb add_image_size('max' , 610, 305, true ); // Maximum add_image_size('min' , 270, 135, true ); // ...
1
vote
0answers
36 views

How do you alter the default WordPress thumbnail?

I have selected 'thumbnail' under 'Apply changes to:', however, nothing seems to happen in either the media library or on the site. I've also tried regenerating the images after making changes, but ...
5
votes
2answers
1k 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 ...
0
votes
1answer
308 views

Thumbnails from video posts not working after upgrading to WP 3.4

I'm using Auto Featured Image plugin to generate thumbnails for my posts. After upgrading to WP 3.4 all the posts that had videos and thumbnails generated from youtube disappeared. I found another ...
2
votes
2answers
1k 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 ...
1
vote
1answer
104 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 ...
0
votes
1answer
578 views

Slideshow with thumbnails

I have a simple demo here to illustrate my problem. http://www.ttmt.org.uk/wordpress/ It's a slideshow of images that is using the cycle plugin - http://jquery.malsup.com/cycle/ The images are ...
0
votes
2answers
579 views

Different thumbnail size than actual picture in post

I am wondering how to achieve something specific. I am not sure if this functionality is already built into Wordpress, or if there is some PHP happening. This is the site I am basing some of my ...
1
vote
1answer
709 views

How to create thumbnails in wordpress with jwplayer

I can't seem to get a good answer on their site. What's the best way to create thumbnails for videos uploaded to my wordpress site? Users upload videos from the front end and I started doing this with ...
3
votes
3answers
3k 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 ...
0
votes
1answer
213 views

WordPress save thumbnail but don't show it [closed]

WordPress don't show image thumbnail but save them. I have all version of image (eg. image.jpg, image-300x250.jpg) but WordPress don't detect them. Anybody got same problem as here?
0
votes
2answers
666 views

Filter for post_thumbnail: link to small src and add data-attribute

I wonder how I can link manually to the smallest filesize for the_post_thumbnail() within its filter function … add_filter( 'post_thumbnail_html', 'post_thumbnail_html', 10, 3 ); function ...
6
votes
2answers
745 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 -> ...
0
votes
1answer
384 views

Automatic adding thumbnail to post

I have got following code. $postData = array( 'post_category' => array(get_category_id("website")), 'post_content' => 'My website about cars.', 'post_title' => 'my little cars', ...
0
votes
1answer
702 views

Thumbnails and Lightbox

As mentioned on wordpress.org, it is possible to link a thumbnail to its larger self. <?php if ( has_post_thumbnail()) { $large_image_url = wp_get_attachment_image_src( ...
0
votes
1answer
357 views

filter posts without images or featured image

I'm using wordpress MU 3.3.1. I want to add a function within a loop that displays only posts with image, or featured image. please help me on how to filter posts. <?php get_header(); ?> ...
0
votes
2answers
2k views

get_the_post_thumbnail('thumbnail-name') always returns empty string

I need to duplicate a list of thumbnails elsewhere on a page and have set up a few different custom thumbnail sizes in my functions.php file. If I use: the_post_thumbnail('photo-small'); Then the ...
0
votes
1answer
440 views

Broken thumbnails (sometimes) with TimThumb

Reinstalled theme with latest version of TimThumb (was previously effected by the vulnerability issue). Now most of my thumbnails work, but some do not. My theme relies on this plugin, so I'm not sure ...
0
votes
1answer
837 views

Post Gallery list attachments except the one used as post thumbnail

I'm doing gallery in a single post after the post thumbnail. So I list all the post attachment with the image type (with the following query) but I want to exclude the post thumbnail. global $post; ...
0
votes
1answer
290 views

Gallery Shortcode Function Help

Okay, so I found this code online that allows you to add the option of how many thumbnails you want to show in the gallery shortcode. The code below is what they say to add to the functions.php file ...
0
votes
3answers
332 views

How do I get thumbnail generator to recognize the_permalink tag?

Help! I am trying to create a Digg-clone by integrating "BM Shots" (a webpage thumbnail generator) with "Recommended Links" (a social voting plug-in for Wordpress). Recommended Links allows for user ...
0
votes
1answer
511 views

Custom field outside the loop and inside an array

I am trying to use a custom field inside a widget so it's therefore outside the loop. Taking it a step further, the theme I have is using an array to generate listings which makes it hard for me to ...
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" ...
0
votes
1answer
84 views

How can I check for a thumbnail in WordPress?

How can I can I check if a post has a thumbnail and if does do something? If doesn't do something else. This is what I have: <?php if (has_post_thumbnail()) ?> <?php the_thumbnail(); ...
1
vote
2answers
2k views

Gallery with thumbnail carousel

first post so hopefully I don't break any rules! :P I'm in the process of building a Wordpress theme for the Architecture office I work in. I am creating a page template to use for individual jobs ...
0
votes
1answer
42 views

Can I make a parent page of the blog and have it display a paragraph/thumbnail of certain entries?

WP 3.2.1 The title just about says it all. I'd like to make a parent page of the blog that will dynamically show a little teaser of certain entries (either the most recent or random, depending on ...
0
votes
1answer
908 views

How to set thumbnail for each tag?

I would like to set thumbnails for each tag. I actually need two type of thumbnails. 16 x 16 and 90 x 90. 16 x 16 will be used infront of tag name like stackoverflow. 90 x 90 will be used in tag page ...
0
votes
1answer
409 views

Stop 'alt' from being added to the_post_thumbnail

I'm using the_post_thumbnail to display a specific thumbnail size. The function outputs an 'alt=' tag with the description of the attachment. Is it possible to clear the value in the ouput? So it'll ...
0
votes
1answer
1k views

wp_get_attachment_image_src() with advanced custom fields returning empty

I am using the advanced custom fields plugin to upload images for an image gallery. I am attempting to retrieve the different sizes of images that are saved in the uploads folder and having problems. ...
1
vote
1answer
1k 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
3answers
331 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 ...
0
votes
1answer
1k views

Show image in excerpt post. Image not displaying

I am editing a costum theme. I was trying to add excerpt to the homepage. The homepage is costum. The excerpt show just fine but the image refuses to be displayed it seems. This is my code: $args = ...
1
vote
1answer
502 views

How to disable multiple thumbnail generation?

Tried setting the thumbnail size, but left medium + large to 0 0 to disable them, still all 3 were generated. Is there anyway to selectively disable these via functions.php?
0
votes
1answer
369 views

Excerpt Problems

On a theme I'm working on I want a div which expands to 100% height of the outer div (which I will put around the thumbnail). The purpose of this is to move text further to the right to be aligned as ...
1
vote
1answer
158 views

Query the post which have a thumbnail

I've got a highlight section on the header of my website which shows the title and the thumbnail of the last X posts having a thumbnail. Is there any custom query which allows me to retrieve only the ...
1
vote
2answers
549 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 ...
0
votes
1answer
660 views

Replace TimThumb in existing WordPress Themes

I'm sure most are aware of the most recent Timthumb issues. I know they have put a band-aid on the problem, but I really don't care for the script for several reasons. Before I started building my ...
1
vote
1answer
83 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 ...
0
votes
2answers
2k views

Thumbnail for categories / taxonomies plugin?

I'm looking for a nice way to attach an image as a thumbnail to a category. No plugin that I found does this. I have a category loop and it would nice to display a category thumbnail, not just the ...