Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
21 votes
5 answers
18k views

How can I make add_image_size() crop from the top?

I have a series of posts, all with featured images, but I need to be able to customise the crop top right corner. In this instance, I need them to be cropped from top right, but it would be useful to ...
Mild Fuzz's user avatar
  • 4,190
4 votes
4 answers
7k views

Resizing all images

I have just changed the theme on my blog, and because of a small page width, it breaks the layout. Most of my earlier images (attached in posts) are around 600px in width, and now I need to resize all ...
GPX's user avatar
  • 327
3 votes
3 answers
8k views

Automatically Import Image into Posts from URLs on the Web?

Is there a way for me to add an <img> tag in a Post, but then have a plugin download that image, and put it on the server for me instead of me needing to manually download the file from online ...
Tal Galili's user avatar
  • 1,833
1 vote
2 answers
562 views

How do I change the description of the same image which is to be found in multiple instances?

We have the site from http://asceticexperience.com/ Feel free to dig the site in order to understand our question below. Of course, any feedback appreciated :-) but my main question is the following:...
John Thomas's user avatar
0 votes
1 answer
309 views

How to select featured images for 1500 posts?

I have over 1500 posts I imported from Tumblr. While the images were imported into the gallery, I need to make sure there's a featured image for each. How do I make the images (12 per post minus 30 ...
Cecily's user avatar
  • 77
20 votes
1 answer
1k views

wp.media.view.ImageDetails - Save settings as HTML5 data-* attributes for image

What I finally want to achieve are extra settings added to the Image Details box, that will be stored in the image <img> tag as data-* attributes Example: <img src="..." data-my_setting="..."...
Kaspar Lee's user avatar
4 votes
1 answer
806 views

Way to force media uploader use custom image size

I've implemented media uploader to my custom category image plugin and was wondering can I somehow force it use my custom image size I've set only for categories. ... So in screen shot above, I'd ...
micadelli's user avatar
  • 197
4 votes
1 answer
1k views

How to make WordPress use protocol indepentent upload files?

I am using FORCE_SSL_ADMIN in wp-config.php so everytime I upload a new image and inserted into the post, it is using SSL version e.g. <img src="https://www.example.com/wp-content/uploads/2013/01/...
Yoga's user avatar
  • 919
2 votes
3 answers
3k views

Rename existing old uploaded images containing accented French characters (not during upload)

Need to update 1,000+ images which have French characters in them. The following worked for a test post: Created a copy of the image without the FR characters Updated file name inside the ...
Robert Sinclair's user avatar
1 vote
0 answers
67 views

NextGEN Gallery- using shortcode for different galleries on different pages [duplicate]

Possible Duplicate: conditional shortcode not working I have a salon website with a gallery page wherein the user must first select a stylist prior to viewing their individual gallery. I planned ...
user1255049's user avatar
1 vote
3 answers
314 views

Thumbnail with different sizes

I want make all my blog thumbs the size of 227x133. I need images width have 100% (for responsive design). Some images have width greater than the other and vice versa. I'm using this code to show ...
Lucas Fernandes's user avatar
0 votes
2 answers
8k views

Use Media Uploader in Plugin

I want to add a media uploader to a plugin. I have found and read This It does shows the media uploader and it let's me select an image but as it uploads it gives me some crappy error: Error ...
Interactive's user avatar
  • 1,006
0 votes
1 answer
555 views

How to extract images of post and pages excluding header and logo image in wordpress?

I have tried this code to get all images from media library and i am sucessfully getting the source urls of all the images but now i want to exclude all the unwanted images like logo, header images ,...
user1145009's user avatar