0
votes
1answer
16 views

Make all images displayed in single.php a certain size

I’m working on a fashion blog with a lot of images. I’ve imported all posts from Blogger to WordPress and it seems to have left me with images which have a size added on to the end of their src: ...
2
votes
1answer
28 views

Custom image sizes only for thumbnails

I solve one problem, I use in template several different sizes of images (add_image_size), but I use them only for thumbnails, it is completely unnecessary to create these sizes for each image ...
-1
votes
1answer
27 views

Is there a Wordpress Plugin like Imsanity that keeps high resolution originals? [closed]

I'd like to show lower resolution photos on blog posts and their previews on the main page, but when clicked upon, they should still link to the full resolution version. Is there a plugin to do that ...
3
votes
1answer
55 views

Image width tag is less than the image pixel width - why?

I have been reading this morning about images uploaded via the Media Library in WordPress and I thought I had understood most of it. But there's something I'm confused about. My understanding is that ...
0
votes
0answers
35 views

Remove inline width and height definitions from post images (single.php)

I have exported around 300 posts out of Blogger and into WordPress. The posts are mostly made up of images as it’s a fashion blog. Everything went great import-wise but the problem is that all images ...
0
votes
0answers
15 views

Generate images according to proportion of original image

I'm looking into if it's possible to generate images with different sizes depending on the proportions of the original image. For example. If the uploaded image has a proportion 4:3 it should ...
0
votes
0answers
9 views

Importing images from blogspot to wordpress

The import process is easy enough and everything is imported correctly. The one thing I can't figure out is how to change what size image gets imported into the posts. The image that gets imported is ...
0
votes
2answers
43 views

the_content() brings the medium size image [closed]

So I have the problem, the image I want to dispaly in post is not big enough and in my preffered size it gets bad quality, then i noticed that is not the default size image returned it's medium size ...
0
votes
0answers
17 views

How do I adjust/remove img widths when embedding posts in a narrower external site?

I have a blog on a PHP site i.e. http://mywebsite.com/blog/ and want to embed complete posts in a page on http://mywebsite.com/ include('blog/wp-load.php'); $post=get_post($postid); ...
0
votes
1answer
29 views

Remove the height limit on wordpress 3.4.2

I have problems when insert images on my pages. I have a image of 1113 × 731 and I upload it to my wordpress, when I go to Add Object popup, the Full size of the image mode is of: 950 x 342. When I ...
0
votes
1answer
84 views

(Dynamically) Decrease the actual image size for downloads

I am using feedburner (give it the url of my RSS feed). Each of my feed item have an image, is there a way to lower the actual image size so that people dont have to download the real size? EDIT FROM ...
1
vote
1answer
30 views

Custom image sizes without add_image_size()

I need a lot of various image sizes in my theme. I know how to add them with the add_image_size() function in functions.php. But those defined sizes will create a lot of files for every uploaded ...
1
vote
1answer
57 views

Change image url size in post editor (when cliking on image)

So I've search during some hours how to change image size in existing post. I know that wordpress create many image with different size (acording to my theme) for each uploaded image. But he didn't ...
3
votes
1answer
54 views

Confused about image sizing business in Wordpress

I'm creating my first Wordpress theme and I've got everything working fine, and by following this tutorial and few others I've understood how to add custom image sizes by using add_image_size() ...
1
vote
1answer
248 views

wp_get_attachment_image_src() width and height boolean

I have the following code in my theme: <?php $size = 'large'; $postimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), $size ); $url = $postimage[0]; $h = $postimage[2] ...
1
vote
1answer
16 views

Wrapping images in tags based on size

I am making a site for a client where all the thumbnails on a page need to be styled differently than regular sized images. Right now I have a snippet of code I found that allows me to wrap every ...
1
vote
0answers
45 views

Scaling an image in a WordPress post

I am currently building a WordPress theme and when I add an image using the add media button, I'm able to choose a scaling percentage to allow the image to get bigger or smaller within the modal pop ...
1
vote
1answer
45 views

Large image size stuck on old value, even for new images

I changed the 'Large' image size in Settings > Media > Image Sizes from the default to max-width 586px. That was wrong, so I changed it back to max-width 1024px. However, the smaller size seems to ...
0
votes
1answer
34 views

Is wordpress compressing my images? if so, how to prevent it?

I am using 'featured image' fields in my post and the images are sized and compressed already but whenever I upload an image that has some text, I keep noticing the image reduced in quality ...
0
votes
0answers
7 views

How can i resize/force every uploaded post image width to be 460 [duplicate]

How do I resize every uploaded post image to be always 460 width by whatever corresponding height?
0
votes
1answer
130 views

Generate fixed image sizes for different pages, eliminate sizes during upload

I've built a few sites in Wordpress and in general I'm quite pleased with all the possibilities it has developed lately. There's one main thing that is utterly confusing for end users; the sizes they ...
0
votes
1answer
82 views

How can i specify the size of the image rendered by the_content();?

I can do it manually like this: echo get_the_post_thumbnail($post->ID, 'large'); But how can i set the size of the image rendered by the_content(); to Large too ?
0
votes
0answers
28 views

How to force attachment size for every post

I created a custom size like this : add_image_size( 'my-size', 615, 9999 ); Is there anyway i can force the ATTACHMENT DISPLAY SETTINGS SIZE to be always ('my-size') for every attachment?
0
votes
1answer
24 views

Does WP create multiple images?

When uploading an image in WP, does it creating multiple sizes (and multiple files) of the image? If so, are they all loaded or just certain ones (which and why)? Meaning, if x images are created ...
0
votes
1answer
203 views

Fallback image size when using wp_get_attachment_image_src / full size compressed image

I am using ACF to pull images using ‘wp_get_attachment_image_src’ as such: <?php $image = wp_get_attachment_image_src(get_field('image'), 'large'); ?> <img src="<?php echo $image[0]; ...
0
votes
1answer
54 views

Exact image sizes

I am trying to define an image size of exactly 290 height x 180 width for all images uploaded to my WP site. I tried updating image sizes under Settings->Media->Image Sizes but these are only max ...
0
votes
2answers
36 views

Extending site width according to the image size

The WordPress theme is for a comic reading site. Since image cannot be re sized because the text will be distorted, I need to extend the site width according to the image size in the post. Here is ...
0
votes
3answers
59 views

Retaining original image size

Since I have a website for Comic reading, if I use reduced image sizes, it will also reduce the text which will be difficult to read. I want to retain the image size. No problem even if it creates a ...
0
votes
1answer
46 views

Adjusting post width according to the image size

I am building a theme for a comic site. It seems some images are bigger than the post size. I need to resize the images according to the Original Image size. Can I achieve this through CSS? It doesn't ...
0
votes
1answer
67 views

Disabling auto-resizing of uploaded images

Whenever I upload a large image, it gets resized to the width of the post. This will be a negative feature for comic reading sites. I need to display the full width images, which I can resize when I ...
3
votes
4answers
606 views

Each custom image size in custom upload directory?

I want to upload my custom image sizes in custom folders. The folder should have the name of the selected width. For example: If I add these custom sizes... add_image_size('custom-1', 300, 9999); ...
-1
votes
1answer
35 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 ?
1
vote
3answers
187 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
0answers
49 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
0answers
205 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
33 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. ...
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
193 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', ...
1
vote
1answer
79 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
478 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
41 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
95 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
81 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
2answers
271 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
261 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
182 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
1answer
131 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 ...
1
vote
1answer
9k 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 ...