0
votes
1answer
22 views

How to get cropped thumbnail source for custom post type

I need thumbnail image url with size 148*148px. I using custom post type for testimonials. I need just the image source like http://example.com/demoimage.jpg. It is possible to get cropped image ...
1
vote
0answers
19 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 ...
0
votes
0answers
21 views

Why are my 'medium' images the wrong size

In my media settings I have: Thumbnail size 131 x 87 Crop thumbnail to exact dimensions: yes Medium size 260 x 1000 Large size 560 x 800 But the_post_thumbnail('medium') outputs an ...
3
votes
1answer
60 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 ...
0
votes
1answer
82 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'=> ...
1
vote
0answers
138 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 ...
0
votes
2answers
27 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
2answers
99 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 ...
0
votes
0answers
155 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
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 ...
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
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
1answer
140 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...
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
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 ...
0
votes
2answers
130 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
1answer
476 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 ...
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 ...
0
votes
1answer
51 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
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 ...
-1
votes
1answer
329 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
722 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
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?
0
votes
1answer
267 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 ...
2
votes
1answer
1k 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 ...
5
votes
2answers
869 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
1answer
552 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
526 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 ...
4
votes
2answers
747 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 ...
1
vote
3answers
2k 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
753 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; ...
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
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
822 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 ...
0
votes
1answer
390 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 ...