Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

images

User-friendly cropping of post thumbnails?

August 4, 2022August 3, 2022 by Magenaut

Is there a way to let my users define the crop area of a post thumbnail? The thumbnails always are existing post attachments, I would rather not create an extra attachment per thumbnail.

Categories Q&A, Wordpress Tags images, plugin-recommendation, post-thumbnails Leave a comment

Automatically wrap post image in div

August 4, 2022August 3, 2022 by Magenaut

In regards to image attachments inserted into a post, I would like to wrap the img tag inside a div tag for specific design purpose.

Categories Q&A, Wordpress Tags attachments, customization, images, uploads Leave a comment

New image size version only for the Featured Image file

August 4, 2022August 3, 2022 by Magenaut

I’m worried about too many files created when adding a new image size.

Categories Q&A, Wordpress Tags images, post-thumbnails, thumbnails Leave a comment

How to generate thumbnails when needed only?

August 4, 2022August 3, 2022 by Magenaut

I have 1000 images.
How can i make wordpress to generate thumb only when needed. For example home slider will only use 10 images i dont want the other 1000 images have that thumbnail generated as its a waste of space and resources.

Categories Q&A, Wordpress Tags images, uploads Leave a comment

Applying automatic link class to images embedded to posts

August 4, 2022August 3, 2022 by Magenaut

I’d really love to be able to conditionally apply a CSS class to link elements of images embedded into posts, but I can’t seem to figure this one out.

Categories Q&A, Wordpress Tags attachments, embed, images Leave a comment

How to scale up featured post thumbnail?

August 4, 2022August 3, 2022 by Magenaut

The situation is this: I’m using Video Thumbnails plugin to automatically get and set youtube/vimeo thumbnails as post featured image. The problem is that default youtube/vimeo thumbnail sizes are just a bit smaller than my theme main content width.

Categories Q&A, Wordpress Tags images Leave a comment

How to remove images from showing in a post with the_content()?

August 4, 2022August 3, 2022 by Magenaut

Trying to learn more about creating my own themes and not using any plugins I wanted an ability to display all the images in a post excluding the thumbnail in my single-foobar.php file and I can do that with:

Categories Q&A, Wordpress Tags attachments, images, posts, text Leave a comment

get images attached to post

August 4, 2022August 3, 2022 by Magenaut

I want to have the ability to use pictures from the media library in a jquery slider on the home page so that it’s easy for someone else to update the pictures without having to hardcode it. I have attached a bunch of photos to a post and tried this

Categories Q&A, Wordpress Tags attachments, images, slideshow, wp-query Leave a comment

How to get current image’s slug in WP_image_editor?

August 3, 2022August 2, 2022 by Magenaut

I’ve been writing some class and functions to modify the path of thumbnails. I extended the original WP_Image_Editor class to achieve custom structure.

Categories Q&A, Wordpress Tags images Leave a comment

How to get Images included in Post

August 3, 2022August 2, 2022 by Magenaut

is possible to get images added to a post programmatically? I am working on custom template (my first) and I need to display Images added to a post in specific way.(first image as title image and the rest of imgs only render into hidden img tags (will be visible through lightbox slideshow).

Categories Q&A, Wordpress Tags images, posts, templates, theme-development Leave a comment
Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 … Page13 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress