The image-size tag has no wiki summary.
0
votes
1answer
12 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 ...
-2
votes
0answers
21 views
Show 4 Last post That Only Selected Featured Image [closed]
i want show 4 post Only have thumbnail image in front page. Please Help Me!
0
votes
1answer
182 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 ...
0
votes
0answers
13 views
Show custom image size when all I have is the image URL
I'm using the Types plugin for a client's project and they want to output some gallery images as thumbnails which link to the larger versions.
The problem is the full size versions are MASSIVE (I ...
1
vote
2answers
39 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 ...
4
votes
2answers
231 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
3answers
68 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
119 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
1answer
133 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: ...
0
votes
0answers
46 views
Uploading Image to post type image fails
I am trying to upload a image to a post and everything works successfully except the image keeps coming up broken, like the image is not uploading correctly. When I go to look at the image in the ...
0
votes
0answers
18 views
Edit Media: Apply changes to specific size only
In the Edit Media (edit image specifically) box, you can crop, flip, rotate, among other things. On the right sidebar, there is an option to
Apply changes to:
All images sizes
Thumbnail
All ...
1
vote
2answers
76 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( ...
3
votes
1answer
40 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
44 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
0answers
43 views
WordPress media uploader does not give me image size options
I want to upload images with the add media button inside my page editor.
Now when I upload an image, WordPress gives me one option for the image size:
"full size (120px x 60px)" when infact the image ...
0
votes
1answer
76 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 ...
2
votes
3answers
1k 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
3answers
989 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( ...
3
votes
2answers
547 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 ...
0
votes
1answer
74 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
98 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
54 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 ...
0
votes
2answers
87 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
62 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:
...
0
votes
1answer
78 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
31 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 ...
1
vote
1answer
142 views
Automatically replace original uploaded image with large image size
As our users regularly upload ~6MB images to use on the website (and aren't too familiar with how to resize them first), WordPress stores the originals as well as resizing them to several different ...
2
votes
5answers
2k 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 ...
0
votes
1answer
341 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
293 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 ...
0
votes
2answers
110 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" ...
0
votes
2answers
145 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 ...
2
votes
2answers
109 views
How to set the width and height rule for featured image
I want to know how to make rules to re-size the images for featured image? I am uploading an image in featured image section but it is not cropping the images in exact width and height for all the ...
1
vote
1answer
335 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:
...
3
votes
1answer
291 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', ...
3
votes
2answers
250 views
Adding a custom image upload size and making it selected by default?
How can I add a custom image upload size with a width of 550px and make it selected by default in the Add Media page?
Currently, there are 4 sizes available: Thumbnail, Medium, Large and Full Size. ...
7
votes
2answers
1k 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 ...
5
votes
3answers
6k 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 ...
0
votes
1answer
51 views
How to get default image sizes attribute
How do I get the height and width of default image sizes? I am not talking about custom image sizes, which can be retrieved from get_intermediate_image_sizes(). I want to get size attribute for ...
0
votes
4answers
432 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? ...
3
votes
5answers
827 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 ...
1
vote
2answers
277 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
vote
1answer
98 views
Resizing Images for a Gallery-Plugin?
I'm currently working on a gallery plugin similar to the one found on Posterous. I'm needing all images in the gallery in a very small thumbnail-size. Probably only 50px wide.
What's the best ...
-1
votes
2answers
239 views
With get_the_post_thumbnail I want the image to be 100% wide
I have a WP site whose center column is variable width.
I would like the featured image to appear front and center - 100% width. If I hard code the image path using a plain old image tag with ...
1
vote
1answer
50 views
Difficulties setting a maximum image width
Currently I have this written in my functions.php:
if ( ! isset( $content_width ) )
$content_width = 560;
If I understand correct, this should re-size a relatively large image (1024x1024px) to an ...
0
votes
1answer
370 views
How do I retrieve an image's width and height using Advanced Custom Fields?
Using a get_field('sampleImage'), how would I go about in order to get the image's width and height using the ACF plug-in? I need to be able to print out the img tag with width and height attributes ...
6
votes
1answer
332 views
Changing JPEG compression depending on image size
Short. I want ''large' images compressed by 90%, and 'medium' to be by 60%. Has many af you know, sometimes larger images suffer from high compression, but other small images don't.
This function ...
5
votes
1answer
1k 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
0answers
30 views
How do you alter the default WordPress thumbnail?
I have selected 'thumbnail' under 'Apply changes to:', however, nothing seems to happen in either the media library or on the site. I've also tried regenerating the images after making changes, but ...
2
votes
0answers
294 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 ...
