How can I make all gallery images to open in a new window?
How can I make all gallery images to open the high resolution image in a new window?
How can I make all gallery images to open the high resolution image in a new window?
As our users regularly upload ~6MB images to use on the website (and aren’t too familiar with how to resize them first), WordPress stores the originals as well as resizing them to several different sizes.
I really like the way SE uploads an image from a URL (I’m sure many do!). I’ve been searching, but can’t find, is there a plugin or a method similar to this available for WordPress?
I’m working on a site based on a fluid width css template which sets a max-width on images to the width of the column containing them, and I need to remove the inline width and height dimension attributes that WordPress adds to images.
I am using an attachment.php file to show large versions of images that have been clicked on elsewhere. I’d like to pull the image alt text as a caption under the image with javascript, but the alt text isn’t included when when wp_get_attachment_image_src() is used. I don’t think WP has a function to retrieve it, so I need my own. To write that function I need to know…Where is the alt text for an image stored?
I use various custom image sizes (by add_image_size) and I have set my JPEG compression to 30% with this filter:
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 also know how to position that point myself.
I want to upload my custom image sizes in custom folders. The folder should have the name of the selected width. For example:
I found this post//
The main reason for adding this snippet is all about SEO. The people I sometimes make websites for often aren’t that savvy with WP and tend to upload their stuff just as is. As these are often media related websites I try to help them a bit by automatically renaming their uploads from DSC_0010.JPG to my-optimized-post-title-001.JPG, etc.