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)

0
votes
0answers
18 views

Deleted media library images return broken image even after reassigning correct image

I use Genesis as well as Easy Recipe Plugin. Versions all current as of 3/17/16. In Media Library I deleted a number of images previously used in my recipe posts. I then updated featured image and ...
-2
votes
1answer
30 views

Want to show pop up image on home page every time when i refresh it [closed]

i want to show pop up image on my home page when i open my site. And when i refresh the page it should appear again as a pop. I could not find such plugin. Is there any plugin for it ?
0
votes
0answers
23 views

Add text to wp_get_attachment_image_src

I am calling the thumbnail image this way: <?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array( 300,300 ), false, '' ...
0
votes
1answer
33 views

Weird encoded error when using wp_generate_attachment_metadata()

I'm AJAX POST-ing images to Wordpress from another server and using a script to upload them into the Wordpress file system. I get a strange output/error for the AJAX response, which I've narrowed ...
-4
votes
1answer
25 views

How to remove the intro animation which appears during the load up of some Wordpress themes? [closed]

How do you find and delete the code which makes the loading animation at the very start of every page on many wordpress sites appear? Sometimes the animation is a simple loading wheel gif image and ...
1
vote
1answer
48 views

How to output images as figure/figcaption

I'm trying to figure out how to output the WP images from the media uploader as Figure/Figcaption. Using the WP Twenty Sixteen theme the output is figure/figurecaption by default, and searching for ...
0
votes
1answer
100 views

Rewrite inline image markup

Is there a way of writing a function that will replace the standard markup of an inline image within the_content, with a way that moves the size class to a parent container, and a series of data ...
0
votes
1answer
29 views

Upload image in frontend (by author) [on hold]

I want my author to be able to upload an image from front-end and use it as a background for author archive page. Each author will get their own image they uploaded as a background. I am looking for a ...
0
votes
1answer
37 views

add_image_size not working

I am trying to resize an image using either the following code: add_image_size('poster-full', 450, 9999, false); OR add_image_size('poster-full', 450); I need it to be resized widthwise, and height ...
3
votes
0answers
127 views

the_post_thumbnail responsive srcset not populating with custom image size

I am trying to use the new responsive images feature in Wordpress 4.4 but I keep running into a particular problem when trying to use the_post_thumbnail with a custom image size. It seems I cannot ...
0
votes
1answer
11 views

How to stop a post from publishing if the file upload is not a image/gif

This is the code and i want to stop the post publishing if the file is not an image Is this possible ? case "window-image": $format = 'image'; $title = ...
0
votes
1answer
23 views

Troubles with code for upload a image

can someone give me please a code for image upload ? i try many but no one works , this is what i have : $post = array( 'comment_status' => $comment_status, ...
0
votes
0answers
65 views

Image caption in Magnific Popup for images embedded in a post

I am trying to implement functionality to open my post images with Magnific Popup. I have the following script which works fine: add_filter('the_content', 'my_addlightboxrel'); function ...
0
votes
1answer
15 views

How to indent pictures on Wordpress blog? [closed]

I'm new to Wordpress; sorry if this sounds like an obvious question. I know absolutely no programming at all. Here is a blog post so you can see what I'm talking about. See how the picture doesn't ...
0
votes
0answers
14 views

WAMP install acts different than live install when uploading images

I have a WAMP installation of my live site running on Windows 7 using the WordPress WAMP stack from Bitnami. When I try to upload an image file to the WAMP installation, it does not work. I can see ...
0
votes
1answer
37 views

Images in Media aren't showing, not broken

I've recently moved a website from one hosting to another and the website is running in perfect order, but for one issue. All the images on the website that were uploaded from the previous hosting ...
0
votes
0answers
16 views

Get the post body images captions in a lightbox

I am trying to implement functionality to open my post body images with Magnific Popup. I have the following script which works fine: add_filter('the_content', 'my_addlightboxrel'); function ...
0
votes
0answers
25 views

How can I batch rename filenames?

I have one thousand images that were recently moved to Amazon S3 and are being served over CDN. Unfortunately they contain the "+" character, which isn't allowed on the CDN. Therefore I have chosen to ...
-4
votes
1answer
43 views

Slider widget not displaying the caption for images

Here is my code for the slider.The place for a caption will appear blank above the image. <div class="slide-caption"> <div class="slide-data"> <a href="<?php // ...
0
votes
0answers
6 views

to set some background for these image thumbnails

On homepage of our wp site I show thumbnail of product(woocommerce) image, but these images are of different size and different ratio, then thumbnails could look differently. If there is a good way ...
0
votes
5answers
78 views

Cannot access the thumbnails of attachment images… Cannot find the reason

I have a custom form that allows users to make posts and also upload images with it. The images are saved in wp_posts as post_type = attachment with a guid to show the image. Now I have created a ...
0
votes
0answers
32 views

Wordpress Image details extra field under caption

Can I have an extra field on Wordpress Image details under caption ? I have seen a lot of tutorials and code snippets for adding WordPress Media Uploader custom fields but I couldn't find any ...
0
votes
1answer
21 views

Query Image File of a Different Size

I know that when you upload an image to the Wordpress media library, it automatically creates some duplicates of that image in different sizes. I'd like to know how I can return those differently ...
0
votes
1answer
23 views

Trouble with Captioned Responsive Images

I'm trying to make a nice looking captioned image that is centered, responsive, and has a padded border around it. Here is my test page with the things I've tried: ...
0
votes
0answers
16 views

Picture 404 error for all absolute images when moving off localhost?

I recently moved to a server for the first time away from localhost and after changing all of the localhost references in the database and wordpress project none of the pictures uploaded work that ...
0
votes
0answers
11 views

Cleaning up images in wordpress

I`m not technical but need to clean up "unused images" from wordpress (need more space) I checked unattached images but many of these images ARE being used in the form of a gallery or light-box ...
-3
votes
1answer
49 views

Uploading an image as featured image from frontend form

I have built a little form in a frontend page. I want user to create new post in a specific sort of post (listing). All fields are OK but only upload file is not working. Could you please tell me ...
0
votes
1answer
66 views

Different body image backgrounds on different pages, posts and categories

I am trying to implement the ability to choose a different body background image to different posts, pages and categories. I am using Advanced Custom Fields to add an image field to every post, page ...
0
votes
0answers
13 views

media_handle_upload adds unnecessary extra records in wp_posts

So I created a form to have a user create or edit a post: title, metadata and an image. I use this to update the title: $my_post = array( 'ID' => $post_id, 'post_title' => ...
-1
votes
1answer
21 views

Is there any SEO impacts on unattached vs attached images for a post in WordPress?

I usually bulk upload images to the WordPress Media Library and then add them add them in post, it remains unattached. Is there any specific SEO impacts on unattached vs attached images for a post? ...
-1
votes
1answer
42 views

How to force regenerate thumbnails in Wordpress posts?

We recently changed themes. The new theme uses different dimension thumbnails and I was a bonehead and deleted all previous thumbnail sizes. Deleting the thumbnail sizes results in many of the images ...
0
votes
1answer
70 views

srcset and custom field get_post_meta and wp_get_attachment_url

I would like to use the new wordpress 4.4 function srcset with an image which comes from a custom-field like this <img src="<?php $bigimg = get_post_meta($post->ID, 'bg_file', true); echo ...
0
votes
1answer
28 views

Can wp_get_image_editor convert to icon?

I have a very simple question regarding wp_get_image_editor (https://codex.wordpress.org/Class_Reference/WP_Image_Editor). I can crop, resize and save an image like this: $image = ...
1
vote
1answer
26 views

How to replace images?

I seem to have a problem with editing and replacing images in Wordpress. Do they automatically replace the image if it has the same file name or is a new file name(copy) always created? Also if I ...
0
votes
0answers
19 views

Bulk change size-full to size-medium in all posts

Is there any way I could change image sizes in my posts? After migrating from Joomla, they are all in size-full and are very huge. I would like to change them into size-medium and pick the correct ...
0
votes
2answers
27 views

Images not displayed when moving site to local

I set up a local environment to customize a friend's WP blog. However almost none of the images are being displayed. The remote site's URL is http://sitename.com and my local virtual host is ...
1
vote
1answer
33 views

Is it possible to prevent users from uploading small images?

Is there a way to prompt an editor whenever they try to upload an image smaller than 350px width? Essentially rejecting any image uploads that are smaller than 350px width? Thanks
1
vote
0answers
335 views

Why isn't “background-image: url”working with Bootstrap carousel on WP?

When I made a Bootstrap carousel in plain HTML it was working just fine, but when I pasted the code into Wordpress the carousel is completely white. It's not a problem with the path because it will ...
0
votes
0answers
31 views

featured image rss feed in a category

I want to get the featured image in my RSS feed in a specific category. With the principal rss feed mywebsite.com/feed , I have no problem. Featured images are displaying. When I want to create a rss ...
0
votes
1answer
21 views

How to put images into theme from server folder (not from media library)

I'm trying to put image files into an images folder inside my theme, and display them on the page, but I'm getting the broken image icon. When I copy the file location from the server folder and try ...
0
votes
1answer
14 views

Images Wont Display After Importing From Old Wordpress

The images in my posts are not displaying, but when I click them, they display perfectly fine. It seems like the issue is the actual image is: ...
0
votes
1answer
51 views

How to display alt tags in img src?

I'm working off a custom theme which they entirely left out including the alt tag in the img source. Here is an example of the code: <img src="<?php echo get_field('image')['sizes']['large']; ...
1
vote
0answers
27 views

Using custom image resizing script in a page

I am using the aqua-resizer to create custom image sizes and cropping. However, I am also using a theme with a built-in page editor and module-based layout. I am able to get the aqua-resizer script ...
0
votes
1answer
62 views

wordpress images not showing properly

Images are not visible properly in the media library after caching them from my other website. The featured image is also not being set. However the images are showing up on the front end of the ...
1
vote
0answers
26 views

automatically set “Featured Image” the same as the og:i that is set in a custom field

I currently have a site that uses the "custom fields" feature to set the value of the meta property="og:image" for each post. All of my og:images are stored on an external server. I'm looking for a ...
2
votes
0answers
40 views

Pb with responsive image sizes in WP 4.4

I don't understand how to customize responsive sizes images in WP 4.4.1. The only available hooks that I see are wp_calculate_image_srcset and wp_calculate_image_sizes, and neither has the named ...
12
votes
1answer
171 views

wp.media.view.ImageDetails - Save settings as HTML5 data-* attributes for image

What I finally want to achieve are extra settings added to the Image Details box, that will be stored in the image <img> tag as data-* attributes Example: <img src="..." ...
1
vote
1answer
34 views

Why would image paths in wordpress suddenly change?

I'm using the Everglades WP theme, and have had no issues until suddenly I found all the images have different paths in the browser. Where they are: ...
1
vote
0answers
14 views

Fixing image names for a site being restored

Fixing image names for a site being restored The WordPress site went down last week and is being restored. When a image(image1.jpg) was uploaded a week ago using the back-end of WP, it likely was ...
0
votes
1answer
36 views

Limit dimensions of “Full” size images

Is there a way to limit the dimensions of the full size uploaded image (made normally through the Media library)? I have clients that upload huge images files with resolutions sometimes greater than ...