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

Upload image not working

I uploaded an image in wp-admin Media > Library. The image was saved as upload/2015/11/image.png, and is accessible from /wp-content/upload/2015/11/image.png, but it does not appear in Media > ...
0
votes
0answers
70 views

How to avoid Wordpress stripping EXIF metadata when resizing images?

Metadata is information about an image, and can be included in JPEG image files. EXIF metadata is information about the image recorded directly from the camera – for example, the exposure time and ...
0
votes
0answers
28 views

What is the best way to handle Ajax image upload on front end?

I have been searching around for awhile but haven't found a solution yet. For this question, I like to get some general answers or resources for implementing AJAX image upload in front-end form. ...
0
votes
1answer
13 views

Cant pull in featured Image

I have 6 posts with a featured image set for each. I have created a template file called portfolio-template.php. I have set the portfolio page to use that template file. Inside portfolio-template.php ...
0
votes
1answer
54 views

How To Query All Attachment Images Found In Post Galleries

I'm trying to create an image gallery which is comprised of all of the images attached to posts. The query below works well, but it ends up with all attached images rather than just the images ...
1
vote
2answers
41 views

Best practice for migration friendly images in posts/pages?

So I'm developing my sit in a WAMP environment with URL http://localhost:8080/wp1/ with the eventual plan to migrate it to live on the interwebs. I just noticed in my pages when I upload the images, ...
0
votes
2answers
44 views

Find unused images?

Is there a reliable up-to-date way to find media that resides on the server but is not used in the WP site? I have found a number of plugins, but all are very old, with lots of negative comments to ...
0
votes
0answers
85 views

Unrecognized image file after upload

I'm creating an iOS application using AFMultipartFormData AFNetworking to upload an image onto Wordpress site. On the Wordpress server side, the following data was received when I echoed $_FILES: ...
0
votes
0answers
20 views

Save & echo Image in Input - Admin seting page

in functions i have user code create fields get image url add_action('admin_menu', 'baw_create_menu'); function baw_create_menu() { add_menu_page('PH Plugin Settings', 'PH Settings', ...
1
vote
2answers
104 views

How to display a page's featured image?

I want to get the URL of a page's "featured image", as I want to use the page's featured image as the background image for the banner at the top of the page. The background image for the banner ...
0
votes
1answer
105 views

Need to echo category id in multi-dimensional array

I have custom post types and categories created with the Types plugin. I have category images allowed/created with the Categories Images plugin. I have a loop that displays the posts of a category ...
1
vote
1answer
82 views

Modify Image Source With The_Content Filter?

I'm very inexperienced with regex, however I'm trying to create a function that filters through the_content() and get_the_content() in order to modify the SRC of all images. The intended purpose ...
0
votes
0answers
80 views

Woocommerce new order admin email product thumbnails don't appear because of space character!

I would like to show the product thumbnails in Woocommerce new order admin emails. I have read some articles about how to do it and I changed the propriate line for this: ...
0
votes
1answer
30 views

1px black line appearing down right side of thumbnails (theme snaps) [closed]

For some reason on most of the thumbnails there is a black 1px line to the right of the image. This looks to be a cropping issue or something but there is a 1px thick line on the right hand side of a ...
0
votes
0answers
19 views

Resized Images get transparent for certain sizes

I am using Wordpress 4.3.1 with the Minamaze free theme. I changed the base URL and everything went fine, except for the images in the 3 featured areas in the home page, that - resized - become ...
0
votes
0answers
18 views

Featured Image with specific width or height in percentage

My site has the post featured images in the main page, but shows them cropped. What can I do to change it so it doesn't do the cropping and degrade the quality?
0
votes
1answer
37 views

Customizing individual images on posts

So I'm trying to customize the output of single image in my posts, adding custom divs and classes. I found a good tutorial online here - How to wrap every image in a post with a div? The function ...
0
votes
2answers
22 views

big trouble with javascript

I have some js scripts that are working on my site but I have found that some of the images are not showing up. I only have this issue with WordPress. So I have a pause button that shows as it's ...
0
votes
1answer
19 views

Is there a way to get attachment data?

So, I'm no big fan of how WP stores images (image data) and I was hoping there had been made some improvements in version 4.x. But alas no. When I say image data, I mean url, title, caption, alt ...
0
votes
0answers
129 views

Use URL query string in img src attribute

I'd like to display images of my custom fonts on my (private) WordPress site. The font-creation website I use, FontStruct, has a URL-accessed tool for rendering a line of text in a specific font. ...
0
votes
0answers
18 views

can a user be forced to enter alt text?

Is there a way to force a user to add alt text to an image? Something like, if they don't add alt text when they upload an image, a big red box will surround the alt text entry line?
0
votes
0answers
13 views

Zero size SVG in WP

I have enabled SVG image in WP according this recipe. Now I have problem during insert image from Media to site. It looks image appears with zero size and is not visible. How to fix this problem?
0
votes
2answers
178 views

Allow SVG in WP step by step

I'm not strong in WP programming, bu I try to understand what to do to enable SVG in my site. I found that in need to add function below to functions.php: /** * Add SVG capabilities */ function ...
0
votes
0answers
24 views

The same picture looks different in different WP sites with the same theme

I have pictre shown below that looks differently when I place it to different sites that are created on the same theme: In site No1 it looks normal, like in my question body: In site No2 ...
0
votes
2answers
164 views

convert post title to image

Im trying to convert the post title to an image. i created a php file in the theme folder image.php with the code UPDATE: working code require_once($_SERVER['DOCUMENT_ROOT'] . '/wp-load.php'); ...
0
votes
0answers
94 views

How to upload iPhone 6s photos using native WordPress app?

I used to have an iPhone 4s and used the WordPress app to upload photos to my blog. I just got a new iPhone 6s, and the camera has much better resolution. When I try to upload an image using the app, ...
0
votes
0answers
20 views

Attempting to add an imagemap/ content to Front Page — shows up only in meta description

I'm dealing with a nasty old theme for a friend that uses a huge slider as its homepage background image. I'd rather not scrap and recreate the site, as back in the day I put in a good amount of ...
0
votes
0answers
39 views

Custom Wordpress Frontend Image upload - add description as post_content?

I have a form with 3 image upload fields. The Upload works fine and the images are attached perfectly. Now there's the problem that I have had to add a description field into the form - one for each ...
0
votes
1answer
36 views

Redirect Causes Missing Images

I recently built a new internal network using WordPress called inSite. Our staff can access it just by typing in insite in their web browsers or by typing in the complete address: insite.foo.edu while ...
0
votes
0answers
111 views

Image Expires Headers Not Working

I want to implement image expires header, in my wordpress site I tried this code in htaccess <IfModule mod_expires.c> ExpiresActive on ExpiresByType image/jpg "access plus 1 month" ...
0
votes
0answers
905 views

Divi slider images not appearing

I've been using the divi theme for my website, and all of a sudden the images in the sliders haven't been appearing. In the html the image is there, but it's opacity is set to 0. Also, the slider ...
3
votes
1answer
212 views

How do I detach images from posts?

Firstly I've seen some topics like this, but they haven't helped me. I've attached some images to a post via "Add Media" : And for showing these attached images, I used following code in ...
0
votes
0answers
53 views

How to make Facebook share the featuterd image from url on Wordpress

I use this function to add the featured image from url on wordpress "Is it possible set a featured image with external image URL", but when i share the post on Facebook, Facebook doesn't grab the ...
-1
votes
1answer
393 views

Allow users to download media files directly from Amazon S3 (AWS plugin)

A site I'm working on hosts an image library we encourage users to download files from. We're using the AWS plugin by Delicious Brains to host our static content on a separate server from the main ...
0
votes
0answers
26 views

Image Gallery / Thumbnail for Theme Framework through plugin form

I'm using WPUF plugin form in order to submit custom post_type from frontend and I need to implement the form to themes framework, so it can set the thumbnail / gallery in submitted posts. I ...
0
votes
1answer
40 views

Show last 12 uploaded images on home page, but only from posts

I want to show the last 12 images that were published with articles on my front page. This is the code to get the latest 12 uploaded images, but i want to show only the ones attached to a post ...
0
votes
0answers
252 views

Image rotation issue (horizontal picture uploading as vertical) — Exif issue?

I am building a classifieds site on WordPress where users can upload their ads/images from front-end. However, when horizontal pictures are uploaded, they upload as vertical. I looked into the issue ...
0
votes
1answer
67 views

Background image not appearing

I'm trying to add a custom background on a child theme. In the child theme's functions.php, I add add_theme_support( 'custom-background'); and the background option appears under the "Appearance" menu ...
0
votes
0answers
14 views

Set WordPress to Create different images format later, not during upload

I have an issue with the upload time. I allow users on my site to post step by step tutorials, and they often contain a lot of images. That makes the tutorial posting time very long, sometimes even up ...
0
votes
1answer
32 views

How do I set a specific size for my image?

How do I set a specific size for my image? For example, I want my image size always be "800px" width and "600px" height. When I upload the any images, it should be that size. It should be responsive ...
0
votes
3answers
200 views

Full width images within post content

The content of the post is contained in a div which is centred in the page and thus any images in the post would be constrained to the width of that div.The image below illustrates what I would like ...
0
votes
0answers
36 views

How to ensure all image attachment page urls are using the filename and not the title?

I noticed something strange. On just a couple of posts, where the title differs from the filename, but not all, it uses the title instead of the filename. For example, take these two images: ...
0
votes
0answers
33 views

How to add custom thumbnail size to media library's display settings / size?

I have added a custom thumbnail size in the functions.php of my template like this: add_image_size( 'post_mainpic', 750, 250, array( 'center', 'center' ) ); Now I want to be able to select that ...
1
vote
1answer
50 views

Print specific image size in galley loop

I have the below loop and would like to print a specific thumbnail size, as this loop currently prints the full size image. How would I print a smaller thumbnail? while ( have_posts() ) : the_post(); ...
0
votes
1answer
67 views

Is possible to do this from function.php

In my single.php (my template Luna) I have this code: <?php if ( has_post_thumbnail( $post->ID ) ): ?> <header class="page-entry-header" style="background-image: ...
0
votes
0answers
36 views

Total Number of Images in a Default Gallery

I am trying to get a unique count of images in a given gallery (the default gallery). I would like to find both the total count of images, as well as the current image. For example, "Now showing ...
1
vote
1answer
40 views

Is there a way to change wordpress image resize settings?

Websites nowadays tend to have big banners and big images. Thus when developing sites we try to optimize these images as much as possible. However, when wordpress resizes these images, it does a ...
0
votes
0answers
39 views

Point Image URL to Subdomain on Multisite

On my 4.3.1 multisite install, I'm using a subdomain mapping plugin for a few of my sites. However, on subdomain sites, any lightbox function or plugin that uses WP's gallery shortcode and (should) ...
0
votes
1answer
49 views

category image taxonomy

I was using this solution for my problem, create a taxonomy for images without using any plugin, finded here: How to add upload field in a custom taxonomy? This is the code I use: function ...
0
votes
1answer
135 views

Add “data-” attribute to image links

Is it possible to add an attribute and value to image links? I currently have: <a href="#"> <img class="img-responsive aligncenter wp-image-1286 size-full" src="#" alt="..." width="858" ...