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)

5
votes
2answers
1k views

Add custom Attachment Display Setting for images

I've been doing a lot of research and I've yet to work this out. Can you add in a custom option in the Attachment Display Settings (part of Insert Media dialog in post editor)? What I'm after is the ...
1
vote
1answer
485 views

Automatically Add Caption in image

I want to automatically add caption for each picture appears in the name of the image or the alternative text example Caption add automatic
0
votes
0answers
7 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 ...
4
votes
2answers
4k views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
1
vote
1answer
86 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
12 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
1answer
395 views

featured image as slider and multiple featured images (without Plugin)?

hi there i need little help can anybody tell me that how can i add multiple featured images to a page and than make it a slideshow i didn't find any answer on Google thanks looking forward help from ...
0
votes
0answers
6 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
14 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
15 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
11 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
2answers
386 views

How to watermark wordpress images from wp-content/uploads folder with htaccess and php?

I have a Wordpress website, due to some limits i need to have originals of the photo at the serverside, but watermarked ones on a frontend and with direct opening of the photos. I'm using Frontend ...
0
votes
1answer
15 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 ...
42
votes
2answers
62k views

How can I add an image upload field directly to a custom write panel?

I've added a new page under "Pages" in the wordpress admin, and added several custom fields. I'd also like to be able to add an upload image field to the page editor - is there some way to do this via ...
4
votes
3answers
640 views

List most recent image uploads, but only for specific custom post type

I can get a list of the most recent image attachments like so: $attachments = get_posts( array( 'post_type' => 'attachment', 'posts_per_page' => $number, 'post_mime_type' => ...
0
votes
1answer
24 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
1answer
18 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
0answers
20 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
1answer
637 views

How to remove “Image Information” and “post date/author” from a media page?

I'm trying to use Wordpress to setup a simple website for my business, and I'm having issues with the gallery page. Once an image is clicked and brought to it's specific page, it includes author and ...
3
votes
1answer
86 views

Insert Images at Master Uniform Height

I'm trying to figure out a way to insert images from the media library into the post editor at a uniform height... but by selecting one option. For example, I set a height like "300" somewhere (like ...
0
votes
0answers
13 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
12 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
1answer
20 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 ...
0
votes
0answers
3 views

Soliloquy Slider displaying as a thin line - sometimes [on hold]

See image for reference. This issue is hard to replicate. It happens seemingly randomly but perhaps more so if the internet connection is a touch slow. It also only happens on the first pass of the ...
0
votes
0answers
19 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 ...
2
votes
1answer
474 views

Auto Add Image Title,Caption,Alt Text,Description while uploading Images in WordPress

Can anyone tell me how to auto fill/add same image title in title, caption, alt text and description while uploading any image in my WordPress Posts.
1
vote
1answer
17 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
1answer
534 views

Site migration - some images not displaying in Media Library

After migrating a site from the live server to my test server (different URL), some of the images (not all) are not displaying. The src is correct, image is in the uploads folder, and everything ...
0
votes
2answers
435 views

Removing height and width from images with a caption

I am using WordPress with Twitter Bootstrap 3 and have an issue when it comes to images with captions. Images with captions are given a height and width attribute which stops them from being ...
0
votes
1answer
19 views

A better way to make 75% width for text and 100% for images in post?

I tried to make 75% width of paragraph in .entry-content, and also 100% responsive width of images. However, <img> is always in <p> as default. Currently, I can only make .entry-content ...
0
votes
2answers
2k views

Why can I not view image attachment pages?

I have a problem with images. I can see my uploaded images, as previously, through the media library. I can access each image by clicking on "edit". But if I then click on "View Attachment Page", I ...
0
votes
3answers
1k views

Get single image from custom fields made with WCK custom fields creator

I used WCK Custom Fields Creator to create a repeatable custom field for uploading pairs of images (one color, one black and white) to posts. So for example, one post may have three fields, with two ...
0
votes
2answers
488 views

How to change the order of elements within a post?

I have a site with several thousand posts. They all have just a single attached image of varying size. All posts are displayed in full (no thumbnail view). I'd like to be able to change the way the ...
0
votes
1answer
50 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
0answers
16 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
21 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
2answers
2k views

Some images not found 404 in localhost

I just transferred a WordPress installation from the domain to my localhost. I did all the usual steps: copy files, export DB and replace domain.com with localhost, update wp-config.php and refresh ...
0
votes
2answers
1k views

Get image post ID in media upload

I am developing a plugin that adds a Custom Post Type to my theme. It's a retail directory and the post type is a retail listing. Everything is working fine. I can upload content to the DB and then ...
0
votes
1answer
384 views

How can I get url from image tag in feed with fetch_feed?

I used this piece of code in functions.php to add featured image in <image> tag in feed add_action('rss2_item', 'add_my_rss_node'); function add_my_rss_node() { global $post; ...
1
vote
1answer
433 views

All links to images are broken in a subdomain multi site environment

I've just installed a fresh copy of Wordpress 3.8.1, and then enabled the network feature using sub-domains. In cPanel, I have the wildcard sub-domain pointing to the Wordpress folder, and Wordpress ...
1
vote
1answer
2k views

In Woocommerce theme need to add custom external link

I am new in Woocommerce plugins and i have requirements that in External/Affiliate product there is one "Product URL" field that is linking in to external url of "Buy now button". Now i want that ...
0
votes
1answer
412 views

How in insert image path in Wordpress database that will display product image in wp admin not on front end?

$insert = $wpdb->insert( $prefix."posts", array("post_title" => $posTitle,"post_content" => $postContent,"post_status" => "publish","post_type" =>"product")); // select products ID ...
0
votes
0answers
21 views

Attach Gravity Form File Upload to Custom Page and Set Image Title & Description from Form Fields

I have a Gravity Form with fields for name, city and file upload. I would like the file uploaded to a) get attached to a specific page (not the page with the form) and b) have the image's title & ...
0
votes
0answers
12 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 = ...
0
votes
2answers
357 views

upload images on front by user using form

I'm using a form on my website using wordpress to allow users to create posts. It works perfectly fine, I'm abble to assign the posts to a custom post type, add Advanced Custom Fields, content, ...
1
vote
1answer
32 views

How To Get The File Extension Of Images Having Different Extensions In A Directory?

I am posting this in Wordpress because I am working to get the featured images of all the plugins in the wordpress repository. http://plugins.svn.wordpress.org contains the images I want. BUT, the ...
0
votes
2answers
1k views

Saving/Writing/Adding file to upload folder

Within a plugin I am generating an image, I would like to save this image to the upload folder and update the WPDB with the location of said file. I cant find any build in wordpress functions to ...
1
vote
0answers
12 views

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

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 ...
2
votes
2answers
5k views

Images not showing after moving site (but path id OK)

I moved (actually copied) a wordpress site (http://inglesen100dias.com/) to a new server and domain (http://blog.inglesen100dias.com/). I followed the process described in Wordpress' website ...
0
votes
1answer
691 views

Uploaded image not appearing in custom post type

I am writing a plugin which should allow users to create a custom post type called reseller and attach an image. The image is being uploaded to the uploads folder and appears in the media library with ...