Questions tagged [images]

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

0
votes
0answers
12 views

srcset for images does not work

I have a web store and I recently updated the theme of the site, when I see the images of the store were not displayed, inspecting in the browser console I realized that the image in "src" was correct,...
0
votes
0answers
21 views

Compressing thumbnails

I am in the process of setting up a new site, and I would really avoid using plugins more then necessary. My problem now are media sizes. I am alsways compressing the images I upload beforehand, but ...
0
votes
1answer
21 views

Wordpress is showing blank lines instead of images

I have just installed wordpress and it is not showing images/themes. I have tried wordpress on another device completely and it still shows this , please help. UPDATE : i have added a additional ...
0
votes
2answers
27 views

wp_download_url() for dynamically generated image

I'm trying to download images from external sites via api (newsapi.org) and use those as thumbnails, using wp_download_url. Although it doesn’t work on so-called dynamically generated images, e.g. ...
0
votes
1answer
21 views

Images not showing on site - Even though they are there

I've got an issue that I really can't figure out. My site is here and as you can see two images from the top of the header are missing. The main image that isn't showing is this one If I open the ...
1
vote
0answers
21 views

Default Image Link Type Setting not Working

I'm trying to set my site so that when I upload an image to a post, by default it links to the attachment. I tried: in [siteurl]/wp-admin/options.php , setting image_default_link_type to attachment ...
0
votes
0answers
17 views

Remove special characters from filenames

I have a website that i transfered recently from one host to another. Unfortunately when i did that, i noticed that all the images that had special characters in it lik (é, è, à, ...) weren't showing ...
0
votes
1answer
22 views

Why is my site still showing insecure icon even if I have SSL certificate?

I have a Valid SSL certificate. My home page, About page, and Hire Page are insecure. I have found out my images on those pages are requesting and accessing an image from HTTP. I used Plugin, every ...
0
votes
1answer
16 views

How to create interactive charts on WordPress?

I want to create a responsive website using WordPress, and the website will contain interactive charts. I am deciding on what graphing libraries (e.g. python plotly) or analytics tools (e.g. Sisense, ...
0
votes
0answers
12 views

Function to make black and white favicon

I use this function: function add_favicon() { $favicon_url = get_stylesheet_directory_uri() . '/images/icons/admin-favicon.ico'; echo '<link rel="shortcut icon" href="' . $favicon_url . '" ...
0
votes
0answers
12 views

Missing image in media library

I have uploaded image in Wordpress media library. It is not showing in media library. But I checked in wp-content there have uploaded image. right now what can I do?
0
votes
0answers
17 views

Delete product image using WooCommerce API?

I'm trying to remove product image (one at a time) using WooCommerce API but I'm facing a strange problem. I can remove all associated image at once by sending an empty array in images: { images:[] } ...
0
votes
0answers
9 views

DPI in galleries

I was always told that for web work, 72 dpi is fine for photos. That was back when LCDs were themselves 75-100 dpi. We now have "retina" displays however that are 200-250dpi. If someone is viewing a ...
0
votes
0answers
13 views

Automatically associate the product image with the SKU

I manage a website that references more than 40,000 products. We used WP ALL IMPORT to import the products (more than 48h of import), and we had problems with images that are not imported while they ...
0
votes
1answer
20 views

Changing default img html markup but not in admin back-end?

Based on some posts on Stack and ACF forum I've created code for changing default img html markup for lazyload script lozad.js. It's works great, but works also in admin back-end. I was trying to use ...
1
vote
0answers
14 views

Force media library editor to overwrite the original filename?

I use the WP All Import to bring in images and stock info via XML into my store. However some of the images that come from a 3rd party system are rotated wrong. If I rotate them manually in the media ...
0
votes
0answers
21 views

RSS media:content image to Featured Image

I can see lots of plugins and solutions for embedding a featured image into an RSS feed, but what I want to do is take an image that has been embedded in a feed and make it a featured image when the ...
0
votes
1answer
15 views

Images not displayed in Media Library inside elementor template

I am trying to display the images in the media library inside the elementor view. When I try to upload files programmatically, the file is uploaded but not displayed in the Media Library grid view. ...
0
votes
0answers
7 views

Gutemberg image block adding link to homepage

We recently started using Gutemberg on a website we are slowly changing. Everything seemed great, until we noticed that the image block is adding a link to our homepage on every instance, even though ...
0
votes
1answer
17 views

Only show first image in foreach loop

My loop shows a list of values, and underneath them, the post title and image for the value. The problem is that because some values are associated with multiple posts, multiple images show up. I ...
0
votes
0answers
8 views

Removal of image space on Woocommerce product page

I have managed to remove the product image on a single product page. But it has left a huge white space. How can I remove the whitespace? and link for reference...
0
votes
2answers
22 views

Images are randomy deleted from server

I've got a bizarre problem with a website I'm working on. Recently, when anyone uploads images to the site, some time later (maybe an hour, sometimes several hours) one or more images disappear ...
1
vote
1answer
23 views

Fallback for missing srcset images

I'm trying to optimize responsive images on our site. We use WordPress. Not all image thumbnails are generated because of aspect ratio needs to be proportion to the original image. Some of our images ...
0
votes
1answer
26 views

Images 404 after wp migration to a subdomain

Hello guys I have just cloned a website I am having an issue. In the clone there are just a handful of images that work. All the others appear as broken images in the front-end. When you try to ...
0
votes
0answers
19 views

Having difficulties with themes

I currently am using the twenty seventeen theme and I ran into an issue with my pictures. They look great when I scroll but when I click on for example the about, the picture overshadows the content ...
0
votes
1answer
16 views

Get list of posts from attachment

My gallery has dozens of images. Next to each image, there should be links to the posts attached to that image. (You can see these in Media Library, under "Uploaded To"). I am able to retrieve the ...
0
votes
3answers
92 views

Show taxonomy list with taxonomy images ( SOLVED)

i have a taxonomy list in the home page made with https://wordpress.org/plugins/wp-categories-widget/ plugin .. i crated image field for taxonomies with ACF. i can show tax image on archive page but i ...
-1
votes
1answer
14 views

Support Gallery link to pages

Hi i am new in wordpress i am try to show small gallery (like services) on home page and i want them to link them with pages not with post. currently i am working on theme. it has a services option ...
0
votes
0answers
13 views

I changed the template for WooCommerce product for category image (Category and Taxonomy Image plugin) but the image is still not displayed. Help!

I am trying to display category image instead of text on my product archive, but looks like something does not work. I am using Category and Taxonomy Image plugin (https://sl.wordpress.org/plugins/wp-...
0
votes
0answers
14 views

Teaser Image Shortcode Link [closed]

I'm using the following code which is a image teaser shortcode used within my theme: [tg_teaser columns="one" image="http://blah.com/image.jpg" title="title goes here" align="left" bgcolor="" ...
0
votes
0answers
16 views

Adding button to the image block with custom functionality - gutenberg

Hi, I would like to add custom button with custom functionality to this view. Is it even possible? I was searching all night, finding solutions how this can be done. But without luck. It needs to be a ...
0
votes
1answer
14 views

Plugin for an interactive image? [closed]

I'd like to make an interactive image like this one, so when a visitor hovers over that circle, some text dialog pops up. Does anybody know any WordPress plugin that could do that or atleast something ...
0
votes
0answers
23 views

Export wordpress image ID based off keyword search

I would like to know how to go about exporting a load of image ID's based off the image name. For example 'how to dig gold' search may have a load of images like how to dig gold.mp4001.jpg how to ...
0
votes
1answer
29 views

All Images not calling alt text

I am having trouble with the alt text on my wordpress.com website. I am using a theme I coded myself. From what I recall, if I added alt text to an image in the Media Library it would insert into the ...
0
votes
0answers
18 views

Upload image in the library doesn't show up and return 403 forbidden

When I try to upload image directly in Dashboard->Media->Add new, the image is uploaded in the upload folder but is not visible in the Media->Library and on the console I see 403 Forbidden when ...
0
votes
1answer
10 views

I can't load my images from a js file using wp_localize_script

I am using a slider to show my images that works fine on my sit but when I converted my site in to a wordpress theme it started giving me troubles on loading the images, slider is active but images ...
0
votes
0answers
21 views

Set Post Thumbnail to external URL

This question is with regard to feature images on WooCommerce product post types, however it should probably apply to any post type. I am running a custom script to create new posts (of type product) ...
2
votes
1answer
18 views

Can't access 'Store uploads in this folder'

I have had a problem uploading images from my laptop onto wordpress. Basically, the images are broken and cannot be viewed when implemented on the site. After trying to rectify the problem through ...
0
votes
0answers
26 views

Post images are not displayed in media library

I use an image for a page that is uploaded back in 2014 up until now and back then I uploaded few images as well. But when I looked into the library, I could only find the images that are uploaded ...
0
votes
0answers
23 views

link not working in image section

Hi in my site paintint there is an interior designer section under slider whenever I put a link to that image like this link it adds /v after any link automatically: https://paintint.com/interior-...
-1
votes
1answer
23 views

How to display multiple images in the before and after plugin?

As the title says, I need to know how to add multiple images in the before and after plugin, The plugin allows me to add two images only, Is there is anyway to display multiple images with prev & ...
0
votes
0answers
36 views

Images names not inserting in Wordpress Database from Dynamic Add / Remove fields

I have created dynamic add / remove fields in which one is file upload fields. Everything is working fine. But there is one problem. When I add images in file fields and fill other details in other ...
0
votes
1answer
12 views

(Divi): How to make Wordpress load images of specific size for Blurb modules on given page with a funciton?

I have 28 pictures uploaded to media library, each around 3mb. Wordpress has already created resized copies of those: thumbnails, medium and large. The pictures are used as Divi's Blurb module images ...
2
votes
0answers
15 views

How to change ID of an attachment in wp_posts and its related tables correctly?

I have two posts in my wp_posts table where post_type='attachment' The picture below shows the records related to those in wp_postmeta table I need to change the IDs of those files. What I am doing ...
0
votes
1answer
16 views

Change background image page header overlay for each category

this is my site: http://styleofchamp.com/ and I'm trying to change the background image page header overlay for each category. I have been looking at many forums but I didn't get with the correct ...
0
votes
0answers
17 views

Private Custom Post Type for a Blog? [duplicate]

Just wondering if anyone can point me in the right direction please, it may not be possible - but just thought I'd ask incase. I currently have a marketing website for a school campus, within that ...
0
votes
1answer
29 views

Clear out old images, any advice?

I'm working on a site which has a media library that is now 7GB - and I really want to clear out all the unused images. I've tried using the Media Cleaner Plugin: https://wordpress.org/plugins/media-...
1
vote
1answer
26 views

Hero image cropped at different dimensions

I have a site with a hero banner image. This is how it looks on desktop: This is how it looks on mobile (via Chrome Dev tools): As you can see, the image on mobile is too narrow, I want it to look "...
0
votes
0answers
13 views

How can I add links to posts and pages using a particular image from its own media attachment page?

I have various media attachment pages e.g. https://www.artobatours.com/rock-art-abric-del-mas-den-ramon-den-besso-muntanyes-de-prades-catalonia/ where I have the image and some exif data. Along with ...
0
votes
0answers
7 views

Wordpress5 with Gutenberg no showing images in Preview

I have finally updated to Wordpress 5, for fear of things breaking. Now I have, and images are now showing when I Preview, there is no code there at all for images. It's like Wordpress is not even ...