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

wp_generate_attachment_metadata(), display image content after post, why?

I succeed to upload and attach an image for an article created in frontend in wordpress, otherwise when I used the wp_generate_attachment_metadata() after the generation I have something like that : ...
1
vote
1answer
29 views

How to add a class to the attachment images

When I'm in the Wordpress editor and I add an external image with the 'img' button, my html result wil be like this: <img src="http://example.com/image.jpg" alt="image" /> How can ...
0
votes
0answers
17 views

Stop guest from viewing entire media library

When you select an image on my website, the user can scroll through the entire Library. How can I limit that. Really don't want to change my theme but it seems to be part if the problem.
0
votes
0answers
6 views

Image display control [on hold]

How can stop the ability for visitors to be able to scroll through all the images in my library. When a user clicks on the image, they have the ability to scroll through every image I've uploaded. ...
0
votes
0answers
12 views

Image maps + lightbox plugin? [on hold]

So I am looking for a plugin for showing an image map with lightbox functionality. All I need is the image map with some links and when you click the link/pin/icon, it will pop a lightbox with an ...
0
votes
1answer
21 views

Adding Multiple Images to Sidebar Through Dashboard

I have a sidebar with 3 images hardcoded. I'd like to make it so you can change these through the WordPress dashboard. What's the easiest way to accomplish this? Using a plugin, custom post type? ...
-1
votes
1answer
19 views

Pictorico: Post Image Thumbnail Shape [closed]

I am new to Wordpress. I am using the Pictorico theme. When I add a post, I can see that the posts's featured image appears as a link (thumbnail) on the homepage. However, the default size appears to ...
-2
votes
0answers
16 views

Uploaded image via textmate can't be used

I'm using text mate (mac) for submitting new post (text along with images) and it does work well (shows all the images). But the uploaded images doesn't show as an image, here is the screenshot ...
0
votes
1answer
17 views

Hide image gallery in Woocommerce if NO image [closed]

I have a few products with no images but they template leaves a big empty space where the image should be, I was wondering if there was a way to hide this product gallery section only IF there are NO ...
0
votes
0answers
10 views

Is it possible to add a custom tab to the Featured Image Modal and if so how?

I tried using the media_upload_tabs filter but that didn't work. This question looks very similar to this Adding A Custom Tab To The Insert Media / Add Featured Image Modal but there that wasn't ...
0
votes
0answers
17 views

Set Featured Image not opening - Stuck at loading

I am unable to set featured image for posts/pages. The 'set featured image window' opens but never loads and thumbnails. Then I tried to upload the image using Media, it stucks at crunching. But ...
1
vote
1answer
28 views

How to translate get_intermediate_image_sizes?

I use the following code to get image sizes: public function getImageSizes(){ global $_wp_additional_image_sizes; $sizes = array(); foreach(get_intermediate_image_sizes() as ...
-1
votes
2answers
30 views

Change background-image css using the Wordpress Admin Panel [closed]

Is there any plugin to change the background-image css atribute, using only the Wordpress Admin Panel? I mean, without actually coding css? Just want something to make it easy for my client to change ...
0
votes
2answers
44 views

All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images

What I'd like to achieve is to have images resize responsively – and for that I have to set 'width: 100%' – and at the same time set a maximum width to not have the image as wide as the content. To ...
0
votes
0answers
16 views

Gallery image archive page

I need to create an image gallery archive page. Actually I need something like where user will be able to create an image gallery with a few images and with a title through admin panel. The gallery ...
0
votes
1answer
15 views

Thumbnail gallery by date and taxonomy

I'm having problem to create something like image gallery. What I wanna do is, in the home page sidebar, there will be a box named photo gallery which will contain 2 or 4 images thumbnail (just like ...
0
votes
0answers
33 views

SQL query for converting post meta image url to featured image

WordPress guru, we have a question: We work on a website, which was not updated a while. Most of time it have wordpress 3.2 installed. We've updated it to the latest wordpress version, but ...
0
votes
1answer
18 views

How to set twenty fourteen header image at 100% width?

if function wpse_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'wpse_header_args', array( 'width' => 1460, 'height' => ...
0
votes
0answers
17 views

How to replace all images within exported xml files to demo.jpg?

I'm going to create a demo data by exporting a site (Wordpress Export Tool) and get an xml file. I don't want my users who import my xml and get all actual images of the site. Is it possible (in not ...
0
votes
1answer
20 views

Create a custom attachment thumbnail for quick page load

I've been trying to find a way to create a custom image attachment thumbnail. I want to display an image attachment thumb and link to the full size. (FYI The thumb is to get quick page loading speed ...
0
votes
0answers
8 views

Importing images from blogspot to wordpress

The import process is easy enough and everything is imported correctly. The one thing I can't figure out is how to change what size image gets imported into the posts. The image that gets imported is ...
0
votes
0answers
10 views

Linking Images to Post Page from Categorized Gallery

I used the code from this thread to create a plugin that automatically makes a gallery out of images attached to posts with certain categories. It works great, but now I want to make the images link ...
0
votes
0answers
8 views

When adding media, can I filter the HTML generated from “Insert From URL” before it hits the editor?

function test_function( $html ) { return $html . 'TEST!'; } add_filter( 'post_thumbnail_html', 'test_function', 21 ); add_filter( 'image_send_to_editor', 'test_function', 21 ); add_filter( ...
-1
votes
0answers
37 views

Adding A Custom Tab To The Insert Media / Add Featured Image Modal

The goal here is to be able to host images via an external CDN -- in this instance I want to leverage Adobe Scene7 because of it's dynamic imaging abilities. Scene7 is great because I can store one ...
0
votes
0answers
19 views

Change the image for a certain URL

Currently we have an image at url /wp-content/uploads/sites/3/2014/07/filename.jpg The image contains incorrect information, and we've already sent emails out containing links to this image. We'd ...
0
votes
1answer
17 views

adding image in the header of my dev widget

i want to add an image to the header of my widget in a div tag like so: <div class="header" align="center"> <a href="http://www.link.com"><img name="Header" ...
1
vote
0answers
17 views

How to get rid of the strange sizing of links around posts? [closed]

I am currently running into a bit of a problem on my Wordpress site. I am designing a theme using the Bones framework, and after working for a while I have discovered a weird bug with links. Any time ...
1
vote
0answers
11 views

Replacing the content of an image attachment using API

I have an existing image attachment, with a given ID. Is there a way, using API (specifically, Python Wordpress XML-RPC), to upload another image instead of the existing one, without creating a new ...
0
votes
1answer
23 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
1answer
17 views

Surround uploaded image link with div

When you upload image you have smth like this <a href="http://vitya/wp-content/uploads/2014/06/8.jpg"> <img class="alignnone size-Small x Big wp-image-65" ...
0
votes
1answer
35 views

How to get relative URL of medium sized featured image?

How to show featured image (medium sized) relative URL (relative to the website root)? I need something like this: uploads/214/07/image-600x400.png I tried with this: if ( has_post_thumbnail()) { ...
0
votes
1answer
12 views

Featured Images link to post parent

I want to reuse featured images for new posts. So a single featured image from the media library is attached to more than one post. When i use post_parent ); ?> on the attachment page to go back to ...
0
votes
2answers
28 views

Change the background of each post according to the category

I am using the Hueman Theme. What I want to do is that the background of all the posts should change according to the category of the post. Please suggest something
0
votes
0answers
8 views

How to change the structure of an image attachment in a post?

I'm trying to solve a problem with the attached images in a post. Somehow the structure is not working right on a theme i'm using. Instead of showing a div with the class "wp_attachment" is just a h6 ...
0
votes
0answers
10 views

Different template for attachment

I need to create a different template for gallery. I am working with twenytwelve child theme. I have modified correctly image.php so i can show a nice image gallery. But now i can't use the default ...
0
votes
2answers
40 views

the_content() brings the medium size image [closed]

So I have the problem, the image I want to dispaly in post is not big enough and in my preffered size it gets bad quality, then i noticed that is not the default size image returned it's medium size ...
0
votes
1answer
22 views

How to intigrate multiple image uploader in a custom post type

How can i add this type of field in the custom post type
-2
votes
0answers
10 views

Remove image tag

I'am trying to remove the <img> tag which is created by get_post, but I can't seem to remove it. I'am trying to make it a div style="background-image: url(../images/test-background.gif) I have ...
0
votes
0answers
9 views

Get the first image URL of a post, by order (featured, first image, then default)

I want to get the first image URL of a post, in this order: first get the featured image of the post, if not, get the first image inserted on the post, if not, use the default image. At the moment ...
-2
votes
1answer
37 views

Orientation of featured image in post?

Is it possible to show orientation of featured image in post on single.php? For example: Orientation of featured image is: portrait / landscape. I have found that this could be done by calculating ...
-3
votes
1answer
41 views

How to show file type of featured image?

How to show file type of featured image in post on single.php? For example: Featured image type is: ".jpg" I can get mime-type, like "image/jpeg". It could be also some check of image mime-type ...
-3
votes
0answers
20 views

How to get file name of featured image? [duplicate]

How to show file name of featured image in post on single.php? For example: Name of featured image is: "current-post-featured-image-file-name.jpg"
1
vote
0answers
13 views

Post and featured image have the same name, why is the attachment (image) is showing and not the post?

How do I get the actual POST to display - and not the thumbnail of the image? I have tried to redirect the attachment to the parent post, but that gets caught in a redirect loop. For an example - ...
0
votes
2answers
38 views

How to check if there is image title, caption, description?

I use this code to display featured image title, caption (excerpt), description (content): echo get_post(get_post_thumbnail_id())->post_title; echo ...
0
votes
1answer
80 views

Get the size (size in Kb or MB) of an featured image?

I need to display some featured image info on post page. Among other info I need to display file size of image (featured image of post). I tried this function inside single.php. <?php function ...
0
votes
2answers
26 views

Moving an image to the side [closed]

How do I move this image on my WordPress site to the left side? I don't know which file to look for and which code to edit.
3
votes
9answers
262 views

disable WP automatically inserted line breaks after an image

I've set medium sized images to a custom size which should allow for both of the images to align horizontally within the post. (The full post width is 880px, medium images are set to 413px.) My ...
0
votes
1answer
36 views

Image paths on custom post types getting /post_type/ added to path

Whenever I use a JavaScript path to /images/imagename.jpg or within CSS ie. background: url(../images/imagename.jpg) works fine sitewide giving me an expected path to an image that looks like this: ...
0
votes
0answers
16 views

Drag images with caption in WP editor

Whenever I insert an image without a caption in the post, the editor makes it an object that I can select and move around / scale. Whenever I insert an image with a caption, it inserts fine. I can ...
0
votes
0answers
55 views

How can I rotate images in Wordpress?

I'm receiving the following error while I attempt to edit images within Wordpress: "Could not load the preview image. Please reload the page and try again." What would cause this? Wordpress ...