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
17 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
15 views

Image upload with one size going into a custom directory

I have added several sizes with add_image_size( 'x', y, z );. All those sizes are saved to the uploads directory, which is alright. if ( function_exists( 'add_theme_support' ) ) { add_theme_support( ...
0
votes
0answers
7 views

Apply cropping to custom size from media library

I want to be able to apply a specific crop to the medium size or any other custom image size i define. I want to control the crop as it is controlled in the media library for the thumbnail. I want to ...
0
votes
1answer
39 views

Random background image showing on website per click/load

Without using a plugin I would like to have a big background image changing on every click/load (or later on maybe every hour). So, I created a random_img.php file and put some code into header.php. ...
0
votes
1answer
10 views

How to change the target size of images clicked on in Wordpress standard gallery

I want to use the standard Wordpress gallery without using other plugins and stick to the gallery shortcode. So, I know I can change the size of the thumbnails, that are shown in the gallery grid with ...
0
votes
1answer
22 views

How to get cropped thumbnail source for custom post type

I need thumbnail image url with size 148*148px. I using custom post type for testimonials. I need just the image source like http://example.com/demoimage.jpg. It is possible to get cropped image ...
1
vote
1answer
29 views

Can I use images as anchor tags with <?php previous_post(); ?><?php next_post(); ?>

Rather than displaying the title of the next page, I would like to display a large arrow that can be clicked on. To do this I shall either be using image files, or the tag. Can this be done?
1
vote
0answers
7 views

Add suffix to uploaded images

I found this post what handles in a similar way my intention. But I´m not 100% sure how to expand the callback function with my options. So here my suit: I add an function to the functions.php to ...
-1
votes
0answers
17 views

Wrong picture from Wordpress to Facebook post

I have a blog (paidis.com) and almost everytime I publish something on Facebook, Facebook gets a wrong picture. I was trying to solve this but I couldn't, so I was using the option "upload another ...
0
votes
0answers
21 views

Prevent WordPress from using resized/compressed versions of uploaded images

I am uploading an .jpg image to a page and selecting 'Full Size - 800 x 381' under 'ATTACHMENT DISPLAY SETTINGS'. However, when previewing the page I look at the source code and I see after the image ...
0
votes
0answers
38 views

How to make image proportional bigger?

I'm trying to make my slider images bigger but it doesn't work. I want them to be proportionally bigger and with width:100% they look funny. It's fine if the image get cut and doesn't show the whole ...
0
votes
0answers
26 views

Add an image from a custom field in Sabai Directory [closed]

I'm trying to use the Sabai Business Directory plugin and need to give each Category a photo. I went in through the UI and added an image field to the Category at ...
0
votes
0answers
12 views

how to centre featured image on blog post [closed]

I'm trying to centre the featured image for the single blog posts. This site is a subdomain, isa.kristinleeb.com. I went through this already on my main site, kristinleeb.com, and I ended up removing ...
-1
votes
0answers
17 views

Woocommerce: Remove product image border, image description above and below the image [closed]

I want to remove the product image border and image description above and below the image at the lightbox! All i want to keep is the product image with the thumbs within the image and the X to close ...
0
votes
0answers
13 views

Get File with WP Multisite Problem

I have a problem with Multisite, as we all know multisite with sub directories looks like this "www.example.com/site1" etc. I am using a custom script linked with foobox that when someone clicks on ...
1
vote
0answers
13 views

t5-fresh-editor-stylesheets.php breaks image placement in WP Beta 3 editor

I am running a development site with the WordPress beta plugin, currently running 3.9 beta 3 I am using Bill Erickson's Core functionality plugin which calls Toscho's t5-fresh-editor-stylesheets.php ...
0
votes
1answer
19 views

Display a different image for each page with editor

We have several PAGES (about us, contact, services, etc...) On each page, we have an area for an IMAGE. The IMAGE is located in the same location on each page. (lower right corner > above the ...
0
votes
0answers
25 views

Missing Images in Uploads Directory (Server Only)

I recently moved a WP install from our dev server to the clients server. Everything went fine, however, the site is missing a large amount of images. The dev site has the images in the Wordpress ...
0
votes
0answers
36 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 ...
1
vote
1answer
34 views

wp_get_attachment_image_src() width and height boolean

I have the following code in my theme: <?php $size = 'large'; $postimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), $size ); $url = $postimage[0]; $h = $postimage[2] ...
0
votes
0answers
10 views

Possible to overlap featured images? [migrated]

I'm trying to make the featured images on the front page overlap like this - So far I have managed this - Some images are landscape and some are portrait. I want all the images to be the same ...
1
vote
1answer
30 views

Can't seem to attach uploaded image to post and set it as thumbnail

I'm using this code to submit a post form and upload an image which I want as the post thumbnail. Everything submits perfectly and the image even uploads but I can't seem to figure out how to attach ...
1
vote
1answer
26 views

Return Attachments from Custom Post Type

I'm a fairly new WP developer. I am trying to get my portfolio.php to display all images attached to my custom post type 'portfolio', and then display them in a masonry format. I've managed to get ...
1
vote
1answer
12 views

Wrapping images in tags based on size

I am making a site for a client where all the thumbnails on a page need to be styled differently than regular sized images. Right now I have a snippet of code I found that allows me to wrap every ...
0
votes
0answers
35 views

SQL query to remove first image in all posts

I've built a site up over a few years (3,500+ posts) where I've inserted images using the traditional method into the post content itself. I'm now moving to a different theme, and have made the first ...
0
votes
1answer
25 views

Only User Upload image Http Error

I've search all over and tried a bunch of things. Basically, as admin I can use the featured image and upload with no issues. When i switch roles I cannot upload images, i get an HTTP error. I did ...
1
vote
0answers
19 views

How to compress thumbnail images of two different sizes?

I'm new to wordpress and so far with a limited knowledge of PHP, I was able to build up a theme from scratch. I removed the compression for my homepage images for a better quality of pics. Now, the ...
0
votes
1answer
23 views

Setting name of attachment URL

I have a problem I need to fix with the URLs that are generated for the attachment pages of images with metadata. I’m working on a photography site where individual photos are displayed as ...
0
votes
1answer
23 views

Adding title and description to subpage's featured image

Hej! I have a subpage to display it's subpage featured image. I would like to add the title and description to beneath the thumbnail. Today my code look like this > In the functions.php function ...
0
votes
0answers
12 views

Defined image size not being used when dynamically loading images

I'm using an add_image_size(); of 70x70, in a custom theme. During an ajax request I load a template_part(); with the defined image size, locally all of these images load fine and at the correct ...
-1
votes
0answers
43 views

Woocommerce type product image gallery in post

i am just trying to create product gallery box like woocommerce. i just find the code from the woocommerce and tried to create product gallery images uploaders. unfortunately it is not saving then ...
3
votes
1answer
82 views

Replace all of post's image URLs with upload directory URLs

On a WordPress website for a client, he's going to be posting articles with quite a lot of images in. When the post is saved/published, we need to be able to download/save these images to the server, ...
0
votes
0answers
21 views

Why are my 'medium' images the wrong size

In my media settings I have: Thumbnail size 131 x 87 Crop thumbnail to exact dimensions: yes Medium size 260 x 1000 Large size 560 x 800 But the_post_thumbnail('medium') outputs an ...
1
vote
0answers
31 views

Scaling an image in a WordPress post

I am currently building a WordPress theme and when I add an image using the add media button, I'm able to choose a scaling percentage to allow the image to get bigger or smaller within the modal pop ...
5
votes
4answers
203 views

Add image size if page template

I'm building a members website with WordPress Multisite. Is it possible to restrict how many images are being generated depending on the selected template? I have tried the following lines of code ...
1
vote
0answers
27 views

Retrieving Meta from Image Attachment

I currently have added a meta box to the media library popup using the following: // ADD CUSTOM INFO INSIDE THE MEDIA LIBRARY function AddLibraryFields( $form_fields, $post ) { ...
0
votes
1answer
19 views

Images getting corrupt automatically

I had switched theme of my blog, but when i opend my blog i saw there that thumbnail of posts( featured image) are not showing up. I moved to my old theme back but images are still corrupt showing. ...
0
votes
0answers
22 views

Theme Customizer uploads image size issue

I've made an option to allow users to upload a custom background image to their site using the Customize theme section of wordpress but I'm having trouble uploading large (in pixels) images. An image ...
0
votes
1answer
60 views

PHP code to call image Caption, Alternative Text, and Decription?

Is there a Wordpress PHP code to call an image Caption, Alternative Text, and Decription? I have several images with Titles, captions, alt text and Description fields filled and would like to display ...
0
votes
1answer
11 views

How can I hide previous_image_link() on first attachment page?

I'm using previous_image_link() and next_image_link() to show thumbnails in my image.php template page. I'm surrounding the thumbs with some styling, so need to be able to hide the whole previous ...
0
votes
0answers
18 views

Fetch and display Image stream

I would like to show on my website some images on a map. I.e. the user uploads an image and fills in his/her address. Then he/she can see his image on a google map when panning to the address they ...
0
votes
0answers
5 views

WordPress & Twitter Bootstrap image issues with stretching or max-width: 100% not working [migrated]

Using Twitter Bootstrap v3.1.1 I created a custom WordPress theme for a client. All was going well until I realized in IE and Firefox the images were showing full size and outside of the boundaries of ...
0
votes
0answers
15 views

How to Display HTML Site Images in Directory Above WordPress Installation

I have WP in a subdirectory of its own. I have two .htaccess files. The first is in the domain root: RewriteEngine on RewriteCond %{HTTP_HOST} ^automaticallynow\.com$ [OR] RewriteCond %{HTTP_HOST} ...
1
vote
1answer
55 views

All links to images are broken in a subdomain multi site environment

I've just installed a fresh copy of Wordpress 3.8.1, and then enabled the network feature using sub-domains. In cPanel, I have the wildcard sub-domain pointing to the Wordpress folder, and Wordpress ...
0
votes
0answers
27 views

thickbox to WordPress theme not working for front end user picture uploading

I use this piece of code in "WP-Member" plugin for profile picture, it is working fine but there is a problem. If I try to change the user avatar from front end, TB_iframe is not popping up, it is ...
0
votes
0answers
50 views

how to change featured image path according to “alt” property

when a featured image is added, the path for this image is http://domain.com/wp-content/uploads/filename for some featured image i would like to use only "filename" in the path do you know how to ...
0
votes
1answer
17 views

Media sizes aren't being created - server config?

I have 3 sites with WordPress on a RedHat Centos server. Everything were fine until days ago, when I needed to recompile Apache to use mb_string, so I did it using WHM "Easy Apache". But from then, ...
-1
votes
1answer
19 views

Custom Background Image per Page

Is it possible to send an image url via custom fields to the get_background_image function?
0
votes
0answers
49 views

Problem with Featured Image and database

I have an issue with with WordPress install which I just haven't been able to resolve... I have tried disabling all plugins and reverting back to default theme, but the problem remains. The issue is ...
0
votes
1answer
26 views

Getting featured image of blog page rather than post image

I have a page called "Blog" which uses "Default Template" (index.php). It has a featured image. I want to display this image, but when I use get_post_thumbnail_id(), inside or outside the loop, I get ...