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

Wordpress 4.1 header image problem

I want to use a moving .gif as my header image in wordpress 4.1. In previous versions I could skip the cropping step and leave the image as is, and it would let me pick a moving gif as my header ...
1
vote
0answers
14 views

Crop image to horizontal or vertical by code based on image size

my client asked me to create gallery(WP gallery) based on this site. the problem here is that i need to crop images based on image size before inserting the image in the Media library. now i using ...
0
votes
1answer
25 views

Screenshots on plugin page taken old [on hold]

In readme before latest release they where named as: BlaBlaBla BlaBlaBla Files also named in same pattern: screenshot-01.png, screenshot-02.png After latest release only ...
0
votes
0answers
12 views

Wordpress Blog Author picture by image URL

I want to use image url for wordpress blog author picture. By default it will allow me to browse and select image from my local system. It will be helpful if it can be implemented without any ...
0
votes
1answer
15 views

How does wordpress name resized image copies?

I've noticed that usually, Wordpress will name a scaled image copy by appending the resolution, like this: image1-200x200.jpg Is this always the case? Are there any special circumstances where they ...
0
votes
0answers
7 views

Images showing up as broken

I'm running multisite on my WordPress and the main site is showing images fine, but the other 2 are showing as broken. My file permissions for upload is the standard 755 and have also tried 744 with ...
0
votes
0answers
9 views

Conditionally Use image_resize_dimensions()

I used add_image_size() and image_resize_dimensions() to upscale and crop images in WordPress. It is working as expected except on the Edit Media page. Generally on this page you would see your full ...
-1
votes
0answers
19 views

Gallery image slider in Woocommerce [closed]

I use Woocommerce where every product has a feature image and a gallery with multiple images. In the product page, the left column is the feature image and the right column all the product details. ...
0
votes
1answer
10 views

Assigning image to Post-Type won't work anymore: exceeded time?

weird, but for some reason i get suddenly the following error in my Wordpress backend when assigning an image from the "media-gallery" to a post-type. Fatal error: Maximum execution time of 80 ...
0
votes
1answer
18 views

Images are not shown

I can see my images in media/libary but not in posts. The issue seems to be that the REAL url to the image ends with image.jpg (if I go to this url I can see the image). But in the post I get the ...
-2
votes
0answers
48 views

How do I make my image sliders responsive? [closed]

I am using this Responsive jQuery Slider plugin on my website and I have no problems with the installation. But so far the images are not responsive. I have this code in my wordpress template page ` ...
3
votes
3answers
89 views

Can WordPress crop only the post thumbnails?

I'm using the post thumbnails feature of WordPress and I have several sizes defined in functions.php. Everything's fine, it works great with Crop Thumbnail to crop them perfectly. I have a question ...
-4
votes
0answers
16 views

Function to show an image from template directory [closed]

I need something similar to this function(pseudo code): function my_loader_image() { echo 'an image from template directory'; } add_action( 'easy_import_start', 'my_loader_image' ); Any ...
0
votes
1answer
20 views

Extract image url associated to a category

I found a function that allows me to attach a category to an image in media uploader function add_categories_to_attachments() { register_taxonomy_for_object_type( 'category', 'attachment' ); ...
0
votes
0answers
11 views

My images link are sometimes WRONG, why?

I'm having a strange issue at work with a wordpress I only partialy created. So my work needed a wordpress very very fast, directly online, even without any kind of article or page (yeah ... I know, ...
0
votes
0answers
19 views

How to set OG Image as featured image for custom post type?

I have a custom post type named "Episode" I want to set the featured image as the og image so facebook can detect the correct image. I only want the og data to only appear on that specific custom post ...
0
votes
0answers
10 views

Prevent multiple attachment with the same image

The plugin is designed to grab the user images from Instagram and insert them into media library, everything works fine on this part. I have set a transient with user selected refresh rate to check ...
0
votes
1answer
11 views

getting attachement images src and add classes

I have posts whose each contains 4 attached images. what i'm trying to do in my single.php is to get all the 4 images src to be abble to add different classes to each images. <img class="image_1 ...
1
vote
0answers
22 views

force feed readers to pick atom version

The reason i want to do this is Feed versions of my Front-page (rss and atom) are different! that's right. i have placed a function code to put preview images in feed but looks like it only effect on ...
1
vote
0answers
24 views

How to have different captions for same image, for galleries?

Seems like I can't have the same image in different galleries with different captions. Is it possible to make that working in any way? Like if we could change the shortcut code that Wordpress is ...
0
votes
0answers
14 views

Images On The Server But Not Showing Up in WordPress Multisite Media Gallery

I've had several different WordPress installations in the past. I've moved all of them into a single WordPress multisite install. Previously, there was one main site installed on example.org and then ...
0
votes
1answer
23 views

CSS to set a background image for a taxonomy term slug [closed]

In CSS, I would like to set a background image for a taxonomy term slug for a custom taxonomy. The idea is to select a taxonomy term "greencheck" and have a green checkmark image appear. For the ...
2
votes
1answer
42 views

Always use <figure> for post images

The default behavior when it comes to full-width images in posts is this: If you insert an image alone, this HTML structure is produced: <p><img/></p> If you insert an image with a ...
0
votes
0answers
23 views

Image URL clashing with Page URL

I have been using the same structure on this site for a long time and it has never been a problem, so I'm not sure why it has become a problem now: If I have a page URL www.example.com/sedan-cars/ I ...
0
votes
1answer
24 views

My feature images are showing up twice on the preview page

I own the lowly knitting blog www.oftengrumpy.com. I am having a problem with my feature photos showing up twice on the preview page that shows snippets of my posts (not the individual post pages ...
0
votes
2answers
24 views

Setting featured image based on related post

I am using a plugin called The Events Calendar. I don't always set the featured image for each individual event. Each event has an organizer ID (tribe_get_organizer_id). I want to add a filter that ...
2
votes
1answer
31 views

Uploading images: 'ø' get replaced with 'ø'

So, I have 2 sites. One in production, and the another in development. They have the same content and uploads. In production, images with names containing æ, ø, or å gets the character replaced with ...
0
votes
2answers
35 views

has_post_thumbnail() Returns False on Scheduled Posts

I am making some changes to a custom WP template and have hit an odd issue. Published posts work absolutely fine, but when you view a scheduled post the Featured Image disappears. It's as if there ...
0
votes
0answers
7 views

Batch Rename Images

I know how to do this during upload, but what about after the fact. Is there an easier way then what I'm doing to rename images? I'm using php rename function for the image itself, but what about ...
0
votes
1answer
35 views

Remove the http protocol from images

I've been banging my head on the wall trying to filter my posts to remove the http: protocol from the img src and I think I may have found a solution. Does anybody see anything wrong with this ...
0
votes
1answer
42 views

How to add Wordpress featured image via SQL

I have thousands of custom post types called "listings" without images. Now I want to add an image to each of these listings as a placeholder image and these images should be also set as featured ...
0
votes
0answers
10 views

Setup lazyload on post images using get_image_tag

According to jQuery.lazyload any images I'd like to "lazyload" need to have the src attribute replaced with data-original. I'm assuming I can do this using WP's get_image_tag filter, but I'm stuck on ...
0
votes
0answers
31 views

export high ress images to pdf

I want to export a webpage to PDF. I'm using the wp-mpdf plugin which is based upon mpdf. The problem that I'm having is that I want to be able to export a high ress image if that is on the page. ...
-1
votes
1answer
41 views

How to get attached image alt text in media.php?

First of all, i apologize for my English. I want to get attached image alt text following code in wp-includes/media.php function img_caption_shortcode( $attr, $content = null ) { // New-style ...
0
votes
0answers
13 views

What is the Best way to post each pictures uploaded separately and automatically?

I have a lot of pictures which I should upload them to my website everyday (about 100 pictures per day). These pictures are uploaded to the website with a Title and a specified little Description. ...
0
votes
1answer
30 views

How to display title of attached image in post?

First of all, I apologize for my English, because my English isn't good. How to display title of attached image between < h3 > tags in the post? There's that code in wp-includes/media.php file; ...
-3
votes
0answers
21 views

Images outside full content

I need to insert an image into single.php from index.php to detail the contribution of get_first_image , the_content. Procedure when I put in a post images and text in the editor and the first image ...
0
votes
0answers
15 views

Upload from front end custom feature image

Hello guys I have a question. Is there a way to upload from front end a custom feature image. I already know how to upload feature image, but I want to upload another image from front end, so that I ...
0
votes
0answers
29 views

full screen image/video on front page, then scroll down for menu and site content

I am having trouble locating a plugin or finding out how to create only for the home page, a feature that will have a full screen image or autoplaying video, but when the user scrolls down the rest of ...
0
votes
0answers
65 views

Show prev and next post links for parent post of current image in attachment page?

I use this code to show previous and next posts (in same category) on post pages (single.php). <?php $next_post = get_next_post(TRUE); // TRUE = in same category if (!empty( $next_post )): ?> ...
-1
votes
1answer
38 views

How To Display Author Photo In WordPress without any plugin?

How To Display Author Photo In WordPress without any plugin? I know there are many plugins in wordpress that give me solution. But I don't want to use any plugin. Is there any way to add image for a ...
1
vote
1answer
78 views

wp_customize_image_control deprecated add_tab alternative

I have been using add_tab to add a tab in Customizer with default images. It is deprecated and no longer works in WordPress 4.1. How can I create/find an alternative? add_action( ...
0
votes
2answers
36 views

Use Exact Image Size using add_image_size

I have a pretty basic question. It may be very noob question, but it is bothering me a lot. In my theme I've added a custom image size like this: function img_update() { if ( function_exists( ...
0
votes
1answer
22 views

Custom image size in Media Dropdown

I've tried everything you have said, but it's not working on my site. I'm using the below function: function setup_image_sizes() { if ( function_exists( 'add_image_size' ) ) { ...
0
votes
0answers
27 views

Changing attachment url?

How to change default attachment url: www.domain.com/category-name/subcategory-name/some-post-title-here/attachment/some-post-title to: ...
0
votes
1answer
32 views

Show Wordpress Image Title Under Custom Portfolio Image

I got this custom portfolio php file here: http://pastebin.com/B4ZgdQZT or you can see it below at the end of the question... The problem is that I can't manage to show the image title. I tried ...
0
votes
1answer
51 views

Display custom gallery in each wordpress post

In my website there is post thumbnail slider. Post thumbnail slider will show images related with blog post. I want when we write any post then it will allow me to upload few images via media uploader ...
-1
votes
1answer
289 views

Media upload error

I'm new in WP development. Suddenly I face upload error while media uploading. Even I also deactivated all plugins. Now I'm using WP latest version (4.1). After error msg the image is uploaded ...
0
votes
1answer
27 views

Specify automatically the height and weight of the images

I just did a GTmetrix test for my website to check how it's going, and I noticed that I have many images without height & width size specified. So I start thinking about a Wordpress function that ...
0
votes
1answer
21 views

Problem in using Customizer

Looking for some help with a customizer problem. I am using following codes to create a customizer which will allow me to upload an image for topic of the week section. owever, the following codes ...