Automatically generated smallest size of an image.

learn more… | top users | synonyms

0
votes
2answers
217 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
90 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 ...
0
votes
1answer
392 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
69 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
77 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
119 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
438 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
21 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
119 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
67 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
486 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
3answers
348 views

Media Library Image Sizes in Bones theme (add_image_size)

I'd like to create new thumbnail options in Bones and have followed the instructions in the Bones theme Functions.php file. I am expecting therefore that one should be able to choose from the Size ...
0
votes
2answers
146 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 ...
1
vote
0answers
51 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
51 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
461 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
0
votes
2answers
50 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
9 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
194 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
64 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
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 ...
0
votes
0answers
144 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 ...
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 ( ...
1
vote
1answer
38 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.
0
votes
1answer
190 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
53 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
204 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
229 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
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
540 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
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 ...
0
votes
1answer
600 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 ...
3
votes
2answers
4k 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
284 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
1answer
65 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
161 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
165 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
2answers
549 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
212 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
126 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
353 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
101 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
438 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
852 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
1k 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
369 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 ...