Images are used in different ways by WordPress.You can use a theme with images in layout, place images within your post/page content, display images next to visitor's name called avatars etc

learn more… | top users | synonyms (3)

5
votes
2answers
5k 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.
8
votes
4answers
647 views

Add image size if page template

I'm building a members website with WordPress Multisite. Is it possible to restrict how many images are being generated depending on the selected template? I have tried the following lines of code ...
0
votes
0answers
25 views

How to make categories display corresponding post with a list of image thumbnails and a title under it?

So my goal is to have my website display each recipe category, when clicked on, direct you to a display with all the recipe post that go with the category you click on. I want the display to be neat ...
0
votes
0answers
36 views

Custom image size in the_content loop

I changed the default image dimensions for the "large" thumbnail and re-generated my images using a plugin. The new image size is only shown on new posts created after the image size was created. How ...
-1
votes
1answer
33 views

WooCommerce-like featured gallery

I want to create a gallery similar to what WooCommerce does using multiple "featured image"(s). I have searched and searched, but i cant seem to find any solution to this (not even a thread covering ...
0
votes
0answers
21 views

custom field multiple images

i want to add custom field with multiple images. Like when create a field with type 'file' but it only selects a single image but i want to select multiple images and save those images in database. ...
0
votes
1answer
25 views

How to have a specific image show up for everyone who comments?

How can I have an image I created be a avatar for everyone who comments on my wordpress posts? So it will have my logo or something instead of a blank square? Thanks!!
0
votes
0answers
21 views

Gabfire Widget Image Too Small

I have an issue with an updated widget on Wordpress. I have a sidebar Widget using Gabfire's Widget Pack which is running version: 1.4.4, Wordpress: 4.1.1 and Theme Patterns which is also up to date. ...
2
votes
2answers
147 views

Why are images uploaded to main domain, when using multisite with different domains?

I am using Worspress Multisite feature, where I have two domains: lkrnac.net -> main domain handysvandy.net -> secondary domain Not using any special plugin to handle multiple domains. In Network ...
0
votes
1answer
308 views

How to watermark wordpress images from wp-content/uploads folder with htaccess and php?

I have a Wordpress website, due to some limits i need to have originals of the photo at the serverside, but watermarked ones on a frontend and with direct opening of the photos. I'm using Frontend ...
4
votes
1answer
86 views

Custom post type Admin Page

I've got a custom post type that is going to be showcasing images that users have submitted, at the moment, check the images that users have uploaded is a boring task – I have to go into each post, ...
0
votes
2answers
29 views

WordPress login page logo customization

For some reason the first code works. But the second does not. And I can't figure out what is wrong with my syntax. background-image: ...
0
votes
0answers
20 views

Why doesn't Wordpress make thumbnails for videos?

I noticed videos in the media gallery always show as an icon preview (unlike files in a file manager, which show a thumbnail.) Considering that WP integrates Imagemagick, which apparently can extract ...
1
vote
1answer
37 views

Can we have an 'Update metadata' button in Image Gallery for all image instances?

{Note: This question is a followup of this one.} It is possible to implement the following: In WP go to Media | Library and select an image. The 'Attachment Details' window appear. We have there ...
0
votes
0answers
23 views

How might one programmatically set the link for all images in all posts?

Every post on my Wordpress site contains at least one image (in the content, not as an attachment). Each post also contains a custom field with a URL. I'd like to programmatically modify all posts ...
1
vote
2answers
92 views

How do I change the description of the same image which is to be found in multiple instances?

We have the site from http://asceticexperience.com/ Feel free to dig the site in order to understand our question below. Of course, any feedback appreciated :-) but my main question is the ...
0
votes
1answer
74 views

Find posts without featured image? [duplicate]

I need way to find post(s) without featured image set. I use WP as gallery site and for every post I set featured image. I wish to check if there is any post(s) without featured image. Any code to ...
-2
votes
1answer
60 views

Best Photoshop-Wordpress workflow for editing images without re-upload [closed]

When I have images uploaded to Wordpress, there is no way for me to flexibly edit these images. For example, let's say I want to add a colored overlay over an image that has been uploaded to ...
0
votes
0answers
39 views

Custom function to add a secondary logo

I'm looking to create a custom function in order to be able to change/load a new image from the "customize" panel (this because I won't be the one who manage the website, so I'm trying to made things ...
0
votes
1answer
82 views

Image thumbnails not available post migration, but still accessible via direct URL - DB issue

To start with, I'll just clarify that this appears to be a different issue to the numerous migration ones already covered. In short, I've migrated my site to a new domain (both in root, no directory ...
38
votes
2answers
56k views

How can I add an image upload field directly to a custom write panel?

I've added a new page under "Pages" in the wordpress admin, and added several custom fields. I'd also like to be able to add an upload image field to the page editor - is there some way to do this via ...
0
votes
1answer
52 views

Capitilize Alt/Title Tag in Image HTML, Reorder HTML Output

Someone kindly wrote the two pieces of code at the end of this post for me a few years ago. I'm currently trying to modify them but am not having much luck after an hour of Googling and breaking ...
0
votes
0answers
56 views

Plupload on Safari (iphone) not working

I am not sure if it is a common problem, but could anyone confirm that plupload (image upload) works on the Safari on iPhone? It does not work on my iphone 6 Safari, but works fine on Chrome. ...
0
votes
1answer
36 views

What are the benefits of setting a “featured image” for a WP blog post?

I read about the WordPress "featured image" feature but I didn't understand the benefits of it yet. Does it change the blogs theme layout or is it just used for the blog post layout?
0
votes
2answers
25 views

Inserting image into post with different image size

I have a custom WordPress theme that I have made myself. When I insert an image into a post I only get the option to add the full size image (see below screenshot): In Settings > Media I have a ...
0
votes
1answer
33 views

Custom theme - how to link the image without posting it

im creating a custom theme for wordpress 4.1.1. i had encounter a problem with adding a media (an image) to a post. When I choose an image via the media library, i select it but i only have the ...
0
votes
1answer
114 views

how to put image and text on same line [closed]

trying to image and text on same line but images always stand up little bit above after posting my article.But while my post in draft is,the image is not rebellious What could i do to arrange images ...
0
votes
3answers
47 views

Images give 404 after changing default domain

Never encountered this issue before. So I've just moved a site for a client to another server and for some reason all images give me a 404 when I change the default domain in the database (siteurl and ...
10
votes
6answers
3k 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 ...
0
votes
0answers
17 views

Uploading thousands of images easily from an existing album/subalbum structure into same

Having looked and not finding an answer, I'm asking the wizards. I'm creating a WP site with approx 1500 posts about heritage sites, sites of which I have tens of thousands of photos. I manage the ...
1
vote
1answer
575 views

wp_get_attachment_image() not working when trying to add with and height attributes

I am using wp_get_attachment_image() to try and output an img tag with width and height attributes. Here is my code: $thumb_src = wp_get_attachment_image( $id, 'thumbnail', false, array('width'=> ...
0
votes
0answers
74 views

Add title and description attribute to image caption shortcode

I need to add image titles and description meta data underneath each image I insert into pages or posts through the media button. I believe the easiest way is by creating a function for the ...
0
votes
1answer
11 views

Specify which image sizes are created on a per image basis

I have a custom post type that requires different image sizes than other posts. Right now the images are added via wp_insert_attachment, a thumbnail set via set_post_thumbnail, and images are resized ...
0
votes
1answer
36 views

How do you import images from a URL in your post?

I am looking to automatically set the featured image from a URL, I have a plugin that creates new posts and has a link back to the source website, I would like to be able to scrape that link for an ...
0
votes
1answer
29 views

Show Image Size as Dragging it Larger or Smaller

I've searched everywhere for this, but no luck! I think I must be hallucinating. I thought previous versions of Wordpress displayed the size of the images in the visual editor as you dragged them to ...
0
votes
0answers
334 views

Reduce Mobile Image upload size (wordpress)

Just a quick question about mobile image upload size. I am using WP user frontend pro to upload images from both desktop and mobile. Using the mobile when the "image" button is tapped, an user can ...
0
votes
0answers
33 views

Ugly picture rendering wordpress [closed]

I have a really highres picture. I use wordpress to build a website. Now, when I use the "fullscreen slider" with the picture, it displays beautifull! However, if I use a "color section" and set the ...
0
votes
1answer
298 views

Redirect Image Url to a page via htaccess

I am trying to redirect Image Urls to a page. I have used 301 Redirection plugin, but that doesn't seem to work. For ex : http://mywebsite.com/wp-content/uploads/2015/02/Contestant-11.jpg should ...
1
vote
1answer
28 views

Upload box media size not working

I recently downloaded wordpress 3.5.1 and installed it on my website. This should be the website that is launched in the air. On the demo site when i click on Add Media and want to change the image ...
0
votes
1answer
66 views

Upload images using FTP and show them in media

Hello, This weekend one of my websites was hacked and all photos was removed (the folder uploads). That means the images in my site doesn't work. :( I had a backup of that folder and I have recovered ...
0
votes
2answers
33 views

Logo on the tab

I would like to add a logo on the tab of my website (e.g. Wordpress logo which appears on all pages' tabs of Wordpress) How and where can I upload my image? Thank you for your help,
0
votes
0answers
20 views

CDN issue with custom image shortcode

please read the full question before downvote this question. In my theme my developer uses a shortcode for adding image in a custom post type named portfolio. Everything is good and working fine, ...
0
votes
0answers
29 views

Images name = post slug

I am stuck at finding a way to rename images while I uploading them to my post. For example: If my post slug is wordpress-stackexchange, I want my images name will be changed automatic to ...
1
vote
1answer
373 views

Related posts with images

I need to show the thumbnail size images (not featured thumbnail) from the posts on the "related posts", code below: Thumbnail size (the images you insert into the posts from Media library) -vs- ...
1
vote
1answer
65 views

Overwriting Parent Theme's Image Sizes

I'm using Raw by UDTHEMES as a parent theme for a site I am working on. In the parent theme, there is the following image size: add_image_size( 'udt-full-width-image', 870, 490, true ); And I am ...
13
votes
4answers
7k views

How can I make add_image_size() crop from the top?

I have a series of posts, all with featured images, but I need to be able to customise the crop top right corner. In this instance, I need them to be cropped from top right, but it would be useful to ...
0
votes
0answers
37 views

Custom metabox for multiple images gives a JQuery error saying a function does nog exist

I have a script that creates a custom metabox and makes it possible to upload multiple images to one page post. It gives me no error but the console tells me this: TypeError: add_field_row is not a ...
0
votes
1answer
51 views

Gallery with shortcode not showing

I've created a gallery in a static page of my wordpress site, like this: [gallery type="rectangular" ids="129,13,126,34,130"] This page has ID=63, so I'm trying to display this gallery in my ...
0
votes
0answers
346 views

Pass php to database in JQuery: With AJAX?

I have this plugin that adds a metabox to the post-page screen to upload multiple images. This works great however I'm missing one option. I want to add that function to the metabox. The problem is ...
0
votes
1answer
14 views

Display images with same specific value?

I'm trying to make a slider for my website, but I'm a little bit stuck right now. The thing is that I don't want to use any plugin (I prefer to try to learn how to do this, and also most plugins have ...