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)

1
vote
0answers
31 views

Get image from parent category

I am creating a page which shows all post categories and image associated with the categories. Each category has a textbox for the user to paste an image's URL and the page will then display the ...
1
vote
1answer
9 views

SEO - Media File Name Updating

I've been asked to rename my images to better suit what they represent via keywords, for the purpose of SEO. However, I've noticed that modifying the media images name within WordPress doesn't in ...
1
vote
0answers
17 views

Images attached to posts from library link to 404 error page

Just building a theme but I am stuck with attachment images. When I add images from the library to posts (or pages) and link them to the "attachment page" I get a 404 error. The link is like "http://...
1
vote
1answer
24 views

Prevent image upload unless exact size

What I am trying to do is pretty special I think. I am using WC VENDORS PRO plugin. The sellers have 4 upload areas via the front end. They can upload a profile image, a store banner, and product ...
0
votes
1answer
16 views

List sub pages with custom field content converting image ID to URL

I am using the ACF plugin to create static (non-ecommerce) product pages. I am now making a page that lists all the sub pages with product name and the image added to the product_logo custom field. I ...
2
votes
2answers
43 views

How to insert a local image with custom size

I am not very familiar with PHP yet but I am trying to build a Wordpress theme. In one of my theme files I simply want to insert an image (located at the theme directory /img/image.jpg) with a link ...
0
votes
1answer
13 views

Change Wordpress Media Manager

On the previous versions the media manager was like this Newer Media Manager My Question is How can i change to the older version media manager ??
0
votes
1answer
32 views

WordPress PNG compression issue

I'm having issues with images getting badly compressed when uploaded to my site. It's not an issue with photographs, but is very noticeable for images with solid blocks of colour and text. I've ...
0
votes
0answers
11 views

Using a separate image server with WP

I'm interested in figuring out how to use a public image server instead of Wordpress' root image directory for managing media on a new Wordpress site. Background: Client currently runs a blog with ...
1
vote
1answer
28 views

Set spesific size of featured images

I am trying to reduce the loading speed of my webpage. Google PageSpeed Insights tells me to optimize my images. In the following code, how can I set an image size so that if the uploaded image is ...
1
vote
1answer
21 views

How to set the default embed image size

When a user adds media to the WYSIWYG, is there a way to set the default image size to large? It defaults to medium, I'd like this to be "large" without the user having to change the value.
1
vote
2answers
42 views

Add custom HTML to posts page

I want to add a header image via some custom HTML to the posts page but can't edit it with the pages menu in Wordpress. Is there a way to add the HTML in the specific PHP-File and which PHP do I have ...
1
vote
2answers
82 views

Bulk image rotation

I have just uploaded around 70 photos from Windows 10 into wordpress. While all of those photos in Windows are presented correctly Wordpress does not recognize their proper rotation. I may use ...
-4
votes
1answer
75 views

Isotope overlapping .items because of featured images - HELP! [closed]

I need urgent help as I'm having a nightmare with Isotope. All was working well through my desktop server but once live, Isotope items are overlapping (see http://www.skinsave.co.uk/30-2/) How can I ...
1
vote
2answers
29 views

How to add an image from web-link?

I currently have this code from a plugin. [imdbi meta_name=poster] This cache an Image Link, and it simply display the link, I want it to display it as an image. Is this possible?
0
votes
0answers
41 views

Responsive images for Retina ready images?

WordPress uses Responsive Images from WordPress 4.4 reference I have 1 Question & 1 Issue. ​Question​: Can I Responsive Images feature for retina devices??? -> Is Responsive Images uses the ...
0
votes
2answers
29 views

Does the title and description attribute of images ever get shown?

If the answer is case-by-case basis, check out this blog post: http://www.inquisitr.com/3078539/starting-in-west-virginia-bernie-sanders-could-win-8-of-the-next-9-primaries/ Does the title and ...
0
votes
0answers
34 views

Wordpress Invalid image URL when using media_sideload_image

I am using the wordpress function media_sideload_image to upload images from an external link like below: $url = 'http://pinnaclepublic.pinewoodsa.co.za/vehicles/plugins/ViewImage.aspx?guid=...
4
votes
1answer
53 views

How to limit number of images being printer out in “Set Featured Image” pop up?

I have wordpress web site which contains over 150 000 images and when you click on "Set Featured Image" whole server slows down. Another thing is that it take a really long time to load images. Is ...
1
vote
1answer
24 views

Wordpress Child Theme Calling Images

I am using a child theme but it does not display any images. I am reading a book which suggests the following: "There is a difference in calling images from parent themes and child themes: for ...
0
votes
1answer
47 views

How to setting up the custom size thumbnail for wp_get_attachment_thumb_url()?

I made a line of code to display a product category thumbnail on WordPress. The problem is, the size of my thumbnail is 150x150. I need to set in higher dimension. Try to apply thumbnail size but have ...
0
votes
0answers
58 views

WP 4.4+ Responsive Image Markup in Text Widget?

I'm slowly wrapping my head around the new responsive images features in WP 4.4. I've got it fairly well figured out now for our CPTs & default page/post content images. But is there a way to ...
0
votes
1answer
67 views

Problem with loading images from child theme CSS file with relevant path

I am getting an issue with loading relevant images within CSS file from a child theme directory. I placed - Sites: example.com OR sub-domain.example.com body{ background-image: url(/wp-content/...
1
vote
2answers
73 views

Get Meta from Custom Field of Image URL

I have a custom field that is an Image and the return value of the field is Image URL. I have custom page templates where I render these image fields. Is there a way to get the meta info for the ...
0
votes
0answers
16 views

Use remote image URLs as featured images/thumbnails [duplicate]

I'm working to migrate a site from Drupal (version 6) to WordPress (4.5.1). It has ~50,000 posts, almost all of which have one main image that appears in a large version on the post itself, and in a ...
0
votes
1answer
22 views

Automatically set full size for all my images in all my post and page?

I have near 800 post/page in my site and 3800 images. I actually set Large Size to 600px width but in my new theme i want my image width be 880px. So i would like to switch all my image to Full-Size ...
0
votes
0answers
43 views

What is WordPress doing with responsive images?

Complete WordPress noob building a custom theme here. My understanding is that WordPress (4.5.1) "handles" responsive images in the background, and that best practice is to upload the largest possible ...
0
votes
1answer
13 views

How do I routinely extract the thumbnail of the most recent post?

I would like to write a PHP snippet that can communicate with Wordpress. When a new post is published, a file today.jpg will be generated from the thumbnail url (a custom field) of the most recent ...
0
votes
1answer
27 views

Is there any hook to change media html in post? [duplicate]

When I add image to a post, wordpress makes this html format in theme. <p> <img class="aligncenter size-full wp-image-455" src="http://localhost/pb/wp-content/uploads/20116/04/huracan-...
0
votes
1answer
23 views

Help to upload post attachments from Ajax

My problem is that I cannot upload post attachments from a frontend form. I send data through AJAX to my php files containing functions. Let me be clear: everything is working great, the post is ...
0
votes
2answers
28 views

How can I alternate styling of images in a post? [closed]

I'm working on a theme for a travel blog and the author likes to insert small images in the text of their posts (an example is here). I want the images to alternatingly float left or right (so the ...
0
votes
0answers
21 views

Image upload - Cannot modify header information

i have an issue out of nowhere. Since a few days the upload of images doesnt work in 9 of 10 cases. The progress bar climbs to 100% but then everything stops and when going to the media library the ...
0
votes
1answer
12 views

Recent posts with featured image or fallback image with permalink

In my sidebar.php I have some code that prints the recent comments. I could not share the complete code here because of the formating restrictions. You can find the code here: https://codeshare.io/...
0
votes
1answer
38 views

How to get attachements URL from author meta and display them?

I created a form for edit author with "WP User Frontend" and I use a custom meta field for multi upload images that can upload 6 images, with meta name 'management_certi'. My problem is I can display ...
0
votes
1answer
9 views

click on Gallery picture but pictures doesn't appear

When I click on the gallery pics I get the hover name it shows a circle of arrows that it is working but no pics show up. The website is: http://www.jeremyscircle.org/en_US/gallery/ Please help
1
vote
3answers
81 views

How to reduce original image quality on upload?

I know that I can use the jpeg_quality filter like this: add_filter('jpeg_quality', function($arg){return 75;}); This will reduce the image quality of the images generated during the upload process ...
2
votes
0answers
70 views

Add aditional class to get_avatar when showing image

I want to add bootstrap img-responsive and img-rounded classes to avatar image when displaying one. But for some reason the class is not displayed when using get_avatar. By WordPress codex there is ...
0
votes
1answer
39 views

How to get the title of the random images from media library?

I am displaying random images in my homepage. My problem is, I can't get the title of the images to show in lightbox. Here are my codes. Codes that gets the images from the media library function ...
0
votes
1answer
36 views

One of my image sizes isn't showing up in srcset

So for I've added some custom image sizes like this: add_action('after_setup_theme', 'image_sizes_setup'); function image_sizes_setup(){ add_theme_support( 'post-thumbnails' ); ...
1
vote
1answer
18 views

Modifying protexted image sizes: use “add_image_size()” or “update_option()”?

I'm finding conflicting info on whether it's okay to override protected WordPress image sizes (thumbnail, medium, medium_large, and large) with add_image_size(). Some docs indicate it's better to do ...
0
votes
3answers
43 views

Division by zero error in image.php

Checking my error log on the server I continually see the error: PHP Warning: Division by zero in /public_html/wp-content/themes/sass-wordpress-bootstrap-master/image.php on line 95 Here is the ...
2
votes
0answers
37 views

How to implement secure frontend image upload? [closed]

I would like to implement an public image upload in my Wordpress Theme with ajax. What's the secure way to do this? I have read many about security problems when allow users to upload files to the ...
-3
votes
1answer
19 views

How to get the attribues (alt and title) of an image import with ACF [closed]

I use the ACF plugin to build oone of my page. Inside this one, i load 4 images. How can I get attached image alt ? I tried with "$alt = get_post_meta( $attachment->ID, '_wp_attachment_image_alt', ...
0
votes
0answers
16 views

Wordpress Switching from Dev to Live URL - Database [duplicate]

So I was working on a WP site with a staging URL. When it was time to go live I thought I could just change the WP_HOME & WP_SITEURL in wp-config.php and live would be good. I quickly realized ...
1
vote
1answer
1k views

Divi Theme - images not showing on front page [closed]

I have been using the Divi theme for this site (http://www.evaecho.com) but all of a sudden without changing anything the images are not appearing on the front page (they are for all other pages). ...
0
votes
1answer
20 views

How to relocate images

I need to move all images attached to posts of a specific category (MyCat) from its current standard location (/uploads/year/month/) to a specific category folder (/uploads/mycat/). For instance: /...
0
votes
1answer
77 views

the_content not showing responsive image attributes srcset or sizes

I'm using WordPress 4.4.2, but am unable to get the new responsive images functionality to appear for the_content. It works for featured images, just not the_content images. I have no plugins ...
0
votes
1answer
15 views

How to apply image alt descriptions from media library?

Consider this hypothetical: I upload photo.jpg to my media library, but DO NOT provide an alt description there. I then use that photo across several different pages of my site. Ideally I would ...
0
votes
2answers
178 views

Gather posts into a cart/lightbox and share with another user

Ok I've almost completed a Wordpress site that is a multi-user Image Library. This is a private site, where users must be logged-in to view it. The average user cannot get to the backend (wp-admin) ...
0
votes
2answers
203 views

Keep image EXIF info after compressing original image?

After testing I realized that Word Press after image upload will make medium and thumbnail sized images of original image without EXIF/IPTC info I realized it is because GD image library is used on ...