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
14 views

Add alt text to image posts using XML-RPC/functions.php

I am using the following part of code to upload images using xmlrpc: $content = array( 'name' => $title.".".$ext, 'type' => $type, 'bits' => new ...
0
votes
1answer
21 views

Custom field as featured image caption

The problem is: My featured image caption is not being shown since it is (still) stored in a custom field (called (wpcf-bildunterschrift). I can easily access the customfield, but not the field that ...
-1
votes
0answers
7 views

Woocommerce Product Image Mass import

I have over 1,000 registered products in Wordpress with Woocommerce, however, none of the products has images. Need to be assigned the images to these products, is there any extension that import ...
0
votes
0answers
17 views

Newly Uploaded Images Don't Scale Properly in Featured Images

It took me a bit to figure out what was going on, but here it is.... When I create a new post, and add a featured image to it, the image doesn't scale properly, like they used to. On the home page, ...
-2
votes
0answers
18 views

How to create a 'colour simulator' image gallery [closed]

I want to create a 'colour simulator' for a client's website, to show how a product might look in different colours. Something similar to this: http://www.designinferno.com.au/colour_simulator.php ...
0
votes
1answer
17 views

No compression occurs on my jpegs after adding jpeg_quality hook to my functions.php file

I'm attempting to perform some basic jpeg compression by using the jpeg_quality hook inside my functions.php file but there is no compression/resizing taking place. I'm only measuring file compression ...
0
votes
0answers
12 views

Elegant way to get image of a certain size from and ACF image array

I'm using WordPress to generate the various sized images on the server. I use Advanced Custom Fields to create the unique fields. I'm currently generating the standard 'thumbnail', 'medium', and '...
0
votes
0answers
12 views

Import images trouble from .XML ( WP ALL IMPORT ) [on hold]

I have trouble importing image with WPALLIMPORT. I have watched WPALLImport tutorial and it didn't help. 1) I drag and drop <Photos> into images section " Download images hosted elsewhere " ...
0
votes
1answer
45 views

How to create a thumbnail with php?

I am creating posts using wp_insert_post(), but these posts do not have featured images. I have a post ID, and a path to the image on my server, how do I set them as the featured image? EDIT : I ...
1
vote
0answers
36 views

Modify 'Sizes' Attribute for Images with Specific Class

I'm ultimately trying to add useful responsive image srcset & sizes attributes to images added in a standard Text Widget. I've found this filter which does allow images to get the default WP ...
0
votes
0answers
20 views

Retrieve a Page's Gallery's Images, With Custom Thumbnail Size and Links to Full Image

Using the following function: get_post_gallery( get_the_ID(), false ) Example: <?php /* The loop */ while ( have_posts() ) : the_post(); if ( get_post_gallery() ) : ...
0
votes
0answers
17 views

Making Image Gallery the Width of the Page [migrated]

I've been trying to find out ways to make the image gallery on my website's front page as wide as the very page itself. As in, I'd like it to stretch from the entire left side to the right side. The ...
-1
votes
0answers
20 views

Woocommerce Product Pages, Hooks, changing page layout [on hold]

I'm trying to rearrange the layout of the product listing below. I'd like the short description to appear next to the product image, rather than below it. Now I know I need to change the hooks in the ...
0
votes
1answer
49 views

Convert canvas to image and upload image to server

I'm working on a wordpress site about blackout poetry for a university project, where the user can blacken parts of a text to create a poem. After the user has created his poem, we need to give him ...
0
votes
2answers
47 views

Disable resizing of gif when uploaded

Animated gifs are getting more popular on the web (again) and currently there is no good tool for resizing animated gifs. So I want to disable resizing/generation of image sizes for the gif mimetype ...
-2
votes
0answers
36 views

Remove fields from the Insert/edit image pop-up?

Is it possible to remove the fields from the Insert/edit image pop-up from the visual editor. I want to remove it as I'm using it on front end.
0
votes
0answers
14 views

Problem uploading multiple images to a custom field in a front-end form

I'm having trouble with a portion of a front-end form that allows users to create posts in my custom post type. I want to create an image uploader that will allow the user to upload multiple images. ...
3
votes
0answers
34 views

Wordpress crops some thumbnails but not others? [duplicate]

For some reason Wordpress is cropping some of my thumbnails proportionately rather than to specific dimensions for some images, and cropping them to specific dimensions for others. I want it to crop ...
1
vote
1answer
25 views

Putting a resized image into media library with wp_get_image_editor(

I'm using wp_get_image_editor() to resize and save an image that is being uploaded to the Media Library. $image = wp_get_image_editor( $newattachment_url ); if ( ! is_wp_error( $image ) ) { ...
0
votes
1answer
29 views

Consolidating two websites into one, but migrated images not appearing in Image Library

I am consolidating two websites (which are on the same server) into one. I copied the images from one website's directory to the other using rsync. rsync -av /srv/www/site1/wp-content/uploads/ /srv/...
-7
votes
1answer
46 views

show hide image script after 4 seconds [closed]

On my homepage I need a javascript/jQuery script to show our site logo image and close it after 5 seconds. Only when user visits the first time our site. No mouseover or clicks needed. Complete ...
2
votes
1answer
108 views

Gallery images titles - get from post

Is there any possibility to make a functions hook, which will automatically override titles of added images (or added during gallery creation) with post title? Just like in the example: - im creating ...
1
vote
0answers
11 views

Catalog Images are sharp after product is visited (Woocommerce) [closed]

My woocommerce catalog images are blurred until I visit product page, than - when I go back to catalog - catalog image (that I visited) is sharp and it has changed dimension from 283.83 x 275.95 to ...
0
votes
0answers
7 views

How to retain image path of “choose file” after wrong form submission?

How to retain the image path of "choose file" after wrong form submission? thanx in advance. I have following code in the input form <input id="image" type="file" name="coupon_image" /> And ...
-4
votes
1answer
34 views

Regenerate thumbnails in S3 bucket

I am running a multisite wordpress website and all the images are uploaded to S3 bucket. I would like to change the template I am currently using with a new one. The problem is that all the old ...
1
vote
0answers
49 views

Wordpress not cropping thumbnails properly

For some reason Wordpress is ignoring my thumbnail sizes and keeping thumbnails cropped proportionately instead of specific dimensions. Here is what I have in my functions.php: add_image_size('main-...
0
votes
2answers
22 views

Newly uploaded images are not updating in featured image

Using the google page speed test I saw that some images were too large and needed to be resized. I used the ftp to download the necessary images, resized them locally, and then used the media upload ...
0
votes
0answers
11 views

Query by attachment image size

Is it possible to use WP_Query to get attachment images by pixel size? For example all images with a width of 500px and height of 300px. Or images with a height bigger than 300px. As far as i can ...
0
votes
0answers
22 views

Wordpress update removes picture or changes pic paths

I have a big problem. I have installed and configured Wordpress, on my test server and then on a live webspace. All was fine, the website went live. After a while, I logged in: And wordpress forced an ...
1
vote
0answers
29 views

Get image from parent category

I am creating a page which shows all post categories and image associated with the categories. Each category has a textbox for the user to paste an image's URL and the page will then display the ...
1
vote
1answer
9 views

SEO - Media File Name Updating

I've been asked to rename my images to better suit what they represent via keywords, for the purpose of SEO. However, I've noticed that modifying the media images name within WordPress doesn't in ...
1
vote
0answers
16 views

Images attached to posts from library link to 404 error page

Just building a theme but I am stuck with attachment images. When I add images from the library to posts (or pages) and link them to the "attachment page" I get a 404 error. The link is like "http://...
1
vote
1answer
22 views

Prevent image upload unless exact size

What I am trying to do is pretty special I think. I am using WC VENDORS PRO plugin. The sellers have 4 upload areas via the front end. They can upload a profile image, a store banner, and product ...
0
votes
1answer
14 views

List sub pages with custom field content converting image ID to URL

I am using the ACF plugin to create static (non-ecommerce) product pages. I am now making a page that lists all the sub pages with product name and the image added to the product_logo custom field. I ...
0
votes
0answers
22 views

Custom fields for media library images

I want to create custom fields for wordpress admin media images. Can you suggest some plugin or easy way to do that? than i want to get that fields at image.php
1
vote
2answers
33 views

How to insert a local image with custom size

I am not very familiar with PHP yet but I am trying to build a Wordpress theme. In one of my theme files I simply want to insert an image (located at the theme directory /img/image.jpg) with a link ...
0
votes
1answer
12 views

Change Wordpress Media Manager

On the previous versions the media manager was like this Newer Media Manager My Question is How can i change to the older version media manager ??
0
votes
1answer
29 views

WordPress PNG compression issue

I'm having issues with images getting badly compressed when uploaded to my site. It's not an issue with photographs, but is very noticeable for images with solid blocks of colour and text. I've ...
0
votes
0answers
9 views

Using a separate image server with WP

I'm interested in figuring out how to use a public image server instead of Wordpress' root image directory for managing media on a new Wordpress site. Background: Client currently runs a blog with ...
1
vote
1answer
27 views

Set spesific size of featured images

I am trying to reduce the loading speed of my webpage. Google PageSpeed Insights tells me to optimize my images. In the following code, how can I set an image size so that if the uploaded image is ...
1
vote
1answer
17 views

How to set the default embed image size

When a user adds media to the WYSIWYG, is there a way to set the default image size to large? It defaults to medium, I'd like this to be "large" without the user having to change the value.
1
vote
2answers
37 views

Add custom HTML to posts page

I want to add a header image via some custom HTML to the posts page but can't edit it with the pages menu in Wordpress. Is there a way to add the HTML in the specific PHP-File and which PHP do I have ...
1
vote
2answers
60 views

Bulk image rotation

I have just uploaded around 70 photos from Windows 10 into wordpress. While all of those photos in Windows are presented correctly Wordpress does not recognize their proper rotation. I may use ...
-4
votes
1answer
55 views

Isotope overlapping .items because of featured images - HELP! [closed]

I need urgent help as I'm having a nightmare with Isotope. All was working well through my desktop server but once live, Isotope items are overlapping (see http://www.skinsave.co.uk/30-2/) How can I ...
1
vote
2answers
28 views

How to add an image from web-link?

I currently have this code from a plugin. [imdbi meta_name=poster] This cache an Image Link, and it simply display the link, I want it to display it as an image. Is this possible?
0
votes
0answers
35 views

Responsive images for Retina ready images?

WordPress uses Responsive Images from WordPress 4.4 reference I have 1 Question & 1 Issue. ​Question​: Can I Responsive Images feature for retina devices??? -> Is Responsive Images uses the ...
0
votes
2answers
22 views

Does the title and description attribute of images ever get shown?

If the answer is case-by-case basis, check out this blog post: http://www.inquisitr.com/3078539/starting-in-west-virginia-bernie-sanders-could-win-8-of-the-next-9-primaries/ Does the title and ...
0
votes
0answers
24 views

Wordpress Invalid image URL when using media_sideload_image

I am using the wordpress function media_sideload_image to upload images from an external link like below: $url = 'http://pinnaclepublic.pinewoodsa.co.za/vehicles/plugins/ViewImage.aspx?guid=...
4
votes
1answer
52 views

How to limit number of images being printer out in “Set Featured Image” pop up?

I have wordpress web site which contains over 150 000 images and when you click on "Set Featured Image" whole server slows down. Another thing is that it take a really long time to load images. Is ...
1
vote
1answer
21 views

Wordpress Child Theme Calling Images

I am using a child theme but it does not display any images. I am reading a book which suggests the following: "There is a difference in calling images from parent themes and child themes: for ...