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
1answer
9 views

Local install not loading template images but is loading everything else XAMPP

I'm trying to create a local version on XAMPP of my company's WordPress website. All well and good except for the theme images aren't loading. (CMS images are loading) Looking at the image paths, I ...
0
votes
0answers
10 views

Http Error while uploading image and images not showing on my wordpress blog

Today on wards my website is not allowing to upload the images.. and from past 2 days I have posted some articles, those articles also not showing images. I have checked out from my server path ( ...
0
votes
1answer
17 views

Images not showing after moving site

I've tried all the options suggested in other similar questions, and I'm stuck. My images are not showing after moving a site from my local machine to another server. I've searched the database, and ...
0
votes
0answers
12 views

Setting image attachment caption, description, and alt text programatically

In an attachment post, which post fields correspond to the attachment's caption, description, and alternative text. I cannot find any documentation on this relationship, and I am trying to get ...
0
votes
0answers
25 views

Issue with migration - image connections to posts going awry

I need help with a rather daunting issue that I'm grappling with. I've migrated a client site from one host to another. Everything went fine except for one major issue pertaining to images attached to ...
0
votes
1answer
12 views

Get the name of an image

How do I take the name of an image? For example: I upload images image_name.jpg. So the URL is http://localhost/xxxx/wp-content/uploads/2014/08/image_name.jpg. So I just wanted to take the name of ...
0
votes
1answer
13 views

How do I display image files as links?

I'm a WP newbie and need some help. I have about 5000 images to upload to my site and need to link each one with a specific entry in a list. The thought of going through 5000 entries (it's a plant ...
-3
votes
0answers
12 views

text change with hover over picture [on hold]

I am new to wordpress and I was looking to make a static page of pictures of people, in a way that when I hover over a picture, a text box should changes. Basically we have a company of people whose ...
0
votes
1answer
9 views

wp_get_attachment_image_src always returns false

I'm using wp_get_attachment_image_src to retrieve image URL. Codex is simple for this function and starting from an ID on my database I used wp_get_attachment_image_src in this way: $image_url = ...
0
votes
1answer
9 views

Relative Image Urls in Posts are starting from root - Not from WordPress Address (URL) at General Settings

The title pretty much explains all. But I wanted to ask that shouldn't it behave like this that relative image urls in posts should be started from wordpress address (url)? I have a wordpress ...
0
votes
0answers
17 views

“imagejpeg” function is not working in wordpress

$image = imagecreatefromjpeg('http://localhost/test/wp-content/uploads/2014/09/city_81.jpg'); // choose a color for the ellipse $ellipseColor = imagecolorallocate($image, 0, 0, 255); // draw the ...
0
votes
1answer
32 views

How to change the value “uploaded to” in the media library (Wordpress 4.0)

When I open my media library and go to the detailed view i get the list of the pictures contaning this row: Is there a way/plugin to change the "uploaded to" setting for one spesific picture? (My ...
0
votes
1answer
31 views

Image upload error?

I have searched everywhere for an solution and even though I have found others with similar issues it seems they are not the same. I have a fresh WordPress install and have it setup for multisite. ...
-1
votes
1answer
19 views

How to add image/logo to this Wordpress theme? [closed]

So the Wordpress theme i'm using is Moesia. You can find a demo of it here- http://demo.athemes.com/moesia/ But the thing is they don't have an option to add an image on the first section (welcome ...
0
votes
2answers
29 views

Get an array containing ONLY post IDs of attached images

I am in need of putting an array of all images attached to a post into a custom field so that I can display they on the fly using my template's existing functions. I have gotten this real close and ...
0
votes
0answers
23 views

Add notice to add image popup

I have been using the global "pagenow" variable to add instructions for users, but I need to somehow hook into the add image popup as I would like to instruct the users on optimal resolution for ...
0
votes
1answer
25 views

How to display featured image without it appearing in post?

I want to have the featured image as a thumbnail when I search for the post but I don't want the featured image to be on the actual post itself. Are there any plugins or edits to code that I can do?
1
vote
1answer
34 views

How to remove images from showing in a post with the_content()?

Trying to learn more about creating my own themes and not using any plugins I wanted an ability to display all the images in a post excluding the thumbnail in my single-foobar.php file and I can do ...
0
votes
0answers
20 views

Google Page Speed Insights - Optimize Images

The top recommendation from Google Page Speed Insights is to optimize & compress images. How do I do that? It lists dozens of images and that would be practically impossible to do it all manually. ...
0
votes
2answers
34 views

Image and shortcode not showing in excerpt

I've paid to someone to create a theme for me. Everything works fine, expect the excerpt on category posts. It only shows an excerpt of the post ( not image ) and when I add a shortcode in the ...
0
votes
0answers
10 views

Extract custom image URL from category taxonomy

I've attached an image field to the category taxonomy with Advanced Custom Fields which I want to set dynamically as a full width background. I've done this on the category page without a problem but ...
2
votes
0answers
27 views

Display (and manage) webcam images?

I have a webcam that write every minutes or so, an image to an ftp folder on the server where WP is installed. My question is how to get the last image displayed on page, with refresh every 60 second, ...
0
votes
1answer
21 views

How to set uploaded image as featured image wordpress

How do I set an uploaded image from form to be the featured image of the post. Here are the basics of my code: User fills form and uploads image. Submitted form data appears as a custom post type. ...
0
votes
1answer
21 views

Make all images displayed in single.php a certain size

I’m working on a fashion blog with a lot of images. I’ve imported all posts from Blogger to WordPress and it seems to have left me with images which have a size added on to the end of their src: ...
0
votes
0answers
12 views

Is there any way to Integrate WordPress with Imgur for Image Hosting

I wanted to use Imgur for hosting all my WordPress website images. Till now I know how to integrate Imgur with a simple form using an upload script. The process is well explained at Subin's Now what I ...
0
votes
0answers
6 views

How to add an image uploader to shortcode generator?

Creating a quote shortcode which requires an image. I managed to find shortcode generator tutorials which inserts simple stuff like tabs, columns or just quotes without images. How do I add and use ...
0
votes
0answers
3 views

Mobile Image sizing [migrated]

I've been working on a theme for the site http://silversoundz.com and have it looking just how my client wants it on browsers but the problem comes when I shrink the screen to check the site on ...
2
votes
1answer
32 views

Custom image sizes only for thumbnails

I solve one problem, I use in template several different sizes of images (add_image_size), but I use them only for thumbnails, it is completely unnecessary to create these sizes for each image ...
-1
votes
1answer
54 views

getting image alt text via ACF plugin in WordPress [closed]

I am using the ACF plugin in my WP 3.3.1 application and I use the the_field method in many places across the site. One place in particular I use it is in a slideshow/carousel as below: <img ...
0
votes
1answer
22 views

Add rel to all images in a post

I want to add a rel to all images in a post. I am trying following filter but it will wrap only the images which are in the gallery. It does not wrap the images which are added individually without ...
-1
votes
1answer
28 views

Is there a Wordpress Plugin like Imsanity that keeps high resolution originals? [closed]

I'd like to show lower resolution photos on blog posts and their previews on the main page, but when clicked upon, they should still link to the full resolution version. Is there a plugin to do that ...
0
votes
0answers
35 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
26 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
8 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
24 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
38 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
41 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
15 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
22 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
29 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
36 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
39 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
14 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
30 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
17 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
17 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
27 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
66 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 ...