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
32 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
64 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
0answers
17 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 ...
0
votes
2answers
115 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
1answer
15 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
55 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
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 ...
0
votes
1answer
71 views

Url link to feature image in the portfolio [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 ...
1
vote
1answer
66 views

How to show only posts with images?

I want to hide posts without images on the front page, so I need get an array of ids of those posts. I know how hide posts on the home page by id, but I need to show only posts with images. This is ...
3
votes
4answers
176 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
30 views

Cropping image results in image being too small

This is the wordpress version 4.2 powell I crop 1500 x 1000 and then press on crop, then save. Resulting image size: 1497 x 1000 I don't know, I somehow hoped that wordpress is able to bloody ...
1
vote
1answer
32 views

How To Get The File Extension Of Images Having Different Extensions In A Directory?

I am posting this in Wordpress because I am working to get the featured images of all the plugins in the wordpress repository. http://plugins.svn.wordpress.org contains the images I want. BUT, the ...
0
votes
0answers
39 views

Custom WordPress Theme - No Slider(s) Images

So I created a custom WordPress theme and the final thing what I need to add and create is a home page slider. But, whatever slider I'm installing, I cannot see images inside that slider. I've tried ...
0
votes
2answers
118 views

Broken urls with http site and https wp-admin

I am currently using a wordpress installation in which all the website is intended to be shown in http while the https part is protected by a self signed certificate, distributed manually to the ...
1
vote
1answer
277 views

Making WordPress Gallery (.gallery-item) Responsive?

Shortcode for Gallery: [gallery link="file" columns="5" size="medium"] I’m using a 5 column gallery on an inner page of a website, obviously when the site responds down to mobile and even tablet ...
0
votes
0answers
49 views

Uploaded Images Not Showing

I'm trying to upload images to my website through the media library and the upload goes just fine. However the images won't shown, not in the gallery neither in posts. When I go to the link of the ...
0
votes
1answer
100 views

JSON API Plugin not showing Attachments id reused

First of all, I am talking about this plugin: https://wordpress.org/plugins/json-api/ So now regarding my problem: The plugin is working fine and without any problems. All attachments are showen for ...
0
votes
0answers
18 views

How can I hook and edit on the fly an image uploaded

I'm new in wordpress plugin development and I'm trying to hook my function to one of wordpress's upload / attachements functions. My target is to: - hook to wordpress function (I've tried: ...
0
votes
2answers
28 views

Get image from one page and show/add it on another page

We have one custom requirement that when we add an image (suppose a car image) in the homepage, after that when I'm creating a new page, I always want that car image to appear on the right hand side ...
0
votes
1answer
56 views

Update all images url imported from HTML pages

I have to copy content from different website. I copied whole webpage and paste it in my post. All works fine. I also get images in my post but they are still linked to older website. Is there any ...
0
votes
2answers
30 views

Adding featured image messes up page layout [closed]

I got someone to design the wordpress side of my site and now I need to try to understand what they did and would be grateful for advice.I have a Page that shows sections and stages (which are ...
0
votes
1answer
55 views

How to replace all images in all posts and pages with a different size?

I'm about to reboot an old blog of mine and therefor I'm creating a new theme from scratch. Before I'd align pictures left and right, because it seemed good. But now I want to make it much cleaner and ...
0
votes
0answers
48 views

wp_get_attachment_image_src() regenerate custom size images everytime

i try to make simple gallery from post's attachment images with custom sizes. i wrote simple loop: $original = array(); $gallery = array(); $gallery_min = array(); $imgs_args = array( ...
1
vote
2answers
36 views

Generate image for newly added size

I have added a new image size to a wordpress site with lots of images already present with all their thumbnails. Is there a way to do this: given the post using a specific image, get the attachment ...
0
votes
1answer
36 views

How to show images uncropped after uploading?

As you can see, I've uploaded an image of book. Whenever I upload images, wordpress seems to crop it all the time. Is there a plugin or a code I can put to where it will show the whole picture ...
0
votes
0answers
19 views

Anomaly with response coming from XML RPC Api get Post (integer out of range)

I am getting the following xml snippet back from a getPost call... <member> <name>image_meta</name> <value> <struct> <member> ...
1
vote
0answers
88 views

Show image EXIF info

I am working on image gallery site. On test site (which is on shared hosting) I created and tested theme and plugins. I know that WP store some extra info about image during image upload (EXIF/IPTC ...
0
votes
0answers
14 views

Only i can see that the images are missing, but other user see them just fine showing

Im using the newest version of the newspaper theme. I’m also using the Wp smush pro picture size reducing plugin Can you help me on a very odd problem. Only on my computer and also when the article ...
0
votes
0answers
103 views

Removing default alt text autofill or overriding it

What I'm trying to do is check if the user has entered the alt text for an image, and if not, then add alt text containing the post title to the image. I found a function that does this here: ...
2
votes
1answer
84 views

Get Attachment ID from URL [duplicate]

I have the URL of an image which I know is an attachment. Now, I need to find out the attachment ID. This is what I've got (thanks to PippinsPlugins): // retrieves the attachment ID from the file ...
0
votes
1answer
45 views

Images not showing on homepage after migration [duplicate]

I have a website with one section not displaying images after migration, the src attribute returns empty urls, the site is intpro.co.zw and the section im referring to is on Latest Properties What ...
0
votes
0answers
33 views

Featured image on page set as “Posts page” in Settings > Reading

Settings > Reading is set to "Actualites", which is a static page I created that uses index.php as template. In it, the_post_thumbnail() doesn't work (although I set a featured image in my ...
-1
votes
1answer
156 views

If image width bigger than height [duplicate]

I'm making new theme with bootstrap, and having little trouble setting up content. Firstly content is set up like this: <div class="row"> <div class="col-sm-12"> <?php ...
8
votes
1answer
197 views

How to change image type for specific size?

I am optimizing a site with large (dozens) quantity of images on page in a grid. For retina support the images are also need to be 2x sized. The low hanging fruit was to make sure the thumbnail sizes ...
1
vote
1answer
168 views

Understanding and altering the structure of posted images

Currently this is the (default) Wordpress image output: Float left, with caption, link to img <figure id="attachment_10220" style="width: 167px;" class="wp-caption alignleft"> <a ...
0
votes
0answers
25 views

Cannot upload any image into wordpress after changing from multisite to single site

I have recently changed a site from multisite to single site by changing and commenting the parameters in the wp-config.php. After doing so I cannot upload any file into the media library. The upload ...
0
votes
0answers
11 views

Custom Image Sizing in Content Editor Uses Small Image

I'm trying to use the custom image size option in the Add Media part of the Content Editor, and when I do, it uses the Medium image as the base for the resizing, which results in blurry images if the ...
0
votes
1answer
80 views

using media_sideload_image with a file from theme directory

I'm building a Wordpress site in which an admin can upload a video file from post metabox. After that post is saved and the video file is attached to the post, I used ffmpeg to get the screenshot at ...
0
votes
0answers
19 views

How to pick up featured image from set of pictures

I'm trying to create front end form for posting. The following questions are concerning me so bad. How can I set a featured image? I tried set_post_thumbnail($pid, $newuploadid); but nothing happend. ...
0
votes
0answers
13 views

Image URL Recently became Image Name and Took Page URL of Same Name

With a recent update to either wordpress, my theme or the Yoast plugin, we realized that any image with the same name as a page on our site has taken over the URL of the page. When we build out the ...
0
votes
0answers
9 views

Images not loading after removing “Smushit”

Images in my WordPress website are not loading. This started to happen since I removed "yahoo's smushit plugin" (it does image compression) because it's not available for free anymore. I can still ...
0
votes
1answer
58 views

Exclude image url from search query

I have a question today. I have recently completed a website and there is search box integrated. And, I have a post which has an attachment(attachment's url is www.sample.com/image/sampleimage.jpg) ...
0
votes
0answers
38 views

How do I add padding to the p tags containing text, but not the ones containing images?

I want images within a post to span the full width of .entry-content, but WordPress puts p tags around them. Paragraphs have padding: 15px. <div class="entry-content"> <p><img ...
0
votes
0answers
59 views

Wordpress gallery previous/next buttons showing all media library images

I have just noticed that on my installation of wordpress, within the gallery image pages, the previous/next buttons are browsing through my entire media library rather than just those images that are ...
0
votes
0answers
20 views

How do I change the image URLs in my RSS feed?

I am trying to use the RSS feed as a source for emails which ends up killing Outlook 2010 users. The reason it seems is that images inside the RSS don't have the obligatory https:// prefix to them ...
0
votes
2answers
66 views

Time Based change of image

Could someone please point me in the right direction, im currently using : <?php if (get_the_time('H') >= 8 && get_the_time('H') < 20) : ?> <img src="<?php echo ...
0
votes
0answers
63 views

Get first URL from custom field, download and set as featured image on post publish

I have a plugin that is adding text and a URL to a custom field when the post is published (not saved as draft). I want to get/make a function or plugin to search within the custom field and sideload ...
0
votes
0answers
145 views

Set featured image from link in custom field

I have a plugin (Autoblog) that adds a custom field to the post that contains a URL of an image (among other text). I'm looking for a way to set this image in the custom field ...
0
votes
0answers
32 views

Setting default thumbnail when posting a link to archive page

Is there a way to set a default thumbnail for archive pages when posting a link, ie: on someone's FaceBook wall? For example, posting a link to a FaceBook wall will show up as: [thumbnail] Link and ...
0
votes
1answer
55 views

problem with updating metabox of upload image

I created a custom post type and metabox for uploading another image. the problem is when i add the image its shown correctly in its place in backend and when i update its also the same i had the ...