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

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Product with variations doesn’t show variation image

We have a number of products with different variations (colors). Every variation has its own image in Woocommerce/Productpage. However, when selecting an other variation, no other image is displayed ...
0
votes
1answer
19 views

Best way to allow overwriting images shipped with the plugin?

my plugin ships with certain images that are shown in the frontend when using the extension. The images are good, but in certain circumstances the website owner might want to change it. What's the ...
0
votes
1answer
13 views

change the h3 subtitles of the wordpress gallery shortcode

When I create an image gallery in a WordPress entry with shortcode [gallery] and put their titles on them, they appear in H3 Any way to change them to be on h4? Example of a gallery image created in ...
0
votes
1answer
12 views

Unset image sizes before images are uploaded

I would like to unset image sizes before uploading images that are not meant to be featured images. Right now I have a clunky workflow where, whenever I upload images, I comment out the custom image ...
0
votes
1answer
14 views

How do I stop an Image Address from loading in the Browser?

Ultimately, I want to be able to disable the Right Click option across a website I am working on. I have managed to disable this across the Blog Content and all of the Images that appear within the ...
0
votes
1answer
29 views

How to force Wordpress to upscale images?

I have a bit of a problem with my Wordpress images. I want to force Wordpress to upscale images, so that the preferred add_image_size is always available. I'm adding the sizes as follows: //Theme ...
0
votes
1answer
15 views

Why doesn't WordPress use the smaller sized image?

I've been trying to understand how WordPress picks images to use depending on the size of the user screen, but I've been unable to figure it out. Is it just by checking if the request is coming from a ...
0
votes
0answers
10 views

Plugin to track last time an image was loaded [closed]

I'm currently looking for a plugin that could track when was the last time an image was loaded and given to a visitor. Here's the big problem. I've got a client that has a website of events. So every ...
0
votes
0answers
32 views

Wordpress Twenty Seventeen header image size not responsive for mobile

I'm currently working on a website in wordpress. I've been struggling with this problem for a while. At the first the header image was too big even for computer. I managed to make it shorter using ...
0
votes
0answers
10 views

Uploading bulk product images to wordpress through CSV

I want to upload product image to Wordpress, but the main problem i am getting is i am using images from external website and the issue i am getting is. For example i want to upload 2 images i am ...
0
votes
0answers
40 views

I need to register and resize images, safe to delete plugin afterwards?

I need to register a new particular size of image for my site, something I can do like this: add_image_size( 'custom-size', 220, 180 ); However, I will need to resize previous images. I can use a ...
0
votes
0answers
18 views

Hover Image Effect – Change Image

I am trying to adjust images in Wordpress so that they display a different image on hover. The code for my image is as below; <figure class="wp-block-image size-large"> <img src=...
1
vote
1answer
12 views

Can an image have more than one parent_post?

i insert the same image into more posts. that mean the image have more parent_post? How do i know the image is attached or unttached?
1
vote
1answer
29 views

How can I restrict image upload dimensions for non-admin WordPress users?

I want to restrict the dimensions of images uploaded by anyone who is not an administrator in WordPress to a specific size. I also want to return a specific error feedback when the image uploaded ...
0
votes
2answers
18 views

adding fade on mouseover to images

I'm a teacher and I have been using blogger for years, but a couple of days ago, I decided to switch to WP and opted for premium plan. I'm not a designer, but am able to do basic things (adding ...
1
vote
1answer
13 views

Isolating images in uploads not used/recognised by Wordpress

I am looking at a website which has a lot of images in the uploads folder - but these images do not appear to be used by Wordpress and do not exist in the media files. It does appear that the original ...
-1
votes
0answers
14 views

Need Suggestions for a way to present 2000 photos on WordPress site

I have a client that has around 2000 scanned letters that they want to be able to share with their community. They have requested a password protected page with a gallery of all the scanned images. ...
1
vote
1answer
25 views

Get the post ID and display the images

So I'm making a website divived in two parts, one is for the text, and the other part is for the images. What I'm trying to do, is to display the specific images belonging to each post. I'm also using ...
0
votes
0answers
21 views

Displaying all the images from all of my articles

I'm trying to replicate that codepen but using php wordpress. Basically I want my blogpost images displaying in another div and it changes every time you select another menu. Thanks for the help. Here ...
1
vote
0answers
11 views

Delete large original image files (Bulk)

The new way of handling big images introduced in WordPress 5.3 leads to a nice reduction in traffic but doesn't offer any savings regarding storage space (usage of server disk space). A customer ...
0
votes
0answers
9 views

Class parameter in get_avatar args doesn't get added to output

I try to add custom class on get avatar in comment walker get_avatar( $comment, $args['avatar_size'], '', '', array('class' => 'myclass') ); But class doesn’t show in source code. Thx Edit : ...
1
vote
0answers
29 views

How to prevent WordPress scaling large images down

I've tried the following code in the active child theme's functions.php to prevent the large digital print JPGs from being scaled down, but it didn't succeed: function remove_all_image_sizes() { ...
0
votes
1answer
16 views

Disable posts generated from image uploads

WordPress generates a post for each image I upload. On my site I got a picture assigned to the header: https://autowaschplatz.at/contact/. The image is separately browsable via https://autowaschplatz....
0
votes
0answers
15 views

How to create multiple posts with embedded images?

Here's the problem I want a quick way to create multiple blog posts with embedded images My current process goes like this Create post -> Create block -> Insert image link -> Remove header -&...
0
votes
0answers
9 views

Featured image on mobile is shown as mini thumbnail

I recently got a problem with my website on mobile phones. The featured image for all of my posts are shown as thumbnail sized pictures, but the correct size is shown on laptops. I am not sure how to ...
0
votes
1answer
46 views

Why does wordpress generate more thumbnails than the 3 standard sizes?

If I upload an image in Wordpress, it usually generates more images sizes than what I have indicated in my settings -> media (small 150, medium 300, large 1024). For example, if I upload a 4K image,...
0
votes
0answers
14 views

Auto Generate Thumbnail

I wanna make soft corp of the thumbnail so that use the other plugins to that image corp. There is plugin I use , "Regenerate Thumbnail", after regenerating then there still old files exist. ...
0
votes
1answer
31 views

How to stop Wordpress from completely overriding my <img> tags in my templates?

I'm busy with a Wordpress theme and in some templates I use images (like home.php). I do the calculations for the srcset and sizes for every template/image individually and store the urls and values ...
0
votes
1answer
36 views

Images not loading on webpage, and links to other media give 404 Not Found

Had some recent problems where to start with only homepage text was visible, all other pages/links gave 404 Not Found. Now managed to get pages to function but all images fail to load, plus links to ...
0
votes
2answers
24 views

Assign custom class to post content images

Is possible to assign a default class to the images that are part of a post content? I have a problem with teh layout, this because the attached images insetred inside a post will break my bootstrap ...
0
votes
1answer
12 views

What sense makes medium_large_size_h => 0?

WP Version 5.4.2 There is an image size definition of medium_large with size_w = 768 and size_h = 0 - You can find it near line 530 of wp-admin/includes/schema.php: // 4.4.0 'medium_large_size_w' ...
0
votes
0answers
16 views

Wordpress Multisite: Images moved to /sites/1?

I noticed that my older images are no longer getting resolved by Wordpress 5.3.4. - the file doesn't exist on that path and 404 gets returned. For images that were originally uploaded to https://www....
1
vote
1answer
34 views

Add instructions to featured image

How do you add instructions to the featured image field (see attached screenshot) - something like: "recommended dimensions - H980px by W450px"..?
0
votes
0answers
22 views

Tiny MCE image alignment and manual resizing

I'm searching a solution to remove the differents possibilities of alignment of images in TinyMCE editor in Wordpress and remove the manual resizing by mouse. I already done the last one with this in ...
0
votes
0answers
24 views

Pictures randomly replaced by blue question mark

My pictures are sometime replaced by blue question mark On the devices that have already visited my website, some pictures are randomly replaced by blue question mark. (first time visitors usually don’...
0
votes
1answer
12 views

Loading and Referencing Images

I'm slowly writing a page to manage an asset database; effectively, writing a very basic plugin. I want to import photos and found some excellent examples of how to do this and, made it work! My ...
0
votes
0answers
12 views

Default link for new inserted image

New version of WordPress sets for the new added image default link to none. I wonder to use some lightbox wich needs to image be with link to media. There is no setting for now, how can i customize ...
0
votes
0answers
23 views

Update specific user meta with same meta key and multiple array values

I have stored some image data as array values in user_meta with same key as "images". I would like to update and delete that image data in that array. But the meta_key as same so i can't ...
0
votes
1answer
31 views

Image text wrap not working properly on frontend

I've been tearing my hair out trying to get this fixed. I can't figure out what's going wrong. It looks fine in the Visual Editor (though I usually use the text version instead - and NEVER use ...
0
votes
0answers
6 views

How to automatically resize featured image?

I'd like to automatically resize the feature image so that large ones will be displayed fitted in the screen? I really have no idea how to begin.
0
votes
0answers
19 views

Convert posts that contain 5 or more images to a gallery with prev-next button automatically without any shortcode usage or additional task for editor

I need to convert any WordPress post with more than 5 images to a gallery. Is this possible with any function.php or single.php manipulation/tweak? When I did this, all my existing and future posts ...
1
vote
1answer
45 views

Why does Google Image Search still display my images?

I am having trouble with a few image files that I would like to block for Google Image search. I am using Yoast SEO Plugin, which allows me to directly edit the robots.txt file. A few people with ...
0
votes
0answers
10 views

Images not filling up a full gallery page - gaps left at end

I'm having an issue on a portfolio gallery page at https://www.petrabishai.co.uk/collections/attachment/ In this particular gallery there are a lot of images so they flow over onto a second page. For ...
0
votes
1answer
12 views

wp_insert_attachment() dupplicate attachment posts

I made a function to add an image in WP and attach it to the right post. The specificity is the input is an url to get the picture. My problem is when wp_insert_attachment() is run I got a dupplicate ...
0
votes
2answers
22 views

How to echo images Urls from a wordpress post, that are relally in the post

I have a question. I use the following code to output the image URLs of a wordpress post. The image URLs are related to the "attached images" of a wordpress post and not the ones that are ...
0
votes
1answer
25 views

large image size of 1440x1440 not pulling 2x of 2880x2880 image

I have updated the large image size to be 1440px by 1440px on Wordpress, however it only pulls 2048 for the 2x. I have created a 2x size of 2880x2880 and have also updated 2048 to be 2880x2880 however ...
0
votes
0answers
9 views

Images not displaying on an e-commerce website

what can be done when a wordpress website does not display images except when clicked on? The image placeholders display grey and not the images. Thanks.
0
votes
0answers
9 views

Use custom header image on child page

I have created a theme for wordpress in which each page can be customized with a different header image. By default you set a custom image for the whole site, but depending on customization you can ...
0
votes
0answers
7 views

New Button for “one-click” pics edit with ImageMagick

After uploading a picture, you get the attachment page with the "Edit" button. How can one add another button there that fires an ImageMagick command. In my case it would be to make the ...
1
vote
1answer
48 views

How to install Imagick or resolve issue

I am running Site on Wordpress latest version. when I do Site health Check it gives me following errors, The WordPress Hosting Team maintains a list of those modules, both recommended and required, ...

1
2 3 4 5
67