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)

1
vote
1answer
19 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
0
votes
0answers
18 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
16 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
12 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
13 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
19 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']; ...
0
votes
0answers
21 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
31 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
17 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 ...
0
votes
1answer
33 views

How do I filter an array after I've already created a foreach loop? [closed]

I've written a "foreach loop" to "echo" ALL of the images i've uploaded in Wordpress' media library. However I need to be able to select all the images in a certain folder. (i.e /thisfolder). I ...
2
votes
0answers
21 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 ...
2
votes
0answers
17 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 data-* attributes I am creating a plugin, and I need to create more settings for ...
1
vote
1answer
21 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
votes
0answers
23 views

Cannot Vertically Align Images In WooCommerce [on hold]

I'm making an eCommerce site on Wordpress using WooCommerce. I have many images that will have varying heights and I would like them to be aligned vertically when displayed. Using several top search ...
1
vote
0answers
12 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
19 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 ...
0
votes
0answers
8 views

Media settings image sizes ignored in attachment display settings when uploading image

I know this question has been asked before here; Settings in 'Media > Settings' is ignored when inserting images I tried all suggestions and none of them work for me. I've set the image ...
0
votes
1answer
22 views

get_post_meta returning broken path in image src

I am using a custom field to store the path to an image and then using get_post_meta() to insert that path into an <img> Here is my code: <img src"<?php echo get_post_meta( get_the_ID(), ...
0
votes
0answers
12 views

Web User Selects Image Category

I'm trying to build a website in wordpress where the user of the webpage can select an image category that they want to see (e.g. all images of boats). The user will have a dropdown list or some other ...
0
votes
1answer
33 views

How to include featured image on blog post preview?

I wanted to include the featured image to the blog posts' preview on the front page, however either I get the entire image with the options of cropping some of it off or I can't have any image on my ...
0
votes
0answers
25 views

Compression of original picture during upload?

WordPress compress scaled thumbnails of image during upload, but, original image will be is same quality. I am trying to compress original image too. I wish to make image in original resolution ...
0
votes
0answers
13 views

How to require value for Alt attribute for an uploaded image?

When a user adds an image via the Add/Insert Media dialog I'd like to require the Alt Text field not be empty. Ideally, disable the [Insert Into Post] button and send some type of alert that the Alt ...
0
votes
1answer
27 views

Adding Static Image to WooCommerce Content-Single-Product template

I am trying to add some static images to the single product template in WooCommerce but they are not displaying properly. I am hooking into the woocommerce_after_single_product_summary hook and ...
0
votes
0answers
9 views

How can I stop WP Image Editor upscaling from looking so pixellated?

I know the WP Image Editor is not meant to upsize images, gives a WP_Error if you try, and any time you upsize an image you lose quality - but as mentioned in their source code you can use the ...
0
votes
0answers
9 views

adding multiple images to a post from a csv file [on hold]

I have a csv file that I'm importing vehicle info for a dealership. I'm not sure which wordpress theme I will settle on so I'm experimenting with a few that I like. I'm importing each vehicle in ...
2
votes
1answer
31 views

Get original image from thumbnail URL

I am using a method to find the first image included in a post's content to display as it's thumbnail (a little hacky, but it works). However, some authors add small sized images, and since this ...
0
votes
1answer
19 views

How to use lossless compression with WP_Image_Editor

I am using WP_Image_Editor through the Timber plugin and it's TimberImageHelper class. In my theme code I have: TimberImageHelper::resize($path,$w,$h,$cropArea);, which eventually (after various ...
0
votes
0answers
23 views

Upload Image using wp_insert_attachment and file url don't have file extension

I need to upload an image using $filename = 'www.domainname.com/images/12345'; $filetype = wp_check_filetype( basename( $filename ), null ); $attachment = array( 'guid' => ...
0
votes
1answer
20 views

Embed image in post from external url

Is there a way in Wordpress that I can embed an image to a post when I want to include it like this: <img src="....." /> So I want to add this manually. Is this possible? Now, I get the URL, ...
0
votes
0answers
15 views

Media images not loading on grid mode

I have WordPress installed and during my work i feel that media stop loading images.I tried on grid mode but its not working.Its working fine on list mode.I tried different techniques like enabling ...
-1
votes
1answer
32 views

How do you change all images dimensions to have the same size?

I am trying to achieve this look without going into a photo editing app and cutting and pasting the image to the exact size. I don't mind if half the image is gone as long as we can retain that image ...
1
vote
0answers
16 views

not displaying images in ms edge after move wp to new host [on hold]

I'm not familiar with wp, prefer other cms and codding. I get to move wp site to new hosting. done it. (copy files, create database and copy all, use sql to fix url) but still have problem. under ...
1
vote
0answers
13 views

Altered media sizes (in dash), not updating to existing images/posts

(I have searched but not found a satisfying answer – bear with me). I have a client that has a website with 1500 posts. Each post consists of ONE image, no text. I have changed to the Oria theme ...
1
vote
0answers
19 views

bulk change of image setting “link to” to “link to: image url ”

i want every image present on my wordpress site with setting "link to: none" or "link to: post url" became in "link to :image url" ho make this for old post and for new post ? i tried this code in ...
0
votes
0answers
16 views

Custom Image for Each Author, NOT profileImage - Front end only

I been battling with this issue for months now. Finally decided to ask for help... Stubborn, I know :( I have this WordPress website, where each author has his own profile and edit his own profile. ...
0
votes
0answers
17 views

Upload Image from Custom Field to Wordpress

What do i really need .. is .. for example: I have Custom Field "image_url". I go to google and search for image. I found one. I manually place the direct image link to my "image_url" custom field. ...
0
votes
0answers
15 views

how to add description in custom photo wordpress, from front-end

I have an item block in fron-end, with it i uploud custom images, i want to add short description, that will look like this
0
votes
1answer
31 views

Images on Search results page

Been trying to get images to appear on our search page, but only time i can get the two pieces of code to work it removes all of our sites formatting and style. Am i missing something. :( NEW Code ...
0
votes
0answers
25 views

FancyBox Transitions

If you visit http://www.cube.umbrella.al/minimal/2013/07/25/nokia-lumia-1020-review/ (This isn't my site, but it uses the same format/gallery aspect of my own, its just for demo purposes for ...
3
votes
1answer
105 views

WP 4.4. responsive loads normal image after loading the responsive image

I have the 2 new added sized that I am testing: // testing add_image_size('new-small', 500, false); add_image_size('medium-large', 768, false); // just added today for devices support image ...
-1
votes
0answers
25 views

image gallery popup for image “insert form url”

i want a image popup like lightbox , fancybox , in post , but for image insert with method "insert form url", i tried various plugin but never have a option for popup for external image, exist a ...
1
vote
0answers
35 views

Change logo based on incoming domain

The agency I work for are trying to get a client's logo to change based upon the incoming URL. Now, we have 4 different URLs, therefore 4 different logos. Currently, we are using an if/else ...
6
votes
2answers
141 views

Remove Dimension from wp_get_attachment_image

I am having some issue removing the width and height from my attachment images when using wp_get_attachment_image. This is what I am using to display the image <?php echo $image = ...
1
vote
0answers
11 views

Woocommerce Storefront WordPress Ignore Media Gallery Images and use External 3rd Party Host

OK, firstly we have done this before using Magento and it worked well, but with WordPress? Well, here is the problem and the plan... The Problem For a few reasons we wish to use a 3rd Party host for ...
2
votes
1answer
88 views

Featured image shortcode

Each post currently requires the featured image to be duplicated within the post several times. Is there any way in which I could dynamically call the featured image back into the post rather than ...
1
vote
0answers
12 views

How To Add buttons to the toolbar which appears in TinyMce when you click over images

Using Wordpress 4.4 I need to add a custom button to manipulate images. The button should appear when the user clicks on an image, next to other buttons. An example of the other buttons:
0
votes
0answers
17 views

Edit PHP / “Categories Images” Plugin

I need to upload YouTube videos to one of the folders/categories using "Categories Images" plugin. I know it is designed to create a gallery of images only, but with the way the website is structured, ...
0
votes
0answers
11 views

Automatic Animated Gif Resizing Support

I'm trying to find a way to support animated gifs upload to my wordpress installation and automatically resize it without losing the original animation. I've read some threads about this, there is an ...
0
votes
2answers
19 views

Conflict with single and double quotes

This might be a very silly question but I am losing my hair over this.. So basically, I have the following line of code" 'Default' => '<img src="' . THEMEROOT . ...
0
votes
1answer
36 views

How do you clean a filename after image sideloading a url that contains `%20`?

Right now I'm creating a plugin to sideload images from an external source. The UI allows me to select files on the external server then downloads them via AJAX & media_sideload_image. ...