Automatically generated smallest size of an image.

learn more… | top users | synonyms

0
votes
0answers
306 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
0answers
191 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
182 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 ...
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 ...
0
votes
0answers
116 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
3answers
2k 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( ...
0
votes
1answer
39 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
126 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
192 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
142 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
1answer
70 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
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 ...
0
votes
2answers
5k 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
170 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 ...
1
vote
2answers
777 views

get_post_thumbnail_id() Doesn't return value [closed]

I'm changing a menu from a loop with query_posts to a "custom menu" using wp_get_nav_menu_items, but I can't seem to retrieve the post_thumbnail. The original code I had (snippet): <?php ...
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 ...
0
votes
1answer
1k views

Trying to use Advanced Custom Fields with custom image sizes

I have a product section on my wp-site. I am trying to display the attached thumbnail image in specific sizes that are automatically cropped to the right size. I have used Advanced Custom Fields to ...
0
votes
2answers
423 views

need to add attach thumbnail from my form

i need to add [attach thumbnail] to this form functions.php Code: if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POST['action'] == "new_post") { ...
0
votes
0answers
16 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
2answers
3k 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
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 ...
2
votes
1answer
576 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 ...
0
votes
2answers
797 views

Exclude Multiple Post Thumbnails From Post Attachments

i am trying to exclude multiple post thumbnails from attachments. i have the following thumbnails setup in my functions.php: $thumb = new MultiPostThumbnails(array( 'label' => 'Client Logo', ...
2
votes
1answer
141 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 ...
0
votes
1answer
54 views

Removing Title Tag from Thumbnails

I'm currently adding thumbnails to my page with: <?php the_post_thumbnail( 'category-thumb' ); ?> and this in the fuctions.php: if ( function_exists( 'add_image_size' ) ) { add_image_size( ...
2
votes
1answer
894 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
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 ...
0
votes
3answers
452 views

how i can increase Featured thumbnails size?

when i open any post then 1st image show my featured image. i want to increase this size . see it or . i already try to increase from single.php to change this code <p><img src="<?php ...
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 ...
0
votes
1answer
2k views

Various thumbnail sizes for Wordpress/jquery masonry gallery

can someone help me to create a thumbnail gallery in Wordpress using jquery masonry which looks similar to this? I am not sure what the best approach is. Especially regarding the different thumbnail ...
-1
votes
1answer
414 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
835 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
239 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
119 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
307 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
504 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
513 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
53 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
395 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
289 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
35 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
958 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 ...
2
votes
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 ...
0
votes
1answer
283 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
977 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
96 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
563 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
556 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
659 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
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 ...