The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
886 views

resize images not crop

Looking for a hack to resize images on upload (all forms of image uploads on wordpress) to exact dimensions, but not to crop. I will open a bounty for this question since I believe It can be of help ...
2
votes
1answer
159 views

Why are extra 92 pixel square thumbnails created?

Disabling this WordPress feature which automatically generates various sizes of an uploaded image, is normally as simple as going to WordPress Dashboard > Settings > Media screen and changing all ...
10
votes
5answers
2k views

Minimum Dimensions Requirement for Featured Image?

I am creating a baseball website with multiple Authors. From past experience, no matter how well you know someone personally, it doesn't mean they will follow or even read your instructions. That ...
2
votes
3answers
2k views

Showing a placeholder/default img, if no featured image is set

I need to modify the following code to show a placeholder if there is no featured image available. I understand that I need to add a if statement in the following code but wasn't sure of the exact ...
0
votes
2answers
2k views

Page speed error: “serve scaled images”

I made a test on GTmetrix.com and I got a pretty bad grade regarding the Page Speed (D or F). The worse error is the following: Serve scaled images (grade F): some image URL is resized in HTML or ...
1
vote
1answer
273 views

Get the bare URL for an attachment

I'm trying to get the link to the thumbnail size of an attachment image. I tried this: wp_get_attachment_link( $img_id, 'thumbnail' ); but it returns the actual HTML for the image wrapped in a ...
0
votes
3answers
2k views

How can I get a different image size, if all I have is the link?

For various reasons, I can't use Wordpress' built-in Thumbnail functionality. What I want to do instead is to use the first image in the post as the thumbnail. Here's what I found in the codex: Show ...
0
votes
1answer
428 views

changing the default picture size link url

when i'm inserting a single picture thumbnail from the gallery with a link to the original picture, it gives me this: <a ...
8
votes
1answer
900 views

How to disable generation of default image sizes for some custom post types?

I used custom post type, where 'thumbnail', 'medium' and 'large' sized not required. I need to disable this sizes and create function or plugin, where i can set, which image size is required for each ...
0
votes
1answer
133 views

A little confused as to what add image size actually does

I have a call to add_image_size like so: if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails' ); } if ( function_exists( 'add_image_size' ) ) { ...
7
votes
1answer
2k views

How to Dynamically Resize WordPress Image On-The-Fly (custom field/theme option)

So - at a client's request, I am in need of being able to resize an image not the standard WordPress way... but from an image pulled-in from a theme option. I can't simply use the custom_header area, ...
1
vote
2answers
700 views

How to get a list of all the possible thumbnail sizes set within a theme

What function can I use in a plugin to get the dimensions of every image size (in an array preferably) that is defined in a child theme? Just for clarification I am not asking how to create a new ...
1
vote
1answer
789 views

How to remove attachments size attribute [duplicate]

Possible Duplicate: Prevent Width and Height Attributes in Image Tag Output i would like to remove the width="512" height="128" attributes on an attachments this method is fine on images ...
5
votes
1answer
2k views

Set default image sizes in WordPress to hard crop

How do I set the medium and large images sizes in WP to hard crop? In my theme I can set the thumbnail size to hard crop using this: add_theme_support('post-thumbnails'); set_post_thumbnail_size( ...
2
votes
0answers
315 views

Attachment 0×0 size error [closed]

My theme uses 8 different thumbnail sizes. I imported my local installation to the final server using phpmyadmin to export the wordpress database. Everything is smooth except for the attachments: many ...
0
votes
1answer
708 views

Image resizing - TimThumb vs convert on upload?

I'm using jQuery Supersized to display a full screen background slideshow on my blog, and I'm using mobile detection to serve a smaller version of the images to mobile devices so it will load faster. ...
0
votes
1answer
88 views

Best way to receive special images in posts

Okay, this is what I'm thinking about (and it's not a coding problem right now, but my fundamental thoughts): How to receive / input images in posts for special uses, let's say a customized portfolio ...
0
votes
2answers
708 views

How to Resize the Custom Post Images?

am Having Custom Field named as thumb.i want to show the images using these custom fields.i want to be fix the image size. My code is <img class="thumb" src="<?php echo ...
7
votes
2answers
3k views

How to Require a Minimum Image Dimension for Uploading?

I need a way to restrict authors from uploading a images bellow a specific dimensions. Say I only want to allow uploading images that are at least 400px x 400px. If the image size is smaller, the ...
1
vote
2answers
699 views

Set Maximum Width for an uploaded image

I want to restrict the width to a maximum of 600px for images uploaded using the "full size" image option in WP posts/pages section. I've tried two methods: Method 1: Adding the following to ...
0
votes
1answer
54 views

Plugin that will let me specify a number of image sizes?

I've designed a grid-based portfolio theme for a photographer; for each portfolio item, I need six different images, all of which have a fixed size. However, no two sizes are alike. Is there a ...
2
votes
5answers
3k views

Media gallery - inserting full size images without link

I want to use built-in WP media gallery. I'm trying to simply add images in one - horizontal line. I want images with original size and without any link. I'm trying to add/edit some code into ...
1
vote
2answers
193 views

Large size image breaks template layout

If I upload a large size image inn my wordpress, the image breaks my template width. I have seen some templates which scale the large image's width to the maximum width of the post div. What CSS or ...
0
votes
1answer
675 views

Slidedeck Pro Wordpress Image Size

I was using Slidedeck pro wordpress (dynamic slider), and set it to pull in the first image from the post's gallery as the image. However, it keeps resizing the image down to 270px when I really need ...
0
votes
2answers
394 views

Change the avatar ratio?

Is there any way to change the aspect ratio of the WordPress Avatars? Or is this hardcoded? Greetings, .wired
4
votes
1answer
463 views

Featured image with the same height thumbs returns wrong thumb

I have 2 sizes thumbs for featured images with the same height: 300 x 200 540 x 200 I've checked the uploads folder and both thumbs with different sizes appear correctly: file_name-300x200.jpg ...
1
vote
1answer
824 views

Wordpress Fancybox Resize Large Image

I have a wordpress users that aren't very good at resizing images so when they upload an image to wordpress it's still big > 3000px. They can import into a post and a thumbnail is generated. When ...
4
votes
1answer
636 views

How to resize images in wordpress without adding any compression or changing the color profile of the images, possible?

As you can guess from the title, Im looking for a solution that allows me to alter the way Wordpress processes/saves its newly created images according to the media settings in the dashboard. This is ...
3
votes
3answers
763 views

Reducing image size in RSS only

Is it possible to reduce the image size of WordPress rss feeds parse to feedburner? Meaning to say I still want to retain the large image size on the original post page but only display the ...
3
votes
2answers
3k views

How to delete outdated, wrongly sized images in _wp_attachment_metadata?

I've got several custom image sizes for my blog. One of these is setup as add_image_size( 'slide', 640, 290, true );. These are used in a header slideshow. My problem is I've upped the dimensions of ...
1
vote
1answer
852 views

Media > Image Sizes aren't being applied to uploads

Under Media Settings I edited the Image Sizes to the following: Thumbnail size: 170x80 Medium size: 550x170 Large size: 550x320 ("Crop thumbnails to exact dimensions" is checked) Maximum embed size: ...
1
vote
1answer
100 views

Domain Change with New Image Sizes

I am migrating domains and redesigning the site at the same time. My large image sizes are different than they were before. When I imported the old posts, I had it download all the images as well. My ...
0
votes
1answer
496 views

custom image dimensions (for gallery)

when uploading an image into the mediapool, wordpress will auto-resize it in several dimensions. unfortunately i'm requiring a special format which is kinda between thumbnail + medium. any ideas if ...
2
votes
1answer
2k views

How to create thumbnails with a fixed width, so all of them will have the same width?

right now, a thumbnail will be either 150px in height or in width, depending if it's landscape or portrait. Is there a way to make them always the same width and scale them in height accordingly, ...
10
votes
2answers
4k views

How does WP media uploader create the 3 different sized images, and how can I duplicate it

I have finally!! got this thing I've tried about 12 times to make and 12 different ways, but finally got it to work,... sort of. I made a custom metabox for uploading and attaching images to posts, ...
6
votes
6answers
1k views

Display thumbnail only if requested size exists

When I use the functions that get and output the post thumbnail, they will display the requested thumbnail in the size you specify, but if this size doesn't exist they will display the thumbnail in ...
6
votes
3answers
8k views

Add new image size to media uploader so users can insert into post?

I would like to create an additional size for uploaded images which my users can then "insert into post". I understand that add_image_size() will add a new image size which I can use in my theme, but ...
1
vote
1answer
334 views

How to serve different thumbnails/images depending on users browser/platform

This is a general question to discuss approaches to filtering WordPress image sizes based on the browser/platform (such as a smart phone or netbook or desktop). The idea being that on a mobile we ...
3
votes
3answers
3k views

Resizing all images

I have just changed the theme on my blog, and because of a small page width, it breaks the layout. Most of my earlier images (attached in posts) are around 600px in width, and now I need to resize all ...
1
vote
4answers
636 views

Limit author image size

Is there a way to limit the size (dimensions) of the image a user can upload to their profile? It looks like Wordpress does do some kind of limiting as uploading a 1024x768 image the result gets ...
2
votes
1answer
3k views

Featured Image Size

I am in the process of developing a new theme for my blog and am making a featured content slider. The issue that I am having is getting wordpress to force the image to the dimensions that I want it ...
3
votes
4answers
460 views

Downsizing Many Large Images Attached to Posts, in Bulk?

(Moderator's note: The original title was: "Shrink full size images in post") I built a WordPress site for someone and they entered a ton of posts with images that are wider than the content area. Is ...
2
votes
2answers
1k views

Can Wordpress resize BMP files?

Interesting situation i just ran into. I have a site I am developing in which I have defined specific image sizes I want created whenever a new image is uploaded. Currently lets just say that I ...
0
votes
3answers
376 views

Resizing Uploading Images in Bulk?

I have been running a blog for a friend and over the last months she has been adding insane amounts of images taken directly from a DSLR. Each takes up around 5-6 MB so the site is now slow to load ...
2
votes
2answers
390 views

Importing media medium setting image gallery / image attachments

I have recently imported an image gallery to a clean WP install as I am deploying the site to a live domain. I have imported the posts but the images use the medium size for attachements. I would ...
2
votes
4answers
2k views

Extract & Display the REAL first image attached to a post - extend the_post_thumbnail()

I have an interesting problem which I am sure someone here can solve. I have gone through a bunch of different plugins and code snippets in search for the perfect code to extract a primary image to be ...
0
votes
4answers
518 views

How to limit image size for the entire website ? But without editing the post (css/plugin?!)

I have a post here: http://www.food101.co.il/?p=5993 Where the image is overlapping the sidebar. I wish to shrink the image, but I want something that will do this without me editing the post (why? ...
11
votes
5answers
3k views

Resizing images to the actual size used in the editor?

Is there a way to resize images to the actual size they will be shown in the post? I have users that import a large image and then resize it in the visual editor. This is easy, since they can just ...