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)

0
votes
0answers
43 views

Get custom url from thumbnail

I am working on a multisite install using folders, and am trying to create a grid of images which link to different sites within the mulitisite. I've created a bunch of posts in a category "sites", ...
0
votes
1answer
27 views

How to Make Thumbnail of Post Stay Animated

When I upload my post with an animated .gif, the thumbnail generates into a new image and doesn't stay animated. It will stay animated inside the post which is great. It seems to resize the .gif image ...
0
votes
0answers
11 views

How can I show errors in the “Add Media” iframe?

I've added a custom field to the "Add Media" form using add_filter('attachment_fields_to_edit', ...) and I'm validating the existence of it when saving the attachment fields using ...
0
votes
1answer
34 views

Display one post on category.php: Wrong featured image

What I want When a user opens a category link, there should be automatically displayed the first queried post. My query looks like this: <?php global $query_string; $posts = ...
0
votes
1answer
47 views

wordpress media library shows empty images

I have copied the my old site files and moving those into new site. i have changed the url in db, and uploaded the files in new server. everything works fine except the media show black images .can ...
0
votes
3answers
46 views

After moving a site to another domain, all images are lost

I moved from www.domain1.com to www.domain2.com Trouble is the image paths left looking at www.domain1.com/wp-content/uploads... So when www.domain1.com went down all my images are now lost. I ...
0
votes
1answer
17 views

Auto-crop width, not height

I need images to be auto-cropped if they are too wide only. Basically like this: I'm using it for a fullscreen slider, where too wide images gets stretched. Cropping obviously is the best of two ...
0
votes
0answers
27 views

WordPress is hard cropping large and medium images

I have a Woo Canvas theme site and sometime in the recent past the image sizing functions stopped working as expected. When you upload an image into the media library and try to insert into a page, ...
-2
votes
1answer
35 views

Add image custom attribute [closed]

Im want to use Advance Custom Fields module with Gallery add-on http://www.advancedcustomfields.com/add-ons/gallery-field/ I need to add custom attributes to all images. Like for example paper type, ...
2
votes
1answer
41 views

Limit function to specific post category

I have a function that wraps images in a custom div. It's placed in functions.php and modifies all posts. I'd like to know if there's a way to only apply it to posts in a certain category. Here's ...
0
votes
1answer
46 views

adding image to post thumbnail from another server

i have a image gallery site, each post in site have thumbnail and image in post, now i want get file server for uploaded image. how can i add thumb image from another server? or how can i change the ...
0
votes
0answers
22 views

Exporting a portfolio with pictures

I wonder if a kind soul could help, as I'm going crazy here. I just recently started using Wordpress, and created a website where I have a lot of portfolios. The images in the portfolios have been ...
0
votes
0answers
18 views

How can I set up WordPress/PHP to upload images as myself?

I just noticed that my VPS has been uploading images as www-data for the past 6 months, ever since I moved my WordPress install over to my new system. I've been told time and time again that my ...
-1
votes
1answer
32 views

How to get some information from the_content [closed]

Hello in index loop 3 lastest post and i want to take only a bit o text and first photo or youtube - and here is the problem, because i can use the_excerpt or i can use get_post_meta to take text, to ...
0
votes
1answer
19 views

How do I link an image in my plugin so it displays on WordPress?

I'm creating a plugin for a college project. The plugin is very simple: it searches for name of the site address and upon finding it in a post, it outputs the site address with an image. However, I ...
0
votes
1answer
20 views

Update image links in database

I recently changed the URL of a wordpress site and I can't seem to find some of the image links I was able to update most of the links in the wp_posts tables update wp_posts set guid = REPLACE(guid, ...
0
votes
0answers
25 views

WP_Customize_Image_Control and selecting from library?

I am adding some theme options, one of which is an image option. $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, ...
0
votes
1answer
30 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 ...
0
votes
1answer
91 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 ...
3
votes
1answer
67 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
22 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 ...
0
votes
0answers
45 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 ...
3
votes
1answer
134 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
0answers
27 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. ...
9
votes
1answer
144 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
vote
2answers
29 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 ...
0
votes
1answer
19 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
29 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
79 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 ...
1
vote
0answers
90 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 ...
1
vote
2answers
45 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
1answer
29 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 ...
0
votes
0answers
39 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
0answers
22 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
43 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 ...
0
votes
1answer
45 views

uploading images to specified directories

I am hoping that you can help me. I've tried finding plugins to do what I want to do but none of them really simplify the problem that I am trying to fix. I am trying to build a site for my ...
1
vote
1answer
22 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
1answer
83 views

attachment.php & flexslider—linking thumbnail to specific image

I am nearly there but need the help of the community to bring me home! I am linking from a "gallery overview" page (thumbnail grid) to a single, full-size image page (attachment.php) containing a ...
0
votes
0answers
18 views

Generate images according to proportion of original image

I'm looking into if it's possible to generate images with different sizes depending on the proportions of the original image. For example. If the uploaded image has a proportion 4:3 it should ...
0
votes
0answers
10 views

Is there easier way not to display all images attached on the page from media?

I'm thinking not to delete the images I attached on the page, but will just have conditions not to display images with order set to 0. If I have code like this: $thumbnail_ID = ...
0
votes
0answers
14 views

Limiting where feature images are used

I would like to switch to a magazine theme that uses featured images, but I would like to limit where they are used. For the post page, I want to use a different lead image or the feature image but ...
4
votes
1answer
65 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: ...
1
vote
0answers
44 views

Blank upload.php page

I am wanting to optimize the images that I have previously installed on my Wordpress site. I haven't uploaded any images for a while but now when I try to access the Media Library (Media > Library) ...
0
votes
0answers
18 views

Change Wordpress Gallery Markup in functions.php

I'm looking to change the markup of the Wordpress Gallery, so that it outputs a new set of code. Ideally, this is what I want (a Bootstrap-based markup). <div class="col-md-3 col-sm-4"> ...
2
votes
1answer
83 views

Filter Media Library by author or post_parent

I am trying to filter the Media Library so only media items that are uploaded by the current user OR children of the post being edited are visible. I've had no problem doing it if the conditions are ...
0
votes
1answer
19 views

Plain image uploading - no links, no classes, no sizes

When I upload a photo into the post it turns out like this <img src="http://localhost:8888/mg/wp-content/uploads/2014/04/sc5.jpg" alt="" width="240" height="240" class="alignnone size-full ...
0
votes
1answer
30 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 ...
0
votes
1answer
51 views

Show media url immediately after upload in media uploader

do anyone know a plugin OR override to show the image url immediately after upload - in the media uploader (so not via post/ page-upload) ? Now it's like -> upload -> edit -> right side is the url I ...
0
votes
0answers
41 views

wp_generate_attachment_metadata(), display image content after post, why?

I succeed to upload and attach an image for an article created in frontend in wordpress, otherwise when I used the wp_generate_attachment_metadata() after the generation I have something like that : ...
1
vote
1answer
88 views

How to add a class to the attachment images

When I'm in the Wordpress editor and I add an external image with the 'img' button, my html result wil be like this: <img src="http://example.com/image.jpg" alt="image" /> How can ...