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

Get the dimensions of an embedded image

I am trying to position content based on the size of the first embedded image in a post. I am retrieving the image URL using a custom function, and then using another function to retrieve the ID of ...
0
votes
0answers
6 views

Prevent WP from wrapping html in caption shortcode after 'image_send_editor' filter is applied

In my functions.php I have cooked up some functions to filter the attachment output code, when an attachment is sent to the editor. function filter_image_send_to_editor($html, $id, $caption, ...
0
votes
1answer
34 views

Show more than 200 images in one post

I have gallery post and its have more than 200 pictures in single post. So, when i open this post, Its take more than 2 min to open page, and the images not open fast. What can do ?
0
votes
0answers
18 views

Display a fallback image when a specific metabox is empty [on hold]

I am having trouble displaying a fallback image when there is no image uploaded to a custom file metabox. My file metabox is call depmayorShot and when it is left blank is is suppose display ...
0
votes
1answer
9 views

How to get all inline images in post content?

I want to get all inline images in the post content. The get_children() method doesn't work for me because they could add the same photo twice. Also this only gets "attached" images, and they could ...
-1
votes
0answers
12 views

Using different images to featured images and the image of the product page

Wordpress version: last. Plugin: WooCommerce. Theme: Divi Elegant Themes. Hello! I would like to change the featured image displayed in the gallery on the main page of the products. The featured  ...
0
votes
0answers
7 views

responsive design images in old sites

I try to convert old static width sites into responsive. Problem with image elements, anywhere in posts and pages and also as background to other elements(for future images there are some plugins like ...
0
votes
1answer
11 views

all images of past post messed up after changing theme

After I changed my wordpress theme, I realized that all past post are all messed up. I think is because the new theme is not interpreting "alignleft" the proper way. And I mean that because when I ...
0
votes
2answers
24 views

Need help making my homepage blog image smaller than my post image

For example I have an image that's very long but want to show a cropped version of that but when people click my blog post from the homepage they see the longer version. I tried doing using the ...
0
votes
1answer
28 views

Generating a certain sized thumbnail on the fly?

I'm displaying a picture under each post on my homepage using the following PHP code: <div class="preview"> <a href="<?php the_permalink(); ?>" rel="bookmark" ...
0
votes
5answers
106 views

Wordpress images not cropping properly

I have my post image thumbnails set with: add_theme_support('post-thumbnails'); set_post_thumbnail_size(1280, 436, true); add_image_size('general-thumb', 600, 339, true); They are ...
0
votes
0answers
13 views

Why can I not paste an image from the clipboard?

At some point, I remember being able to paste images from the clipboard straight into my post as I was editing. This no longer works. I just upgraded from 3.something to 4.2.2 to see if that would ...
0
votes
1answer
9 views

Duplicate images in wordpress

I use wordpress for my site and have a problem with the'blog' section (here called news and events. Why is the first image duplicated - http://www.fiumanofineart.com/news-events/ I have tried to fix ...
-1
votes
0answers
35 views

How to Get Amazon S3 URL Right Away to Display Image in Listing, not Post [closed]

With Amazon S3 plugin I can display images in posts because they use attachments. I cannot display images in listings because images are stored in post meta fields. Does anyone know if the Amazon ...
0
votes
1answer
12 views

In a shared site, how to get products in a category from one site to another?

Our wordpress site(s) is actually 2 in 1. That is, while they are separate host URLs on the same domain, same server, they run from the same set of wp code, but different databases. They are not ...
0
votes
1answer
15 views

Automatically generate missing images

I'd like to auto-generate images, or rather image sizes, in old posts where the size is currently missing. Specifically I'm hoping to generate sizes on the fly when a specific (old) image size is ...
0
votes
0answers
8 views

displaying page attachment image in custom widget

So I have this custom widget where you can select a page from a dropbox and the widget will lead you to this page. The problem is i have no idea how to display the page's attachment image. ...
-2
votes
0answers
19 views

Featured image upload option not working properly?

I'm trying to make a new plugin. I hope it's maxim complete. but now I face a problem. When install my custom plugin then the Featured image upload option not working properly. It's show like a media ...
0
votes
0answers
22 views

Select image and display from textfield?

I use the built-in filemanager to select an image from a form. <input id="upload_image1" class="rp-input-field" type="text" name="f16" value="<?php echo isset($upload_image1);?>" ...
1
vote
1answer
100 views

How to Optimize images after uploading all images to Wordpress Site?

I have uploaded all the images on the my WordPress site. There are too many images on the home page. Thus the page loading time is too much. Is there any code for making all the images ...
1
vote
1answer
20 views

How to display / include a specific jpg on a page

is it possible to show / include a specific jpg on a WordPress page? I have made 365 jpg's, one for each day of the year and want to display the jpg belonging to that day of the year on the specific ...
0
votes
0answers
12 views

Wordpress - adding image pixel restrictions for Featured Image metabox (postimagediv)?

I am wondering how can I add pixel size restrictions for images uploaded within a metabox called Featured Image. E.g. if the image uploaded is not 400 x 400 pixels it would be rejected. (not cropped ...
1
vote
1answer
32 views

Remove dimensions from filename featured image

I have a problem with a featured image. It's a gif, but when I add it, Wordpress adds the dimensions to the filename, which breaks the gif (since then it's not really a gif anymore). Is there a way ...
0
votes
1answer
14 views

wordpress 4.22 does not generate thumbnail images

I had problem I uploaded images and wordpress did not auto generate any thumbnails, My server is ubuntu 14.04 wordpress is running on apache2 I downloaded some plugins that were supposed to force ...
1
vote
1answer
24 views

Add media and attach images to pages

I have this problem with attaching images and add media. ADD MEDIA Go to page Click on "Add media" Insert an image Image shows in editor, but when I go to the page and do the below code it doesn't ...
1
vote
0answers
24 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
14 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
27 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
1answer
9 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 ...
1
vote
0answers
29 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
1answer
42 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
49 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
16 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 ...
1
vote
0answers
29 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
21 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
1answer
11 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' => ...
5
votes
1answer
89 views

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

UPDATE: just found this plugin which does what I wanted and more: https://wordpress.org/plugins/b09-link-to-existing-content/faq I'm pulling my hair out with this, it seems so simple, but there is no ...
0
votes
0answers
36 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
1answer
19 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
7 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
34 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
17 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 ...
0
votes
3answers
49 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
53 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
19 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
34 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
13 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
62 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
14 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
31 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 ...