Articles of images

how to stop generating different image sizes from parser

I am creating a parser that is parsing an XML file and uploading an image to media library. Everything works fine. But after uploading, the different image as per Media Settings are also generated. For eg: Medium, Thumbnail etc. I want to stop generating the duplicate image of different size only to those images ( […]

How do I create a full-bleed background image on text mouseover?

I have a portfolio of images I’d like to display on my home page in full bleed that corresponds to specific text that is hovered-over with the mouse. Like this site, but without the video aspect. I’ve looked at various WordPress hover plugins, but they’re all for small-scale grid images. Does anyone know of any […]

Responsive Images Resizing Images

WordPress’s automatic responsive image code is setting the size of certain images larger than it should be. Here is an example: On this page: http://healthyhints.wpengine.com/hot-yoga-benefits/, the image of the man lifting a weight is only 557px wide (see native image: http://healthyhints.wpengine.com/wp-content/uploads/2016/03/leanmuscle.jpg). The responsive code though is causing it to stretch to 840px wide when the […]

Add filename to attachment page url

I wan to change my premalinks to attachment pages from http://example.com/…/attachemnt/something to http://example.com/…/attachemnt/something/something.jpg It should simply add filename but with nice url, I tried with add query arg() but this builds url query like ?name=something.jpg. Is there solution to achieve this without hard coding anything to wordpress?

How do I remove generated HTML around images in posts?

When I insert images into a blog post, wp is automatically inserted markup around the img element: specifically a div and a p (for the caption)…..where is that markup being generated in wp sourcecode?

How to grab first image attached to post and display in RSS feed?

I’ve seen the tutorials on how to grab the first image and display it in a post, and those on grabbing the post_thumbnail and using that in the RSS feed, but does anybody know how to grab the first image attached to a post and use that in the RSS feed? Thanks!

What is the WordPress Pinecone sitting on top of?

Does anybody know where wordpress gets their banner images? Perhaps we could find the original photo? I’m curious just what exactly this pine cone is sitting on top of. image http://img828.imageshack.us/img828/9583/pinecone.jpg

Check if page/post has any anchors that link to an image jpg/gif/png

What I’m aiming to do is add fancybox to a site I’m developing, but I only want to enqueue the JS/CSS etc if the page/post needs it. My thoughts are that I would need to check all the anchor tags on the post or page , and if the anchor tags link to any form […]

What's the best “insert all images” plugin?

I’ve tried several plugins that supposedly allow you to “insert all images” after using the flash based uploader to upload multiple images. However, I still haven’t found one that ties in well with the latest version of wordpress in a non-hacky way. Which plugins the most for inserting multiple images? image http://img221.imageshack.us/img221/4746/pictureu.png

WP 3.4 has missing photo data

I just updated to WP3.4 and discovered that previously available images are no longer “found” by the system. By this I mean that all the image files remain online and accessible, but WP has lost thumbnail data and subsequently shows the standard media icon on the media library list. Front-facing pages that should have images […]