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
20 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
45 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
22 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
68 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
98 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
24 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
118 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
128 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
42 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
41 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
35 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
92 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
18 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
16 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
77 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
82 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
21 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
33 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
53 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
75 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
33 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
217 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
105 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
40 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
64 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
78 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
370 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, ...
0
votes
0answers
232 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
322 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
20 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
93 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
49 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
82 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
117 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
64 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
66 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
154 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
44 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
14 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
101 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
28 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 ...
1
vote
1answer
29 views

Wordpress crops images differently on retina screens?

I am currently testing my websites on different types of screens and while my image cropping works perfectly on a non-retina screen, I am running into some cropping issues on retina screens. I have ...
0
votes
0answers
42 views

Can you check if a post WYSIWYG field has an image in it?

I'm using Advanced Custom Fields and a WYSIWYG field type. Can you determine via php if that field has an image in the content OR is there a better was to evaluate this. For example, if I upload an ...
0
votes
1answer
85 views

How to add image uploader to a custom widget?

I'v built a custom widget that will show some sport scores. Scores are added trough custom post. When i open new custom post(scores) i enter their team names, score, scores. Now i want to add an ...
0
votes
1answer
35 views

How to remove the link of an image on WP 4.2

I'm using Wordpress 4.2 and I'd like to remove the links from some images. I've seen that I could use this : The problem is I don't see that on my interface : Where can I find the same ...
0
votes
0answers
21 views

Why wordpress can't generate metadata of big images

I have the following upload routine (compact): $movefile = wp_handle_upload( $file, $second ); ... $attach_id = wp_insert_attachment($attachment, $filePath); $attach_data = ...
1
vote
0answers
29 views

How to change the attached image's name after save post? [closed]

I would like to let the user upload images with any name, and automatically modify their name to the format as %post_id%-01, %post_id%-02, %post_id%-03... when save post. And I'm using the plugin ...
0
votes
0answers
28 views

Slider in fullScreen, progress by mouse click

I'm trying to build a gallery or slider in fullScreen and make the progress between images to be made by clicking with the mouse in all areas of the picture, all I found till now is running with ...
0
votes
2answers
99 views

the_post_thumbnail('medium') setting some images width=1 height=1

I have a created a custom post type and gave it a field of image which can contain a gallery. When I'm inside content.php I can call up all available data such as title, postmeta and such just fine ...