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
0answers
16 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
41 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
15 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
70 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
16 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
112 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
38 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
18 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
98 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
15 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 '...
2
votes
1answer
73 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
32 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
278 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
26 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
40 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
48 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
26 views

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

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
20 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
55 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
17 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
33 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
20 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
48 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
41 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 you)...
4
votes
1answer
180 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
vote
0answers
92 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
295 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
28 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 ...
3
votes
1answer
101 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
14 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
25 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
21 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
26 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 . '/admin/images/default....
0
votes
1answer
57 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. ...
0
votes
2answers
34 views

How to modify images during upload

I'm developing a plugin, and, each time a user uploads an image in the media library, I'd like to modify metadata of this image. I have tried with the hook "wp_handle_upload_prefilter" but it seems ...
0
votes
0answers
54 views

Multisite wrong image paths front end

I'm working on a Wordpress multisite using subdomains. Everything with both sites working fine except for image paths on the second site. The images show fine and have correct paths in the media ...
5
votes
1answer
107 views

Add image size where largest possible proportional size is generated

I'd like to add an image size where the resulting image will be the largest possible size while retaining a 4:3 aspect ratio. Suppose I've added an image size like so: add_image_size( 'cover-image', ...
0
votes
0answers
35 views

Image rendering on mobile

I helped a friend with a template of a blog recently, and her readers have problems with image quality on mobile devices. Thing is, some are experiencing it, and some not. Is there any way I can fix ...
0
votes
1answer
79 views

How to get image URL from media_sideload_image?

I upload external images for media library using following way. $new_image_url = media_sideload_image($new_url, $post_ID, $title); This method return complete img src tag or 'src' for the image URL....
1
vote
1answer
20 views

how can I put an image in a post with original size

whenever I put an image into a post, it always appears in smaller size than original, only after clicking on the image it opens in full size, how can I manage to post original size images in post?
0
votes
0answers
17 views

Multiple Images from a Featured Image (ie, additional product photos)

I need help coming up with a solution or even deciding if it is possible. I would like to provide multiple images (closeups) of a featured image (large one) as detail photos... without having to ...
1
vote
1answer
67 views

Error uploading images (but the images are at the server!)

I have a huge problem with images with a size greater 1MB in my website and I really need some help. If I try to upload an image with a size greater 1MB in my Media Library I get a generic error ...
0
votes
0answers
364 views

Uploaded images appear broken in WP 4.4

After upgrading to WordPress 4.4, any images we upload using Add Media appear as broken in the Media Library. We're using HTTP, not HTTPS. I have tried: Chmodding to 744 /wp-content/uploads/ and ...
7
votes
1answer
104 views

Prevent WordPress from adding image' title automatically

I wrote a plugin that set default title for all non-set (empty) titles and leaves the titles set manually (non-empty). The problem is when I upload new photos (to gallery), WordPress by default set ...
2
votes
1answer
42 views

WordPress is Inserting images into Post as HTTP and not HTTPS

I've logged into my site in HTTPS and I'm editing on a specific post. I've dragged an image to the edit window and am now inserting an image. The thing is WordPress is inserting the image as HTTP ...
1
vote
1answer
30 views

Replace image caption with its title and description

Is it possible to replace the caption text of an image with its title and description fields when inserting it in the editor? If so, how? Thanks in advance
1
vote
2answers
53 views

Set Post Image Using Shortcode

How can I set a post's featured image using the content of a shortcode? For instance, the following shortcode should set the post's featured image to the image at www.google.de/nicepic.jpg: [...
2
votes
1answer
54 views

Getting Images from theme's directory in pages

Yes, I know that we have get_template_directory_uri(); in referencing to the theme's directory. It's working when I put the following code inside index.php or in header.php: <img src="<?php ...
0
votes
2answers
45 views

Images showing in editor but not in post [closed]

Images are showing up in the editor, but not in the post. What's weird is that on initial page load, the images flash into existence and then disappear with a broken image icon. Here is an example ...
1
vote
2answers
363 views

Fuzzy Images in Wordpress 4.4

I've got a problem with my site, newly uploaded images are uploading/displaying blurry. I think this has to do with the 4.4 update and responsive images... how can I fix this, or disable responsive ...