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

Resize image to specific dimension (X to Y ratio)

I've tried to add my custom image size like: add_image_size('224_226', 224, 226, false); I need resize all images to same size what i define in style, when i've uploaded file - Wordpress resize it ...
0
votes
1answer
56 views

Can I register a new thumbnail size and have it be an option in “Add Media”?

I would like to have a smaller thumbnail - 50px X 50px. Right now I have to add media 150px and reduce each one by drag and drop. Can I add another option besides thumbnail, medium and full size to ...
0
votes
1answer
290 views

Background image call problem

I simply can't find the correct way or working way to do this. I've made an alternative header and added an option with redux theme option to have the alternative header. I've also made a ...
0
votes
0answers
154 views

Uploaded images are broken until edited with WordPress

My WordPress site is quite old and uses a custom theme, but is updated to the latest version of WordPress (4.3.1). Whenever I upload images using the standard Media Library uploader the thumbnail ...
0
votes
0answers
11 views

Wrap <figure> for image inser from url?

I have checked here Always use <figure> for post images but it is not used when I insert image from url, it appears like normal in editor not wrap figure tag. Someone can help me ?
0
votes
0answers
19 views

Is it possible to migrate EXTERNAL image links from one server to another?

All the images on my blog have been hosted in SERVER_1 with a propietary internal URL similar to http://server_1/09870987/random_digits/file_1.jpg I'm now thinking about moving all those images that ...
0
votes
1answer
29 views

Wordpress Is Saving Original Image Only

I have spent a few days wrestling with this issue. I have also searched for a similar question to no avail. When I upload a new image, The only file being created on the server is the original image. ...
0
votes
1answer
41 views

WordPress İmages Upload & Delete Error

i get this error when i am making a list in the admin panel for the codes beneath i will send a screenshot of the error i need to do the deleting operation apart from listing, im waiting for your ...
0
votes
0answers
27 views

Images in plugin broken after URL migration

I have a portfolio plugin that was part of a theme I paid for. The plugin doesn't actually show up in the plugins list of the WP admin console. My problem is that, since doing a migration from one ...
1
vote
1answer
60 views

Creating page templates with image placeholders

I am creating my own theme and in the design I received for the theme I have a few pages which have 2 images of different dimensions. One is at the top (like a banner of sorts) while the other one is ...
0
votes
0answers
29 views

How to Hide ( or using one image) product images from guests?

I would like to make conditional function but i could not figure out how to make it. Simply, i want to hide product images from not registered users, when they register and then see the product ...
0
votes
1answer
105 views

Use Media Uploader in Plugin

I want to add a media uploader to a plugin. I have found and read This It does shows the media uploader and it let's me select an image but as it uploads it gives me some crappy error: Error ...
0
votes
0answers
195 views

403 Forbidden when accessing image in wordpress

I am getting 403 Fobidden error when trying to access directly from URL. Here is my blog page url : http://www.modestmoney.com/peer-lending-returns-still-sizzling/ Images are displaying in post ...
0
votes
0answers
25 views

Gallery Images could not be shown

I have more than 50 pages on my WordPress site and there is a image gallery (WordPress Gallery, not an extension) in each of them. But now, all of them don't show their images, and in edit mode say's ...
1
vote
1answer
144 views

All Images on wordpress site broken

Recently one of my live wordpress site's broke. And no it was not because of an update since I haven't updated recently (only to 3.1 but then everything worked) For some reason all images now look ...
0
votes
1answer
258 views

Serve different images per screen size and cache possible?

So my posts have a featured image. This image is large. 1920 x 1281. The max width is set to 960 so my image is 2x as large for retina screens. However this results in a ~200-300kb file. The images ...
0
votes
1answer
53 views

Display images from JS?

How can I get images from JavaScript? Code is given below: $(window).ready(function() { 'use strict'; $.vegas('slideshow', { backgrounds:[ { ...
0
votes
1answer
51 views

Wordpress lowers image quality

I am uploading to my site large images with media uplader and I want them to have 100% quality but wordpress reduces the quality. What should I do or what plugin to install to prevent this?
0
votes
2answers
38 views

Changing Image Size Settings does not show in Image Details

I would like to change the image sizes for "medium" and "large". I did change the sizes in Settings > Media This however does not seem to have any effect on the settings I see when I edit or ...
0
votes
0answers
128 views

Image URL not added to Input Box from Media Library

I hope this posts correctly. This is my first time submitting a question here. I am uploading an image to a Custom Post Type - Meta Box. However when I upload the image to the media library the URL ...
0
votes
0answers
19 views

“Restore original Size” bug

When I click "Restore original Size" the image delets and I get the "image not found" icon. I start getting this error after last update. UPDATE: This bug only found when editing main product image ...
0
votes
0answers
20 views

Scaled images too big for page

I've been managing this real-estate site, http://www.homesbydale.com. The Listings page offers a carousel of photos for each listing. Recently (since July 9, 2015), each individual listing page ...
0
votes
0answers
112 views

Changing current post image uls with a function

I've changed my wp-content folder to a folder called stuff and am trying to change my image urls in existing posts with a function rather than a SQL query... I've placed this in my function.php ...
0
votes
0answers
121 views

Header image on specific page to link to specific URL

I am using the Twenty Twelve theme on Wordpress.org and have a child theme. I use the Unique Headers plugin for unique header images on specific pages. Only on those specific pages I want to remove ...
0
votes
0answers
27 views

Image didn't load from taxonomy's custom meta field

adding some custom fields (image field) to custom taxonomy (issue) basing on code from (https://github.com/bainternet/Tax-Meta-Class), trying to out put the image attached to each taxonomy term by ...
1
vote
1answer
34 views

Display number of images actually posted

I'm currently using this PHP code to pull the number of images from a post. $attachments = get_children(array('post_parent'=>$post_array[0]['ID'])); $image_count = count($attachments); It is ...
1
vote
1answer
41 views

Output random (custom) image size

When using custom image sizes like: function customImageSetup () { add_theme_support( 'post-thumbnails' ); add_image_size('grid_1 mini square', 60, 60, TRUE); add_image_size('grid_2', 160); ...
1
vote
1answer
70 views

Site icons with alpha channel for self-hosted Wordpress blog network

Either I'm missing something (or have something badly configured in my self-hosted blog network) or when I'm uploading a transparent .png file (with alpha channel) using Media Library, my Wordpress ...
0
votes
1answer
110 views

Removing the first image in content

I've been using this code: function remove_first_image ($content) { if (!is_page() && !is_feed() && !is_feed()) { $content = preg_replace("/<img[^>]+\>/i", "", $content, 1); ...
0
votes
0answers
54 views

Using function to set youtube featured image works, but doesn't update before manually clicking post update

I am using a function to set the post featured image for a youtube video (see below). My Wordpress blog post is made by IFTTT (If This Then That). The function works, but the featured image update is ...
0
votes
2answers
285 views

If file exists with page slug name show image else nothing

I need to add a php code in a wordpress widget called PHP Code Widget which only asks for proper enclosing: All PHP code must be enclosed in the standard php opening and closing tags ( <?php and ...
0
votes
0answers
151 views

different featured image size in rss feed

I'm looking to achieve a newsletter by mailchimp using the rss feed of my website - which works perfectly. However, I'm calling by mailchimp two different feed to create an offset - which works fine. ...
0
votes
0answers
47 views

Show images in albums inside album wordpress

I have a different question. How can I show images of galleries inside some albums inside a main album. So hierarchy is Main Album -- Some album1 ----galery1 ----galery2 ----galery3 -- Some album2 ...
1
vote
2answers
83 views

Get URLs for All Sizes of Image via Admin Panel

We want to use wordpress to host image which we'll use in our email newsletter. To that end, we can obviously upload the image via the Media panel in Admin and either right-click the image and get ...
0
votes
0answers
92 views

Display Post Image Wrapped in Div, Inside Link Tag

So I'm trying to wrap media images published in a post into a custom div, that is also wrapped in a link tag that has the permalink of the media image as it's href. Here's the filter that I've made so ...
2
votes
1answer
616 views

Adding HTML within an image title attribute

I am using some jquery which applies an overlay on an image on hover. The script uses content from the image's title attribute to display over the image. When I tested this locally, it seemed to work, ...
1
vote
0answers
443 views

Customising the size of images served in Visual Composer elements

I'm using the Visual Composer plugin to build, or basically visually insert the shortcode for a number of sliders, latest blog posts and masonry grids. Most of these are set to use a posts featured ...
0
votes
0answers
517 views

Adding Image Gallery Metabox on Custom Post Type Wordpress

I have a custom post type, and I want the users to add multiple images or attachments aside from the featured image. I want to achieve something like this, I got this from the woocommerce products: ...
0
votes
0answers
24 views

jquery prettyphoto insert miniatures lightbox and navigation tools

I have a question to ask: why if in jqueryprettyphoto.js if I enter the parameter: hook: 'data-relay', / I can see navigation tools, twitter, facebook but I can not save the picture. however if I ...
0
votes
1answer
149 views

Disable Media File Image Link On Mobile Devices

I'm looking to disable the 'media file' image link on mobile devices, so that when viewing a site on mobile devices we simply have the image being displayed with no link to anything. I am looking to ...
0
votes
0answers
58 views

Featured image upload error

I have installed new wp-theme version 4.2.2. Everything was going well but when I use add_theme_support() in functions.php it makes problem to upload images. It showing an error: "An error occurred in ...
0
votes
0answers
107 views

Background image slider specifically for rows?

I'm trying to get a background image on a single row, but with a background slider. I can get a single image on a row, but not a background slider for the individual row. I've tried a few plugins, ...
0
votes
1answer
187 views

Wordpress resizes image to the same size as uploaded

I am writing a theme which uses different image sizes. Here are my targeted sizes as they are set up in under Settings > Media in WP Admin: Here is the functions.php code for the thumbnail ...
0
votes
1answer
87 views

How to list all images used on a specific page?

How do I list all the image(s) used on a specific WordPress page. I would like it to include the following if possible, Url to image Name of image Url to thumbnail of the image [Edit] I would like ...
0
votes
1answer
87 views

SVG files and wordpress

I have a website and I would like to use SVG files so that certain images are dynamic but when i upload them it displays as an unknown file and when I set them as a featured image for a post the ...
0
votes
0answers
267 views

File Not Found error returned when trying to access Media Library in Wordpress 4.2. Plugins cannot be installed either

Please help me figure out how to access my media files through the admin dashboard. All media files are present at the server level. I can upload a file through the admin dashboard, but cannot see ...
0
votes
0answers
72 views

Add WYSIWYG to Image Description field

I need to build this thing: It's essentially an image with a caption, and it can go inline anywhere in the text. I could just create a shortcode for it I suppose, but I'd really like to integrate ...
0
votes
0answers
15 views

Need advice for uploading images and generating sizes

I would like some advice on creating a image upload system(this maybe a plugin or a script on a page, it doesn't matter). I have a image site were each image is an post. I want to be able to upload ...
0
votes
0answers
130 views

WP All Export + Realhomes Theme -> Full Image Path

Second challenge for today :P I'm using WP All Export + REALHOMES Theme for Wordpress in localhost. I'm facing some issues: When adding pictures to a property (post), in this theme you need to use ...
0
votes
1answer
32 views

Set two default featured images

I use the featured image in a few places in a theme I'm creating and I'm wondering the best way to set a default featured image. I need a thumbnail variant and then a 'full size' version, both using ...