All Questions
216 questions
0
votes
1
answer
15
views
Edit Image button disappears when I make WordPress use Imagick instead of GD
Resizing images in WordPress Media -> Library was causing images to lose quality so after searching I found a solution to make it use Imagick instead of GD, I added following code
functions.php
...
0
votes
0
answers
13
views
WP galleries in posts after import. How do I do it?
I moved the website posts with Wp All Export and All import, which worked fine, but many of the posts contained galleries (Wordpresses gallery with [gallery] shortcode). The problem is that now the ...
0
votes
0
answers
208
views
How to disable hover zoom on woocommerce. None of the common methods work
I have tried these codes in child functions and style files. Nothing works.
add_action( 'wp', 'divikingdom_disable_wc_zoom', 99 );
function divikingdom_disable_wc_zoom() {
remove_theme_support( '...
0
votes
1
answer
251
views
How do i display the number of images on the "post screen"
I need help displaying the number of images in a POST on the post edit screen, For example if 5 images are attached to article A, and they are now reused on article C it should display the total ...
0
votes
1
answer
225
views
How To Convert External Image URLs To Own Website's Uploaded Images Automatically?
I have a website with over 300 posts and initially I used to use external image URLs in my blogs instead of uploading it to my DB and using them.
Is there any way to automatically get all the external ...
0
votes
1
answer
209
views
how to remove share button from image overlay
does anyone know how I can remove share button from image overlay on my website ?, I already have a share button on my site, I dont want uploaded images to have share buttons too, please help
0
votes
2
answers
635
views
How to hide featured images of all posts falling under the same category in wordpress?
Is there any plugin or alternative method to hide featured images of all the posts falling under the same category? Please guide.
For example:
There's a website category:
abc.net/category/fruits
Under ...
0
votes
0
answers
168
views
Copy/paste local images not working in Wordpress
This is somehow frustrating. I am ussing the latest version of Wordpress
I am running my webpage, and when I need to copy-paste an image from Internet into any of my posts/pages I have no problem.
...
0
votes
0
answers
350
views
How to add height and width to images on a page(using WP Bakery) to improve Google's CLS score?
In Google's page speed insights my CLS Score for some pages is low because of the following.
"Image elements do not have explicit width and height" Set an explicit width and height on image ...
0
votes
0
answers
26
views
Is classical wordpress eidtor a good option for me to include a large table with a large number of images on my webpage?
I am a beginner at using WordPress for my website. I generally design my website using the classical editor provided by WordPress and by installing very few plugins such as Beaver Builder and code ...
0
votes
1
answer
49
views
Images under 1MB are not being compressed
Images that are above 1MB get automatically compressed on upload.
Images that are smaller than 1MB are added to the database in their raw form.
So, if someone uploaded a 900 KB image, the post will ...
0
votes
2
answers
596
views
Get all image in media Gallery with alt/title?
Is there a way to fetch the ALT/TITLE of ALL images in the media gallery?
I think this would be an easy way for a website to have a Pictures page that just pulls all of the images from the media ...
0
votes
1
answer
2k
views
Skewed / slanted button within elementor [closed]
I got a request for a client regarding skewed/slanted buttons.
I only want the background of the button to be skewed and the text to be normal
Button normal:
Button hover:
Is this possible within ...
0
votes
0
answers
170
views
insert og image link in wordpress post
I am trying to extraxct the og:image url is there a wordpress plugin that extract og:image url from an external webpage url
i need a shortcode to insert that image in my post
0
votes
2
answers
59
views
Wordpress built-in compression of images? How well does it compare to Photoshop or Shortpixel?
I think the quiestion is pretty straight forward.
I have around 5000 images I want to upload. I need to compress them somehow, but how?!
Photoshop compression
or
use the built-in compression of new ...
2
votes
1
answer
1k
views
Getting media library popup in custom plugin admin page
I’m creating plugin and I need to upload images. And I’m wondering if I can somehow trigger same popup as “add featured image” triggers. Is that possible? If not, how can I make an alternative?
Thanks ...
0
votes
0
answers
416
views
Is there a way to auto generate poster image for videos
I'm trying to have the poster auto generated for my videos so I don't have to keep taking screen shots of the first frame and manually adding it myself. Is there a way to do this? Reason is because ...
0
votes
1
answer
118
views
How can I automatically download all images from all imported posts, place them on my new host, and replace all the links
First some background information.
I have an old website (not wordpress) => https://www.carnaval-radio.nl from now on, I will call this old.
I have a new website (in wordpress) => https://...
0
votes
0
answers
198
views
Optimise wordpress database using SQL after deleting registered images from Media Folder
I have used Media Cleaner Pro Plugin to clean few batches of registered images. Additionally i have updated my functions.php so these unused images will not be generated in future.
function ...
0
votes
0
answers
31
views
Display Multiple Photos as Featured Image when mouse moves on to it post
I need to add some photos (3 or 4 photos) to the post thumbnail (featured image) and should be displayed image 1, 2, 3 & 4 when mouse moves on to the post thumbnail...How can I do that. Please ...
0
votes
1
answer
33
views
Do images in plugins automatically load?
I have a plugin that I've written that simply provides functionality for shortcodes for images in the plugins /includes/svg folder. So essentially a page can use a short code tag to place an image in ...
0
votes
0
answers
356
views
How to Upload images to a custom folder in upload folder using media uploader
I’m creating a plugin for a customer that will add woocommerce products from images (images currently added via FTP) in a custom folder. The user also wants to be able to create a new folder each ...
0
votes
0
answers
44
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 ...
1
vote
1
answer
446
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
0
answers
28
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 ...
0
votes
0
answers
63
views
what functions to use to resize images and create DB metadata for them after/during upload?
I am working on my first script to create a WP post with images and upload those images to the uploads folder.
I am clear about wp_insert_post and was able to upload an image to the server with ...
0
votes
1
answer
1k
views
Product Page loads terribly slow when product gallery images are added
I have a WordPress + WooCommerce store setup and it works flawless. I recently added 3 new products and each of these products have around 10 images. I added these images in product gallery. But now ...
0
votes
1
answer
413
views
WP_get_image_editor resizing images in a foreach loop
I am generating avatars from an image file upload. When running the function, WordPress does create the first image image-32x32.gif but fails on the remainder of the loop. I suspect it's due to ...
0
votes
0
answers
153
views
Wordpress create thumbnails on demand
I am having a problem with my hosting as there are too many files in it. This is basically because of wordpress creating thumbnails for every image uploaded and this has accumulated over the last 3 ...
0
votes
1
answer
51
views
Displaying single Instagram images as a tile
The Instagram shortcode is great for displaying a single, specific Instagram image: https://en.support.wordpress.com/instagram/instagram-images/
Problem is that I need to display the image as a tile, ...
1
vote
0
answers
494
views
wp_generate_attachment_metadata is creating an empty array
I'm making a custom wp plugin for image optimization. I'm at the point that you choose the image, the script starts to optimize and put the new image in the upload folder.
The problem is that i can't ...
0
votes
1
answer
4k
views
How to apply lazy loading in background images [closed]
i'm trying to improve my page speed, in order to do that i have used many lazy loading plugin, they work for normal images but not for background images. i need to lazy load background images to ...
0
votes
0
answers
50
views
WordPress how do I change images used in plugins?
One of my plugins has an ugly no-thumbnail picture. The url to this image is
/wp-content/plugins/weblibrarian/images/nothumb.png
I am an admin. How do I change this image, without using FTP?
0
votes
1
answer
538
views
Implementing Scrollable Images
Sorry if this question derives subjective answers. I figure that asking on WP-SE makes this a little more forgivable. If I had asked on SO I would have had to explain why I couldn't change the block ...
0
votes
0
answers
431
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
1
answer
30
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 ...
1
vote
0
answers
287
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
1
answer
72
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 ...
-1
votes
1
answer
69
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 & ...
2
votes
1
answer
768
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
1
answer
129
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-...
0
votes
2
answers
141
views
Looking for Image Slider that is based on default WP Media Library
For my WordPress site, I want to have a new solution for my image sliders. What I expect in the frontend is a slider like I have here: https://my-road.de/la-digue-guide/
But I am not happy with my ...
0
votes
1
answer
500
views
Uploading images to custom table
I'm building my own WordPress plugin and I have a form where I put in some data. In addition, every entry has an image. Does anybody know how I can upload an image using the WordPress media selector?
1
vote
4
answers
4k
views
How to add css class to a specific set of images?
I am trying to understand how to add a class to a set of images in WordPress. Specifically I am trying to add a class, for example, .no-lazy-load, to exclude those images from being lazy loaded via ...
0
votes
4
answers
183
views
How can I server scaled images?
I am working on an eCommerce website, with WooCommerce powering the shopping side of things.
The website has a 'Recent Reviews' Widget, within the Footer. As well as the Review itself, it also ...
0
votes
0
answers
32
views
Help finding a plugin - masonry type post grid
I would like to know if there exists a similar plugin to how this page lists its' products below the main banner: https://www.ycmcnc.com/en
Talking about this module: https://i.sstatic.net/1HFlS.jpg
...
0
votes
1
answer
39
views
How to make cover image in post block expand to entire screen?
I want to cover the entire width of my page with the cover image block, the one where you can write on top of it. If I need to add a code, please provide the code as well for CSS class. Or is there ...
0
votes
1
answer
3k
views
How to fix broken media library?
I asked this question and got no help at Wordpress.org.
Here it is:
When I go to my Media Library, I can’t see any of the images:
Screenshot: https://postimg.cc/gallery/2rwihw1ty/
Not sure what’s ...
0
votes
1
answer
900
views
How to accept images at multiple sizes and aspect ratios and display as standardized image size / ratio?
Lets say I accept guest post submissions. On the post archive page I have the image the user uploaded with the post on the left and an excerpt of the post on the right.
Unless I programmatically ...
0
votes
1
answer
432
views
How to wrap image tag into div for post only?
I have created a function it wraps all image tag inside a div, but I want to apply it only for the post but my function wraps the page images inside a div also.
// Wrap img into div
function ...