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
26 views

Drag images with caption in WP editor

Whenever I insert an image without a caption in the post, the editor makes it an object that I can select and move around / scale. Whenever I insert an image with a caption, it inserts fine. I can ...
0
votes
1answer
57 views

How to change image url?

How can I change the image url from this http://i0.wp.com/example.com/wp-content/uploads/2014/06/imagename Into this: http://www.example.com/image/imagename.jpg Or into this: ...
0
votes
0answers
32 views

Check if post has image

I'm displaying a list of posts and I want to indicate if the posts have images. I'm using this code to check if a post has an image. <?php $attachments = get_children(array( ...
0
votes
1answer
258 views

How to use getimagesize() of image upload?

I need to check the resolution of an image I want to upload via media box, and then upload it into a custom directory. As a starting point I used part of the code from How Can I Organize the Uploads ...
0
votes
1answer
57 views

Adding multiple images on my site - without using plugins [closed]

I have a question: In my child theme, I have added a footer.php, functions.php and styles.php. But, there is still one problem I've still not resolved. If I use the firebug addon, I see that a ...
0
votes
0answers
37 views

Force image rename based on post title for the following script

I am looking to have this upload rename image titles to match the post title. So instead of 0182012018228_sometitle.jpg it would be like daves-and-busters.jpg and the next file call ...
0
votes
0answers
16 views

How do I adjust/remove img widths when embedding posts in a narrower external site?

I have a blog on a PHP site i.e. http://mywebsite.com/blog/ and want to embed complete posts in a page on http://mywebsite.com/ include('blog/wp-load.php'); $post=get_post($postid); ...
0
votes
1answer
30 views

Display image for first sticky post only

Working on news paper site here i am using sticky.I want display first 6 sticky post its displaying very good but problem is that every sticky showing there post image(feature image) here i just want ...
0
votes
1answer
68 views

How do I add a featured image to a single post page?

I'm using the Pinboard theme on WordPress 3.9.1. I'd like to edit Pinboard (or, more accurately, make a child theme) so that on single post pages, if the post has a defined featured image, it displays ...
0
votes
1answer
32 views

What does Wordpress media uploader do to image files on upload?

This question is specifically for images and what optimisation happens to these files when they are uploaded via Wordpress Media Library? Images .jpg .jpeg .png .gif And how is ...
0
votes
0answers
10 views

Fluid full window width carousel Image Problem in WordPress [duplicate]

Slider link:- http://coolcarousels.frebsite.nl/c/2/ Here is my HTML script for the slider- <div id="wrapper"> <div id="carousel"> <img src="<?php echo ...
0
votes
0answers
24 views

define multiple post thumbnails

i'm building a page for catalogs which shows all subpages in a grid with their selected post thumbnail. That works without a problem. Now I need a solution how to define 2 more pictures as a special ...
1
vote
2answers
4k views

Advanced custom fields - taxonomy terms images [closed]

I used the Advanced Custom Fields plugin to add a custom field to my taxonomy. That custom field is an image which is associated with the term. Now I have a page where I display a list of all terms ...
5
votes
6answers
6k views

Disable image attachment links

Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it's possible to do it manually when you add an image to a post but I want to disable this ...
0
votes
1answer
15 views

Change path to child of page when uploading image via custom field

Is it possible to change the path of an image when it is uploaded via a custom field so that instead of appearing as www.mysite.com/wp-content/uploads/2014/05/file.pdf it will appear as ...
0
votes
1answer
66 views

How can I implement an Add to Collection function on my Image Gallery to be downloaded later?

I am building a WordPress Image Gallery like a Stock Photo Gallery for internal office use. I am using the Media Gallery to upload files and then using the image gallery to display the photos. It's ...
0
votes
1answer
62 views

Get all image IDs from the Media Library

I'm fairly new to PHP and I believe this is a fairly basic question. I've spent hours searching for an answer but can't quite seem to get things right. So any help would be appreciated. I'm trying ...
0
votes
1answer
37 views

image class removed in excerpt

I have inline images in my post content that have classes. the classes are available as I go to single page like this: <img src="the_cource.jpg" class="myclass"> , but are removed as I look ...
0
votes
1answer
66 views

How to watermark wordpress images from wp-content/uploads folder with htaccess and php?

I have a Wordpress website, due to some limits i need to have originals of the photo at the serverside, but watermarked ones on a frontend and with direct opening of the photos. I'm using Frontend ...
0
votes
0answers
21 views

Programmatically set featured images [duplicate]

Is there a way to set featured images in bulk? I have created a bunch of posts (200+) and would like to set featured images to all of them in bulk - without using the admin panel and setting the ...
0
votes
0answers
38 views

page displaying media caption shortcodes

I am developing my first wordpress theme. I encountered a problem in page section. I added a image in a page with add media button. When i viewed the page, it does display the image but also the ...
0
votes
1answer
27 views

How to get children/attachments in header?

I am trying to add a slider to my custom page template. I would like to have the flexibility to upload images from the add media button in the editor and have no restrictions on the number of images. ...
0
votes
1answer
29 views

Remove the height limit on wordpress 3.4.2

I have problems when insert images on my pages. I have a image of 1113 × 731 and I upload it to my wordpress, when I go to Add Object popup, the Full size of the image mode is of: 950 x 342. When I ...
0
votes
1answer
2k views

upload featured image from front end using wordpress add media button

I want to submit custom post from frontend. i have made form to make this happened. But i want to upload featured image form add media button of wordpress. Code is <?php /* Template Name: post ...
0
votes
1answer
219 views

Automatically Add Caption in image

I want to automatically add caption for each picture appears in the name of the image or the alternative text example Caption add automatic
0
votes
1answer
38 views

How to display every pictures from all the posts on one page?

So i want to create a gallery of all the pictures from all the posts into one page. I tried different plugins but they need constant maintain i.e. I have to go add the new picture in the gallery ...
0
votes
0answers
16 views

Images sizes generated smaller than specified

So I have an image that's 1536x2048 and I've set up an image size that would hard crop to 460x600 with: add_image_size( 'hard-edge', 460, 600, true ); When this is actually output, I get a file ...
0
votes
1answer
53 views

Display different Images depending on the current day

I need to create a grid layout with images, which change daily. So i could build a pool of images in advance for a whole month and the page shows automatically the appropriate image every day. The ...
1
vote
1answer
822 views

Add custom field to image editor

How do I add custom field to the image editor, such as under the image 'Description' field? To be much clearer, it's where the settings for the images are after you upload an image in the attachment ...
0
votes
1answer
38 views

Uploaded Images not re-sized to ( Thumbnail, Medium, and Large ) size

I have a WordPress site that was working perfect before moving to a new server, The problem is when I upload any image it uses the original size in all places in my website ( means no re-size for the ...
0
votes
0answers
22 views

Link to attachment for old articles. Rewrite all pictures to link to attachment page

Can anyone help with a functions filter for old images? Right now all images are without link. For new posts i can add manually link to attachment but for old posts ? http://imgur.com/RMRY3h8 How i ...
0
votes
0answers
18 views

Displaying ACF image from within another plugin

I'm trying to call an image from a custom field made with Advanced Custom Fields but can't seem to get it working. The code below is in a PHP file within another plugin. The idea is that clicking on ...
0
votes
1answer
84 views

(Dynamically) Decrease the actual image size for downloads

I am using feedburner (give it the url of my RSS feed). Each of my feed item have an image, is there a way to lower the actual image size so that people dont have to download the real size? EDIT FROM ...
0
votes
1answer
515 views

How can I remove the image attachment ALT field?

I've been using the technique described in this post to remove the caption and description fields in the uploads modal window, thus eliminating unused clutter for users. Since the title field is ...
0
votes
0answers
93 views

Show subcategories with image only for selected category

I want to display Show subcategories with image only for selected category Code for subcategory : <?php if (is_category()) { $this_category = get_category($cat); } ...
0
votes
0answers
54 views

Adding Attachment Display Settings in custom media frame

I made my own custom media frame : $('.add').bind('click', function(event) { event.preventDefault(); // Create the media frame. file_frame = wp.media.frames.file_frame = wp.media({ ...
0
votes
0answers
169 views

Change media URL (images)

Similar questions have been posted, but none have been resolved. I'm looking to, programmatically on upload, change the URL of a media file to its URL on a CDN. I.e. modify ...
0
votes
2answers
31 views

How to add multiple images in a page

I am developing a WordPress Theme and I've got stuck in a point. What I want to do is to add a box at the right of page editor so the admin of the site can add multiple images on the fly in this ...
1
vote
1answer
28 views

Custom image sizes without add_image_size()

I need a lot of various image sizes in my theme. I know how to add them with the add_image_size() function in functions.php. But those defined sizes will create a lot of files for every uploaded ...
1
vote
1answer
56 views

Change image url size in post editor (when cliking on image)

So I've search during some hours how to change image size in existing post. I know that wordpress create many image with different size (acording to my theme) for each uploaded image. But he didn't ...
0
votes
2answers
62 views

Emoticons not working on my site

I've always understood WP to have built-in emoticon support. I have them enabled in the settings, but they just don't do anything. Here is an example post that contains one at the end of the post, a ...
0
votes
1answer
32 views

How to make Custom Loop not crop featured images?

When using Custom Loop to display a lot of posts on a page, you use Featured Image to display the images on that page. However, cropping occurs if the images are higher than 208 pixels, and I want my ...
0
votes
2answers
103 views

Extract url from next_image_link

Is there a way to extract the url from next_image_link? I want the image on the attachment page to link to the next image, but i didn't manage to figure out how to do it.
0
votes
0answers
40 views

Add images functionality not working as wanted

I achieved this structure in wordpress admin panel. I am using wordpress option api to save and retrieve data from option.php . All I want to do is on every click of add more image button one more ...
0
votes
1answer
21 views

Custom styling Insert Media window

I would like to alter the styling of the Insert Media window. I'm sure the styling is at wp-includes > css > media-views.min.css I can't alter the minified file. Does anyone know where or how ...
3
votes
2answers
7k views

Upload multiple images in a custom metabox

I am new to theme development. I am trying to create a custom metabox that has the ability to upload a image. I am doing this on a page not a post. I want to output the images (multiple) onto the page ...
0
votes
0answers
160 views

Create thumbnail on PDF upload with Gravity Forms

I'm working with some great code that was provided recently to create an image thumbnail from a PDF upload, and I'm now trying to implement this in the functions file so that it can be applied to any ...
0
votes
0answers
32 views

My galleries are messed up

I am running wp 3.9.1. I am using jetpack and using the carousel option. Lately, when I click on an image, the carousel does not work, the black background appears, but to see the image, I need to ...
0
votes
0answers
17 views

Insert images to post without Insert Media Window

Is it possible to insert images to a Wordpress site with having to use the Insert Media window. I have a forum type site where I would like people to be able to add images to post they can create but ...
6
votes
7answers
3k views

How to generate thumbnails when needed only?

I have 1000 images. How can i make wordpress to generate thumb only when needed. For example home slider will only use 10 images i dont want the other 1000 images have that thumbnail generated as its ...