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
46 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
40 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
42 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
22 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
16 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
27 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
21 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
12 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
62 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
13 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
12 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
73 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
22 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
88 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
61 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
12 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
22 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
34 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
64 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
101 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
124 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
34 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
269 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
23 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
33 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
114 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
45 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
12 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
24 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
2answers
87 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
32 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
22 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
31 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
22 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
34 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
22 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
40 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
0answers
75 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" ...
0
votes
2answers
55 views

Featured Image metabox lost

I can't get the Featured Image metabox and taxonomy to show up on the edit page for the default post and page post types. it does work for the custom post type I've created using a plugin. It just ...
0
votes
2answers
142 views

Resize image to specific dimension (X to Y ratio)

I've tried to add my custom image size like: add_image_size('224_226', 224, 226, false); I need resize all images to same size what i define in style, when i've uploaded file - Wordpress resize it ...
0
votes
1answer
50 views

Can I register a new thumbnail size and have it be an option in “Add Media”?

I would like to have a smaller thumbnail - 50px X 50px. Right now I have to add media 150px and reduce each one by drag and drop. Can I add another option besides thumbnail, medium and full size to ...
0
votes
1answer
145 views

Background image call problem

I simply can't find the correct way or working way to do this. I've made an alternative header and added an option with redux theme option to have the alternative header. I've also made a ...
0
votes
0answers
131 views

Uploaded images are broken until edited with WordPress

My WordPress site is quite old and uses a custom theme, but is updated to the latest version of WordPress (4.3.1). Whenever I upload images using the standard Media Library uploader the thumbnail ...
0
votes
0answers
8 views

Wrap <figure> for image inser from url?

I have checked here Always use <figure> for post images but it is not used when I insert image from url, it appears like normal in editor not wrap figure tag. Someone can help me ?
0
votes
0answers
15 views

Is it possible to migrate EXTERNAL image links from one server to another?

All the images on my blog have been hosted in SERVER_1 with a propietary internal URL similar to http://server_1/09870987/random_digits/file_1.jpg I'm now thinking about moving all those images that ...
0
votes
1answer
24 views

Wordpress Is Saving Original Image Only

I have spent a few days wrestling with this issue. I have also searched for a similar question to no avail. When I upload a new image, The only file being created on the server is the original image. ...
0
votes
1answer
38 views

WordPress İmages Upload & Delete Error

i get this error when i am making a list in the admin panel for the codes beneath i will send a screenshot of the error i need to do the deleting operation apart from listing, im waiting for your ...
0
votes
0answers
20 views

Images in plugin broken after URL migration

I have a portfolio plugin that was part of a theme I paid for. The plugin doesn't actually show up in the plugins list of the WP admin console. My problem is that, since doing a migration from one ...