Tagged Questions
0
votes
1answer
45 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
77 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
85 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 ...
0
votes
2answers
112 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
339 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:
...
2
votes
1answer
971 views
Convert uploaded PNG to JPEG automatically
Is there a way to convert automatically uploaded PNGs to JPEGs and keep the original? In other words, let the user upload a PNG, but show in wordpress (thumbnails, large, medium, etc) the JPEG version ...
2
votes
1answer
114 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 ...
8
votes
5answers
818 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
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
816 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 ...
7
votes
1answer
511 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 ...
6
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, ...
3
votes
1answer
334 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
...
2
votes
1answer
1k 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, ...
3
votes
5answers
832 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 ...