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

Wordpress creates unused (unregistered) image sizes

I have a news blog created on WordPress. I've set up WordPress to create 3 resized versions of images when uploading them. 315x215(featured image with cropping option enabled) 620x (to create images ...
1
vote
0answers
12 views

Open the attachment details modal

The newer versions of WordPress, and possibly older ones, open an attachment details modal window when an image is selected in the media library. Is there a way that I can open this modal on a ...
0
votes
0answers
15 views

Gallery of full-sized images from a specified source, paginated or lazy-loaded

I've been playing around with various image gallery and lightbox plugins, and I've come to realise that the best thing for my needs is something much simpler visually, and I wondered if it could be ...
0
votes
0answers
9 views

Thumbnails crop setting doesn't show

When I set crop area in edit image panel usually I have area "Thumbnails settings" where I can choose that this new image size should be used for all image formats or only for thumbnail. I updated ...
0
votes
0answers
16 views

Image Uploader not generating Thumbnails and showing Image URL

I have a WP site and image uploading was working fine and it was creating thumbnail but now its not working. Adding image to post and publishing also not showing image. My site is comicsforest.com ...
0
votes
2answers
1k views

How to call Wordpress First Image Post or else Attached Image or Default

Can anyone help me develop a wordpress script that [IF] will get first image post and if it doesn't exist it will [ELSE] get first attached (uploaded) image. Theoretically: [IF exists] <img ...
0
votes
0answers
18 views

WordPress Site not working only on my pc after upload Image [on hold]

I have a tutorial site http://www.tutoground.com/ I am trying to upload some images and it stopped only for my PC I have also discussed for it with hosting provider. there is no issue at their end. ...
0
votes
1answer
8 views

Images inserted into pages are set to display:none

I'm currently working on a WordPress site and I'm running into a strange issue that I can't figure out. When I try inserting images into the pages, the markup gets changed automatically when the ...
0
votes
2answers
16 views

Show single image views count [on hold]

Is there any way to show views count for each single images of media library?? I want to show view count for all images on WP published pages.
0
votes
0answers
22 views

How do I include pre-installed images in a theme?

If I made a theme or converted an HTML one into Wordpress, how do I include images so that they sort of come pre-installed with the theme? Is there a way to do it by pre-programming it or the only ...
0
votes
0answers
10 views

How to Remove Child Theme feature image

I am using cafepro child theme. Here http://www.wpthemedetector.com/ showing cafepro image. I want to change my image. How can i do it?
0
votes
3answers
42 views

Whats causing image quality to be degraded?

I'm currently developing a site - http://www.shoplikeits1999.com/ - and I've been struggling to figure out why image quality is deteriorating in the "product grid" layout (below ...
0
votes
1answer
20 views

Scrape a webpage for image and add it to post

I was wondering if there was a way to scrape an external webpage for its first/best image and add it to a new post in Wordpress. This seems like it would not be too complicated, but I can't seem to ...
0
votes
0answers
32 views

image_send_to_editor filter - Unwanted paragraphs and line breaks

I'm using image_send_to_editor to filter the output the images that are inserted to my posts. The filter works perfect except for when I'm updating/saving the post. A new paragraph with a line break ...
0
votes
0answers
10 views

Get post attached in sequence

I'm trying to do a reader, that will take images that are attached to the post.Kinda like a comic book reader, which has a button to the next image. However only saw snippets that show to catch the ...
2
votes
3answers
3k views

Need help building a filter to edit the output of “image_send_to_editor”

What I'm trying to do is edit the output of image_send_to_editor so that i can make the anchor that wraps around the image have a specific class & rel. I plan to basically make each image that ...
0
votes
0answers
9 views

Gallery images stored elsewhere (preferably Google Drive)

I host client galleries on my website using the standard WP gallery but the disk space costs a lot this way. I was wondering if there's a way to show pictures in a gallery that are loaded from ...
0
votes
0answers
11 views

Masonry with imagesLoaded

I followed the instructions in here and it works fine on everything except Chrome (not tested on Safari yet). I believe it is because of the imagesLoaded is not loading before masonry. Any thoughts on ...
0
votes
1answer
352 views

Changing logo image in header.php upon language detection

So i'm designing a website that will feature the Polylang plugin for automatic language detection, but I've run into a bit of a wall with the logo image. It resides in header.php, but I can't think of ...
0
votes
0answers
14 views

After I upload a file to library its name converted to dashes

I've a problem when I upload Attachment file (any extension) with Arabic name, for example اسم الصورة.jpg, It renamed to -------------.jpg ! I've plugins to crop the uploaded Image, I tried to ...
0
votes
0answers
6 views

My customizer's setting doesn't set to the default and needed to click the control's “Default” button before it'll be set

Here's my sample customizer's setting and control: $wp_customize->add_setting( 'themename_img', array( 'type' => 'theme_mod', 'default' => ...
-1
votes
0answers
10 views

Is there a plugin to return the optimum image size? [closed]

I have a responsive theme that uses full size images to fill all screen width. If I use a full size image the result is that the image will fit to any screen width BUT it'll take longer to load the ...
4
votes
1answer
69 views

Is there a simple way to just insert a link to an image (without inserting an image)?

I'm pulling my hair out with this, it seems so simple, but there is no easy way in WP (that I can find), and no plugin that will do the following: In a post, I want to select some text, and then add ...
0
votes
1answer
887 views

limit number of images shown from gallery

I'm not sure if I'm doing this the right way.. I want to display 4 random images as part of the header of a page. I created a post called Header Images and inside it is a gallery with a bunch of ...
0
votes
0answers
14 views

how to set as responsive the attachment images in wordpress post

I am using wordpress 4.2.2 on windows 7, testing my website with Wamp server before publishin definitely on a live server on the wwww. SO far so good, but tonite I encountered a problem. I could ...
0
votes
0answers
6 views

Save the outputted image into the Media Library, with a different filename and extension

For example, I have this "/image.php" file in my "/theme-directory": header ('Content-Type: image/png'); $im = @imagecreatetruecolor(120, 20) or die('Cannot Initialize new GD image stream'); ...
0
votes
0answers
5 views

How to connect media files to links from posts?

I'm having a hard time figuring this one out. I have a website being transferred from a totally different platform. It has over 2000 posts and the hold over 10000 images. I have managed generating ...
0
votes
1answer
13 views

How to reference a theme image in a stylesheet?

I have a global element as part of my theme and I need to reference and image as a background image. I need the URL to the image. I assume that it's bad practice to hard-code the URL and that the URL ...
0
votes
1answer
446 views

Site migration - some images not displaying in Media Library

After migrating a site from the live server to my test server (different URL), some of the images (not all) are not displaying. The src is correct, image is in the uploads folder, and everything ...
0
votes
1answer
16 views

Image to only show up in the single post page, not on the blog/home page

I'm new to WP, and I'm working on a custom theme. Images in posts show up not just on the single post page, but on the blog/home page too(where the recent posts are listed). I want them to only show ...
6
votes
4answers
260 views

Generate Thumbnails only for Featured Images

I would like to know if there is a simple way (custom code or plugin) to create thumbnail sizes only for images that I intend to use as featured images (index.php, archive.php, etc.) , but not for the ...
3
votes
4answers
148 views

Dynamically add titles to post images if they are empty

I have a client's site where they want to add image title attributes dynamically to images that don't have one already. So if the title attribute is empty, add a title of whatever the post title is. ...
0
votes
0answers
11 views

How do you avoid slider images on mobile from getting warped? [closed]

For whatever reason, the slider images on the site I'm developing - http://www.shoplikeits1999.com/ - are getting compressed horizontally on responsive layout. This isn't happening to the other ...
0
votes
1answer
408 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
601 views

Disabling auto-resizing of uploaded images

Whenever I upload a large image, it gets resized to the width of the post. This will be a negative feature for comic reading sites. I need to display the full width images, which I can resize when I ...
0
votes
1answer
42 views

Scrape external webpage for first image and add it to new post

I'm looking for a way to scrape an external page for its first/best/largest image and insert a copy of that image as the featured image of a new post on my Wordpress site. The way that I was hoping ...
0
votes
0answers
9 views

Bulk delete posts with no featured image

I need to mass delete some posts that dont have a featured image assigned. Is it doable with a sql query? The only thing I could do, was to retrieve orphan posts ID as a list. Please help! :)
0
votes
0answers
25 views

How to scrape data from a URL and put it into a post

I'm looking for a way to allow users of my site to enter a URL into a form field and have it scrape that URL for a <title>, <description>, and the first image on the page, of which it will ...
0
votes
3answers
2k views

Height and width attribute not setting by the_post_thumbnail

I am using following code to display images in home page: if ( has_post_thumbnail() ) {the_post_thumbnail('postbox-thumb') But the output of the above code does not have height and width of the img ...
2
votes
1answer
2k views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
0
votes
2answers
478 views

Modifying an uploaded image with 'wp_get_image_editor' and 'wp_handle_upload_prefilter'

I'm trying to intercept an image upload, resize it and then just let the upload continue. I'm using the filter wp_handle_upload_prefilter that passes as an argument a single file $FILES array. I ...
0
votes
2answers
34 views

How do I get a post author's image/avatar via RSS from another blog?

I have 2 websites: one is a company website, the other is a blog for the company - these sites are on separate domains. On the homepage of the company website, there's a square tile featuring the ...
0
votes
0answers
11 views

Photos page, to display photos from content library

I want to make page that would be called Photos and would have chosen photos from media library, each one linked to its media file. For example something like Facebook albums. It could be done with ...
9
votes
8answers
17k views

How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?

I'm using a plugin called Simple Local Avatars which lets me upload author images which are stored on my server locally (no Gravatar). The plugin works fine and get_avatar returns the local avatar. ...
0
votes
1answer
12 views

Edit image itself

In the back end in media library when i edit image it allows me to edit almost every thing except the image it self or the image source, so how to change the image source without changing the id of it ...
0
votes
1answer
35 views

Url link to feature image in the portfolio wordpress [closed]

I am new to Wordpress. i have issue with Feature image. just i need to add URL to feature image(when we click on that feature image , it should redirect to that particular URL). also is it possible ...
0
votes
1answer
15 views

How to implement CSS-defined images from bootstrap site in wordpress theme

I am making my own theme from a Bootstrap 3 site that I designed. How do I best implement images that I defined in the CSS in WordPress so that I can change them later and they reference the media ...
0
votes
2answers
461 views

How to change the order of elements within a post?

I have a site with several thousand posts. They all have just a single attached image of varying size. All posts are displayed in full (no thumbnail view). I'd like to be able to change the way the ...
0
votes
0answers
22 views

Removing Images from a WordPress Post

I wanted to remove the images from a WordPress post to give me more control of how I could layout the design for the front page of a website. After doing some messing around and failing, I finally ...
1
vote
1answer
314 views

Process uploads with phpThumb before generating thumbnails

I was wondering if anyone knew a way (via function, plugin, or another method) of using phpThumb to process an image on upload, and then for Wordpress to generate it's usual image sizes from both the ...