Images are used in different ways by WordPress.You can use a theme with images in layout, place images within your post/page content, display images next to visitor's name called avatars etc

learn more… | top users | synonyms (3)

3
votes
2answers
2k views

Adding upload button in metabox

I want to add upload image button for the images and retrieve url. Can someone pls help me, i have been trying this for quite a few days. I'm using code from this thread Create more Meta Boxes as ...
0
votes
1answer
24 views

Set Custom Post feature image as og:image

I am trying to set the Featured image as the og:image I have tried various ways and plugins (Yoast) but finding it hard to get my head around this. The issue is that it isn't picking up the feature ...
-4
votes
0answers
22 views

Cant access website [on hold]

I added code to change header image size in themes functions.php . Nothing happened so deleted code. now can't access my website! When I try to log in to wordpress says password invalid
0
votes
1answer
18 views

Logo is not being displayed in header (Twentytwelve)

So I have a image tag in the header.php of the Wordpress theme Twentytwelve like this: <header id="masthead" class="site-header" role="banner"> <hgroup> <img ...
2
votes
0answers
39 views

How to add a “data-” attribute to the image tag of native gallery output

While trying to make WordPress and Galleria to become friends I already have a good result. Galleria can easily be used to display native WordPress Galleries. I'm using a plugin but that's not ...
0
votes
1answer
27 views

Image on rss feed on post

I want my website to display post of bloggers fashion posts from a virtual world second life. I've started using blogger, they have a simple widget "bloglist", just put the url of the blogger it ...
-4
votes
1answer
13 views

Remove image with php unset() function [on hold]

Can anyone tell me what should I use to remove an image from a specific directory? I am using unset (remove) image like this unset("/wp-content/uploads/company_logo/admin_1.jpg"); but it's not ...
1
vote
2answers
960 views

Can't Display Featured Image in RSS Feed

I'm currently working on a test website on my local server using WordPress version 3.4.2. I've tried various different solutions. Some have included installing various plugins, such as WP RSS Images ...
2
votes
1answer
416 views

Add custom Attachment Display Setting for images

I've been doing a lot of research and I've yet to work this out. Can you add in a custom option in the Attachment Display Settings (part of Insert Media dialog in post editor)? What I'm after is the ...
3
votes
1answer
47 views

Image width tag is less than the image pixel width - why?

I have been reading this morning about images uploaded via the Media Library in WordPress and I thought I had understood most of it. But there's something I'm confused about. My understanding is that ...
0
votes
0answers
12 views

Exporting WordPress -> Flickr

I have all of my images stored in posts on my Wordpress blog, but I'm a tad worried what would happen if my web host were to go offline. I could back them all up by zipping the wp-content/uploads ...
4
votes
1answer
294 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 ...
1
vote
2answers
27 views

How to add a rel attribute to images that contains their categories?

I've added categories to images, so that I can use them to filter images within a portfolio page. Now I'm thinking I need to add the rel attribute to each image that contains its assigned categories. ...
0
votes
0answers
11 views

Remove inline width and height definitions from post images (single.php)

I have exported around 300 posts out of Blogger and into WordPress. The posts are mostly made up of images as it’s a fashion blog. Everything went great import-wise but the problem is that all images ...
4
votes
3answers
566 views

How might I retrieve a featured post image from an external WP site and display it as a link back?

I have two WP sites. I want to reach from one of them, into the other, and retrieve specific featured images for posts, and display them with a link to that post. I am using this line (with the ...
-1
votes
0answers
13 views

Faster better ways of adding/updating images in Wordpress?

I've used/developed Wordpress for 7 years and one of the worst aspects of it is uploading images. It is a HUGE pain the ass. You have to go to the page, upload it through the dialog, then place it, ...
1
vote
1answer
743 views

Multiple images with Media Uploader on front-end

I'm trying to implement a multiple image upload on a frontend form, using the built-in Wordpress Media Uploader. I managed to have a single image upload, but I can't find out how to have multiple ...
0
votes
0answers
23 views

Wordpress Media URLs?

I just launched a Wordpress site after having done all of the standard procedures: moved the uploads folder, uploaded the database, and did a search and replace on all of the urls in the database. ...
0
votes
2answers
325 views

How to change the order of elements within a post?

I have a site with several thousand posts. They all have just a single attached image of varying size. All posts are displayed in full (no thumbnail view). I'd like to be able to change the way the ...
6
votes
1answer
79 views

Is it possible set a featured image with external image URL

I know there are plugins that fetch images from remote URL and store locally. I just want to know whether it is possible not to store image in Media Library yet use it as Featured Image?
-1
votes
0answers
14 views

Some Posts Won't Preview When Posting To Facebook [closed]

When I post the link http://316apps.com/ipreachersblog/2014/08/18/facebook-messenger-are-they-watching-you/ the Facebook post looks like this: However, if I post the link ...
0
votes
1answer
987 views

Get uploaded image path in wordpress by filename

Can we get uploaded image path in wordpress by filename? Actually I know the way in PHP that will parse all files in the uploads folder, and matches the each file. But that way will produce high load ...
0
votes
3answers
525 views

Gallery post images on homepage?

I have a post with image gallery, it has 10 images. Can I get the direct link to the images in the post, so that I can display first 5 images on the homepage?
1
vote
2answers
23 views

GoDaddy Number of Image Files Per Directory Exceeded

OK, so I started my blog back in 2006, never realizing the size it would grow to, or what the future of WP and GoDaddy would bring. 1st Problem. I had read somewhere that it was better to have my ...
2
votes
1answer
318 views

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 ...
0
votes
1answer
13 views

Images dont show up on an iPhone [closed]

When visiting the url http://symbius.nl/juridisch/ on an iPhone or iPad the images inside the page dont show.. I have disabled all plugins (except for visual composer) but the problem seems to stay. ...
0
votes
0answers
23 views

How to get all images except the first included in Post

I have this code, which gives me all images attached to the post. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $args = array( 'post_type' => ...
0
votes
1answer
16 views

featured image as slider and multiple featured images (without Plugin)?

hi there i need little help can anybody tell me that how can i add multiple featured images to a page and than make it a slideshow i didn't find any answer on Google thanks looking forward help from ...
0
votes
3answers
84 views

All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images

What I'd like to achieve is to have images resize responsively – and for that I have to set 'width: 100%' – and at the same time set a maximum width to not have the image as wide as the content. To ...
0
votes
0answers
34 views

Display image from an external rss feed on wordpress without plugins

I am trying to add an external RSS Feed to my wordpress theme. Displaying the feed content and title was a success. But I don't see any option to display the image from the external feed. I tried ...
0
votes
1answer
327 views

Can NextGEN Gallery be used to display a list of images passed to it?

Can NextGEN Gallery be used to display a list of images passed to it? Is there another plugin that can do this? I'm somewhat new to WordPress. I've written some php code to display a set of images in ...
4
votes
3answers
542 views

List most recent image uploads, but only for specific custom post type

I can get a list of the most recent image attachments like so: $attachments = get_posts( array( 'post_type' => 'attachment', 'posts_per_page' => $number, 'post_mime_type' => ...
0
votes
1answer
18 views

How to add images to taxonomies?

Q: Is it possible to add images to all of my taxonomies (default and custom ones)? Note: I do not want to use any plugins (not my favourite solution for design related matters). Usage: I want to ...
3
votes
1answer
61 views

How to add classes to images based on their categories?

I need to be able to: 1.) assign categories to images and 2.) add classes to all images that correspond to their assigned categories. I was able to add categories to images with the following: ...
0
votes
1answer
658 views

Some images not found 404 in localhost

I just transferred a WordPress installation from the domain to my localhost. I did all the usual steps: copy files, export DB and replace domain.com with localhost, update wp-config.php and refresh ...
1
vote
1answer
134 views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
3
votes
1answer
737 views

Allow user to manually set crop area of default/custom image sizes on upload

I'm looking for a plugin that allows the user to define where the image will be cropped for a given thumbnail size. For example, the user uploads an image, a screen comes up with the image and a ...
0
votes
2answers
1k views

Why can I not view image attachment pages?

I have a problem with images. I can see my uploaded images, as previously, through the media library. I can access each image by clicking on "edit". But if I then click on "View Attachment Page", I ...
1
vote
1answer
1k views

How to remove title attribute from gallery links and images

I want to remove the title attribute from within the output of a [gallery] shortcode e.g. <a href="url" title="bobby"> <img src="url" title="bobby"/> </a> should be: ...
0
votes
1answer
365 views

Get all first images of posts in same category

I am trying to build a list of thumbnail images linked to their associated single content pages within the same category. So, when I am in the category of 'x' the list returns all image attachments ...
0
votes
0answers
27 views

Adding Image Description below Images Inserted into Posts

I've got a bunch of images inserted into posts with metadata I'd like to display underneath them: some have caption, some have description, some have both. I've figured out how to filter ...
0
votes
2answers
2k views

Height and width attribute not setting by the_post_thumbnail

I am using following code to display images in home page: if ( has_post_thumbnail() ) {the_post_thumbnail('postbox-thumb') But the output of the above code does not have height and width of the img ...
-2
votes
0answers
91 views

“Get Post Image” plugin creating 0 byte images on server(works fine on local) [closed]

I am using GET POST IMAGE plugin. I have an image that i need to mask & it works fine on local but on server its creating 0byte images. Things i have tried: I have tried giving word-press ...
0
votes
1answer
581 views

Get single image from custom fields made with WCK custom fields creator

I used WCK Custom Fields Creator to create a repeatable custom field for uploading pairs of images (one color, one black and white) to posts. So for example, one post may have three fields, with two ...
0
votes
0answers
19 views

Display further content in file media attachment

When i see the image attachment in full size I need to show text in wp-content/uploads/2014/08/filename.jpg. Also I need to show go back button, and others info about the image opened in full size. I ...
0
votes
2answers
382 views

Utilise WP_Customize_Image_Control to only show image picker

I would like to achieve the following (using a copy of twentytwelve): Turn off custom-header theme support to prevent users being able to upload their own images (achieved) Create own section in ...
1
vote
2answers
854 views

How to add qtranslate multi language support for media?

The multi language plugin qtranslate works for custom post types but there is no capability to translate media information like title, description, captions for images. I am using the following code ...
0
votes
1answer
438 views

Uploaded image not appearing in custom post type

I am writing a plugin which should allow users to create a custom post type called reseller and attach an image. The image is being uploaded to the uploads folder and appears in the media library with ...
1
vote
1answer
19 views

How to force Wordpress to add new images at the beginning of the gallery?

I have the standard gallery embedded in the page and want to add new images to it. When I select images and click Add to gallery button Wordpress adds them at the end. How to force it to add images ...
0
votes
2answers
27 views

How to output placeholder image if no featured image set?

I am using the Multipostthumbnails plugin - https://wordpress.org/plugins/multiple-post-thumbnails/ And it has a certain naming convention to it. I know the usual way to output a placeholder if no ...