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
2answers
8 views

Access the resized images generated by `add_image_size()`

I have set up some shortcodes to make things simpler for the user. It wraps up some bootstrap markup and just lets you put the h1, some img urls, etc in it without getting too close to the markup. ...
0
votes
0answers
5 views

Wordpress plugin that snaps picture out of linked site like pinterest? [on hold]

I was wondering if there is a plugin that automatically snaps out a picture of a linked site, when I am writing a new post and let me use it as a featured image. Pinterest is a very good example for ...
0
votes
0answers
7 views

Custom Images - Creating Larger Versions

Playing around with the add_image_size for my theme, it works a treat for large images, crops them nicely, however if someone uploads a tiny image, I'm trying to make the size increase or at least ...
0
votes
0answers
3 views

Prevent the display of junk characters using wp_generate_attachment_metadata from front end

I am using a front end form for submitting posts and in the instance that the user does not attach an image, I am setting default images that already exist in the media library to attach at random to ...
0
votes
0answers
9 views

Wordpress showing images as a broken icon

Ok. So what i did is that I've Followed this http://www.itsupportguides.com/wordpress/wordpress-how-to-serve-static-content-from-a-cookieless-domain/ Click here! After using this trick the website is ...
0
votes
1answer
20 views

How to show category images (from plugin) on a regular page (page-example.php)?

I am trying to use the Category Images Plugin to show images with my Custom Taxonomy (Region) categories/terms. Here is the code I have so far in a page-example.php that lists all the categories/terms ...
0
votes
0answers
22 views

HTTP error when uploading an image

I know there are already a few posts on this issue, but unfortunately none of those answers were helpful to me. Every time I upload an image, I get an HTTP Error - that's it. Nothing more, no ...
0
votes
1answer
25 views

Why are featured images sometimes cropped, and sometimes not

I am developing a website using Wordpress CMS, in particular Hatch theme. I noticed that in some posts, featured image is displayed full size (like here) but in others, featured image has a smaller ...
0
votes
0answers
23 views

Insert <!--nextpage--> after every x img tags in a post

I want to insert <!--nextpage--> after every 10 image tags in a wordpress post (if there are 30 images, I'll get 3 pages), but I can't seem to figure out how to do it. I found a php function that ...
-1
votes
0answers
11 views

Mobile Website Images Distorted [on hold]

All of my posts look great on my website on the computer, but once I open my posts on our mobile website they look distorted. Is there a way to prevent this? Thanks!
0
votes
0answers
8 views

I want to use the GD image editor for just one function then switch back to ImageMagick

I have issues with ImageMagick generating images with transparency, they work but when I have wordpress resize them they come out a little distorted. I asked a question about this many moons ago in ...
1
vote
0answers
19 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
26 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
26 views

Screenshots on plugin page taken old [closed]

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
14 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 ...
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 ...
3
votes
3answers
94 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 ...
0
votes
1answer
21 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
25 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
11 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
14 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
25 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
26 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
18 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 ...
2
votes
1answer
49 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
24 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
25 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
32 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
38 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
8 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
38 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
44 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
32 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
43 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
14 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
35 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; ...
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
30 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
67 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
39 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
80 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
40 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' ) ) { ...