The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
121 views

how to replace embedded “full” sized images within a post with the “large” ones

There are hundreds of posts having "full" size images already published within post content. Blog contributors have uploaded very large image (some like 3000px wide) files, by design these were ...
-1
votes
1answer
33 views

add if statement to the featured image

I have a featured image. I want to add an if statement to the size. For example, if the featured image height exceeds 500px I want to add something. Is that possible ?
0
votes
2answers
102 views

How to display a sized image from Simple Fields repeatable field

I'm using the Simple Fields plugin (http://wordpress.org/plugins/simple-fields/) and am having the hardest time creating a slideshow from a repeatable field group. I've tried piecing everything that I ...
1
vote
3answers
167 views

How to resize images due to container width automatically server side/without CSS

Does anyone know how to resize the served images, so the image has a width due to the content containers width. I do not mean to resize the image via 100% width css, but instead resize the actual ...
0
votes
0answers
23 views

Is it possible to print kb size of an image attached to a post? [duplicate]

Trying to find a way to print kb size of an image attached to a post. Has anyone an idea how to do this?
0
votes
1answer
85 views

Update Attached Image Size after Import

So I just exported all the data from one version of site, and imported it into a new version of that site (using the WP Import / Export options). I selected the box to download all attachments as ...
1
vote
1answer
131 views

Wordpress Media Library showing wrong preview size?

When uploading new (or existing) images to the media library in Wordpress 3.6.1 the preview generated on the admin page/edit media page (eg. wp-admin/post.php?post=8736&action=edit ) is showing ...
0
votes
1answer
53 views

How to disable thumbnail filter for a specific template part or image size?

I am filtering post_thumbnail_html in my theme to modify the output of my image tags. I have one template part that I would like this filter not to apply to. It uses an image-size that is used no were ...
0
votes
0answers
47 views

How to set a Maximum Image size to a Field in WordPress

I have a customized frontend form in WordPress that allows to set a featured image to a post before publishing it. I want to set a maximum-allowed "width" as well as a "height" to the "upload image" ...
1
vote
1answer
55 views

Adding custom image sizes and post types to a plugin or to a theme?

I'm just getting started but want to play around in the right area practicing for a new personal site/theme. Part A: I want to add featured images (and a few new image sizes) to a blog portion of a ...
1
vote
0answers
179 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
0answers
30 views

different image size in home

I have the home page in two columns and images of 312×100. The problem is that, when you go the category page, you see the list of posts but the images appear with sizes like the home, with 312×100. ...
0
votes
0answers
85 views

Fill thumbnail images instead of cropping

My template shows thumbnails as square images. Currently, cropping is enabled. Problem is, when I upload i.e. 1000x200px image, with some label (e.g. "EXAMPLE"), only "MP" will be displayed in the ...
0
votes
0answers
46 views

Load complete image, but don't bother the site speed

I designed and developed a site for my client. For images, I used the default WordPress sizes: original, large, medium and thumbnail (although I made some minute changes in their dimensions). As I ...
1
vote
2answers
3k 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
0answers
86 views

Full sized images in RSS Feed

On my WordPress site all my images from all posts are using a width of 630px (with a full width of 1280px). For obvious reasons on my site I only display the 630px version and the user can click on it ...
0
votes
0answers
187 views

Full size image option removing problem

I have removed the Full size image option from the media upload window see Code: function theme_t_wp_set_image_size_options( $sizes ){ $sizes = array( 'thumbnail' => 'Thumbnail', ...
0
votes
1answer
517 views

Display post thumbnail in foreach loop

I am trying to display a thumbnail in a foreach loop. The thumbnail is a new image size I have added called "plant-thumb". I have all the desired elements displaying properly except for the thumbnail. ...
1
vote
1answer
71 views

Can I force all uploaded images to be reduced in quality?

There is a blog where high quality images (300KB at 800x550) are being uploaded and embedded at Full Size. Wordpress will just use the exact uploaded picture when you embed at Full Size. This makes ...
2
votes
1answer
458 views

Resizing only featured images while uploading

I was taking a backup of my wp-content folder. But when I noticed size of uploads folder. I was astonished and each image used in my blog had 5 copies with different sizes in that folder. All these ...
0
votes
0answers
40 views

wp_get_attachment_image_src match smallest edge

I'm trying to get the minimum image source that fills the given size. wp_get_attachment_image_src(get_post_thumbnail_id(), array(180, 180)) gets the image which fits the size and not which fills it. ...
0
votes
1answer
87 views

Image resize using url parmater

I would like to resize image in my wordpress template using url parameter. Best example for this would be Wordpress's very own twenty Twelve theme. Following is link to image with width parameter in ...
0
votes
2answers
78 views

How to get the image sizes, in a function, as per the sizes mentioned in the media settings?

I'm making a custom function for my WordPress site. function mediumFeaturedImage() { if ( has_post_thumbnail() ) { ?> <a href="<?php the_permalink(); ?>"> <?php ...
1
vote
1answer
90 views

Change image size when inserting Media?

When you insert media with the media upload, it will generate images of several sizes according to the media settings. But sometimes I only need thumbnails. Other times I only need medium images. If ...
0
votes
1answer
43 views

How can i alter the amount of different images sizes being stored?

For a custom plugin i am using WP's media-uploader. How can i alter the amount of different image sizes being stored? At the moment the theme uses 5 different image sizes and for my plugin i only need ...
0
votes
2answers
242 views

WordPress keeps resizing my 947x947 image down to 500x500 (full-size option)

This is driving me crazy. The code for the image is: <img src="MYLINK" /> Yet it keeps resizing my image down to 500x500 from 947x947. How do I fix this? Also, it disregards the image map I ...
0
votes
1answer
236 views

How to use getimagesize() of image upload?

I need to check the resolution of an image I want to upload via media box, and then upload it into a custom directory. As a starting point I used part of the code from How Can I Organize the Uploads ...
1
vote
2answers
166 views

Why won't these imported images show up?

I recently imported posts from another WP install, and everything seemed to go smoothly - except in specific cases where images are placed into a Post with the dimensions in the url. For example...we ...
0
votes
3answers
697 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
124 views

Custom image sizes are not used

I recently launched a new theme and regenerated all the thumbnails with AJAX Rebuild. All of these custom image sizes are defined in my functions.php as well as the individual template files in which ...
0
votes
1answer
7k views

How can I add a 'Click to Enlarge Image' feature, with the enlarged image opening in a popup?

I have several images of UI forms and tasks, that are quite large. I would like to display a smaller, 'thumbnail' image snf give the user an option to 'Click to Enlarge', and then display the fill ...
3
votes
2answers
187 views

Filter what image sizes get generated

I'm looking for a way to chose what images sizes get generated by image. With all the image sizes I have plus a lot of images, in the end I have a whole lot of server space being used up for nothing. ...
0
votes
1answer
419 views

Thumbnails Not Generating

Ok, So this is a weird issue...WordPress doesn't generate thumbnails, I have my image sizes set and everything...I'm pretty sure it's related to my custom posts type code (see below) because when I ...
0
votes
1answer
162 views

Custom image sizes ignored in WP 3.5

Since migrating to WP 3.5 I discovered that my custom image sizes get ignored - whenever I try and output one of them WP just defaults to the original image instead. Kind of frustrating... Any idea ...
1
vote
2answers
610 views

Is it possible to reduce image filesize on the fly (when users enter my website)?

The main problem here is about too large file size of image not image re-sizing My wordpress website is like a web gallery which contains many images. Initially, I just uploaded hundreds of images ...
0
votes
1answer
117 views

Custom image size doesn't work

I'm developing my own theme. I'm trying to remove the default WordPress image sizes medium, large and full. I also want my own image size, vividflow-full-width. I'm using this Sumtips tutorial. At ...
1
vote
1answer
513 views

Image size filtering in Media uploader according to custom post type

I have three different custom post types which require an image upload in the admin post edit page. Each type has its own image size setting. Let's say: 'news' type => picture size required: ...
1
vote
2answers
189 views

Dynamic-Image-Resize Plugin does not output anything

I'm having trouble using the "Dynamic-Image-Resize" plugin by "Kaiser Franz Josef". In my template I'm adding following code: $imgsrc = wp_get_attachment_image_src( get_post_thumbnail_id( ...
0
votes
2answers
347 views

Are seven additional image sizes are too many?

I am developing a theme which uses different image sizes. So I will be adding 7 image sizes, are they too many? Could that break anything like the image size selector, other parts of the interface or ...
0
votes
1answer
140 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: ...
2
votes
1answer
3k views

No Thumbnails Generated

I setup WordPress on my own server and it's up and running...one thing that I have noticed is that WordPress doesn't generate any images I upload. Usually when I upload an image through WordPress it ...
1
vote
1answer
33 views

How to recognise on which site the content is being rendered?

I've created a child theme basing on twenty twelve. Since I present the content a little bit different on home and on the archive page, I'd like to know inside content-[format].php on which page the ...
5
votes
2answers
401 views

Retina images - custom syntax for inserting images into post content

I am currently in the process of building a responsive real estate WordPress theme and I'm figuring out how to properly add support for HiDPI screens. I decided to use a JavaScript solution ...
0
votes
1answer
853 views

Large image upload size (using timthumb.php

I seem to be having this issue with all of the images on my site. First I optimise a .jpg in Photoshop to approx 100k (it's a large header image), then I upload through Wordpress' media uploader as ...
0
votes
1answer
263 views

Use full size images in a specific gallery

Thumbnails are displaying as 100px however the full size is 130px which is what I want. I want this only in one specific gallery. Also would like to link each gallery thumbnail image to an external ...
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
2answers
429 views

How to get image name, mime type, width, height, file size from post custom field?

What I need is some function to echo file name of image used in post like "image-file-name.jpg", or just "image-file-name". Also it would be great to be able to have even more information about image ...
0
votes
2answers
228 views

the_post_thumbnail('medium') still gives thumbnail-size img

All the sources mention this as if it worked. Medium size is set to 635x194, but I still get this out: <img width="100" height="100" title="fjaril" alt="fjaril" class="attachment-thumbnail" ...
1
vote
1answer
2k views

How to scale image with equal width and height without distortion?

I have a section on my frontpage that querys through recent posts and grabs the title and thumbnail of each. In my functions.php, I've specified a width and height for the thumbnail using: ...
4
votes
2answers
1k views

Set JPEG compression for specific custom image sizes

I use various custom image sizes (by add_image_size) and I have set my JPEG compression to 30% with this filter: function jpeg_quality_callback($arg) { return (int)30; } add_filter('jpeg_quality', ...