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

Issue uploading images

I never had issues with images, but now all of sudden newly uploaded images show the broken image icon and when I proceed inserting it I see the broken image in the post. Here is the screenshot: ...
0
votes
0answers
21 views

Base Image Missing When Uploading Images With Wordpress

Whenever i upload an image (ball.png) wordpress will auto generate a bunch of smaller images that are different sizes. e.g. ball-300x200.png. These images display fine, but when i set on of these ...
1
vote
1answer
47 views

How can I make all post image uploads have data-width and data-height attributes automatically by default?

Right now all my images automatically have width= and height= when someone adds an image to a blog post. But what if I also want every image to have a data-width= and data-height= and have it equal to ...
0
votes
0answers
30 views

hook wp_get_attachment_image_src

I am using wp pods custom fields for custom post types.. I am holding image links in custom fields. With a hook to "post_thumbnail_html" i fixed thumbnails but when i need wp_get_attachment_image_src ...
0
votes
1answer
20 views

set specific dimension or minimum upload size [duplicate]

How can I require specific dimensions for an image for an upload form? For example, I want to set the image to be uploaded in 350x200px, or show a notice to the user if the image size is not correct. ...
0
votes
0answers
26 views

How to delete all images and image meta data attached to a certain post type?

I have a custom post type called books, I have 1000s of images attached to these posts in books using Advanced Custom Fields. How can I run a query to delete all of these images that are attached to ...
0
votes
0answers
12 views

Database level import of featured images and link to posts - How?

I have been attempting to import about 50,000 images into 50,000 posts in WP 4.2.2. The _posts table data is all correctly imported already. I know I need to import to _postmeta table and add new ...
0
votes
0answers
20 views

Theme Load Error

For 2 days I'm struggling and hitting my head to find out the solution but no thing. The website isn't loading images on front-page and news-ticker not working at all. I tried to reuploading the ...
0
votes
1answer
60 views

HowTo: develop WP template with dynamic background image

Is there a way to develop a WP template which, amongst others, sets the background image of a certain element dynamically by choice from admin backend? Think of an page editor who simply picks an ...
0
votes
0answers
21 views

wp_get_attachment_link filter for not working for inserted images

I want to change the value of title attribute of attachment link of the image by caption. I am using following code. It works fine for the images in gallery. But when try to do this for the inserted ...
0
votes
0answers
17 views

Custom Field value to

I don't know how I could solve this problem. I'm importing a csv file and this contains also an imglink (external) and it will creat a post draft for me. What I want to achieve is that the imagelink ...
0
votes
1answer
24 views

How do i replace the title attribute of img tag with the image caption

Can i replace the title attribute of img tag generated by the the_content, with the caption of the image Means <img title="caption"> and not <img title="title">
0
votes
1answer
100 views

How to show a manageable list of images on a post?

I've created a custom post type called product. On my theme's product page, I want to be able to show a basic list of images (ul>li>a>img) on a sidebar like this (quickly googled :P): I ...
0
votes
0answers
28 views

Wordpress CORE API - plupload

I've create a form for upload image from frontend but i do not know how can use plupload "Core API" http://plupload.com/examples/core Look the code below. <!– HTML – upload photos –> <div ...
0
votes
0answers
37 views

Grab Current URL & Add to Cart Woocommerce

I have been researching of a way to do this but have been unable to find an answer to my question. There are answers on there on how to grab the current URL etc but it is not the answer I was looking ...
0
votes
1answer
72 views

Extend the WP_Customize_Image_Control class to change its non-frame $button_labels

I'd tried a lot just to change the 'default' button label of a Customize_Image_Control, including copying its class source and re-classname it (*kindly check the non-revised edition for this), and ...
-1
votes
1answer
17 views

How do I insert a photo at the top of the sidebar?

http://www.beautybykatlin.com/ Hello, How do I add an image at the top of the sidebar? I had one there but I deleted it and I don't know how to get it back. Please help!!! Thank you!
0
votes
0answers
9 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
34 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
45 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
1answer
48 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 ...
0
votes
1answer
16 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
43 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
47 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
139 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
35 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
11 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 ...
0
votes
1answer
18 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
25 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
19 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. ...
0
votes
0answers
52 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
137 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
24 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
25 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
57 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
20 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
40 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
44 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
18 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
31 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
10 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
36 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
85 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
94 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
18 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
1answer
96 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
23 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
16 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' => ...
6
votes
1answer
113 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
83 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 ...