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)

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 ...
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 - ...
1
vote
0answers
106 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
0answers
109 views

Pulling Post Image Attachments in WordPress 3.9

For some reason the functions I'm using for pulling post images/attachments isn't working after updating to 3.9, has something changed in the way we pull attachments? The code I'm using in single.php ...
1
vote
0answers
29 views

Add suffix to uploaded images

I found this post what handles in a similar way my intention. But I´m not 100% sure how to expand the callback function with my options. So here my suit: I add an function to the functions.php to ...
1
vote
0answers
28 views

t5-fresh-editor-stylesheets.php breaks image placement in WP Beta 3 editor

I am running a development site with the WordPress beta plugin, currently running 3.9 beta 3 I am using Bill Erickson's Core functionality plugin which calls Toscho's t5-fresh-editor-stylesheets.php ...
1
vote
0answers
42 views

How to compress thumbnail images of two different sizes?

I'm new to wordpress and so far with a limited knowledge of PHP, I was able to build up a theme from scratch. I removed the compression for my homepage images for a better quality of pics. Now, the ...
1
vote
0answers
41 views

Scaling an image in a WordPress post

I am currently building a WordPress theme and when I add an image using the add media button, I'm able to choose a scaling percentage to allow the image to get bigger or smaller within the modal pop ...
1
vote
0answers
44 views

Retrieving Meta from Image Attachment

I currently have added a meta box to the media library popup using the following: // ADD CUSTOM INFO INSIDE THE MEDIA LIBRARY function AddLibraryFields( $form_fields, $post ) { ...
1
vote
0answers
41 views

Find and Use an image's caption

I posted this at Stack Overflow but moving it here as it might be more appropriate. In short: How do I get and use the image caption? I'm writing a function for images in a post and I want to also ...
1
vote
0answers
37 views

Setup Featured image on all posts from thesis thesis_post_image custom field?

I moved from thesis to other wp theme and i want to change the thesis post images (these are saved under thesis_post_image in database )as featured images. Site have over 1000+ posts. Is there a way ...
1
vote
0answers
27 views

Add an attribute to attachments

Currently attachments have title caption alt text description I would like to add another attribute to that list (e.g source). How can I do this ?
1
vote
0answers
299 views

How to set featured image in wp_insert_post

I have a register form with upload field and when the user registers i create a new post. I need to have the uploaded picture on the featured image of the post. I have see something like this but i ...
1
vote
0answers
322 views

How to make thumbnails of uploaded animated gifs NOT animated

I am having an issue where I want the thumbnails of my animated gifs to NOT be animated. I tried to talk to hostgator about helping with this issue and they simply said that I must find a solution ...
1
vote
0answers
64 views

The alt=“” attribute is empty

My WordPress installation creates empty alt attributes inside images. I also installed the plugin SEO Friendly Images but it did not change anything. <img class="highmage" ...
1
vote
0answers
51 views

Add custom text in the media library image meta area

I want to add some custom text in this area in the media library: Is there a filter I could hook into or how can I add content there? If not, how do we do this using Javascript? I want the text to ...
1
vote
0answers
53 views

Export xml use/import images from theme directory

Is it possible to create demo.xml for a theme that when imported into fresh theme installation will use/import images from theme directory folder (e.g. theme/images/demo) rather than import media from ...
1
vote
0answers
171 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
0answers
129 views

Frontend Image Upload

I have the following code used at the top of my front end user profile page, everything works and displays fine except for the following problem .... If I upload an image and submit the form usermeta ...
1
vote
0answers
554 views

How to upload image and attach to Woocommerce product gallery?

I got the following code which takes and image, uploads it to my server and sets it as a featured image. How can i change it so it adds the image to the product gallery in Woocommerce? Maybe ...
1
vote
0answers
172 views

Add ALT attribute to Pin It Button image to pass HTML5 validation

I am using the Pinterest "Pin It" Button plugin so I can add to my posts/images. However, part of the Pin In button uses this code: <img border="0" class="pib-count-img" ...
1
vote
0answers
143 views

Animated Gif image not uploading correctly

Started today, I tried many times to upload a gif image and inserted it. Wordpress gives this But when I checked media library, I found it there attached with a post. These are error logs: [Mon ...
1
vote
0answers
70 views

Caption and title in img alt tag are the same?

I'm currently on WP 3.6 and noticed an unpredictable behaviour with the alt attributes generated by WP. If I have an image title, the title appears in the alt. If I have a caption, the caption ...
1
vote
0answers
179 views

How can I display an image description, from an image gallery?

I have a vanilla install of Wordpress 3.6. I'm using the Twenty Thirteen theme. I've created some galleries. On the individual image page, the "caption" is displayed below the image. I'd like to ...
1
vote
0answers
108 views

Bulk edit of EXIF data for jpeg images uploaded in the media library?

Although there's a number of plugins that display EXIF data in your posts or remove EXIF data altogether to save space, I couldn't find a solution to manually edit EXIF data for whole bunches of ...
1
vote
0answers
179 views

“Medium” size image displayed instead of “thumbnail” in only one post, other posts are fine

Please take a look at this cicada photo - http://photo.aseev.com/stock-photo/cicada-exuviae/ - below you will see 5 thumbnails, all of them are squared, except one (a bug on white background). It is ...
1
vote
0answers
110 views

Conditional Image Sizes for Use via Theme Customizer Upload Only

I'm looking for a way to add image sizes that are only generated by uploads happening in the Theme Customizer, any suggestions or direction on how this could be done? I've already worked with the ...
1
vote
0answers
29 views

Rewrite all article pictures to link to file

I got a wordpress blog with thousands of articles. The problem: I want to use a lightbox plugin(http://wordpress.org/plugins/fancybox-for-wordpress/) but in order to work the pictures in an article ...
1
vote
0answers
25 views

Upload box media size not working

I recently downloaded wordpress 3.5.1 and installed it on my website. This should be the website that is launched in the air. On the demo site when i click on Add Media and want to change the image ...
1
vote
0answers
188 views

Featured images disappear after DB export/import?

I'm upgrading my blog right now from 3.2.1 to 3.5.2. However, for one section the featured images have seem to disappeared. The database is identical since I just did a dump/restore a few minutes ago. ...
1
vote
0answers
79 views

Watermarking Images with Wordpress with WP_Image_Editor

I really like the WP_Image_Editor class. I wanted to use it for some custom functionality I'm making, but I was wondering - Watermarking images - is there a way that I could use the objects created by ...
1
vote
0answers
81 views

Creating a post image to show in a gallery

Sorry if this title of question is not clear. I have create a custom post template with the help of this plugin Custom Content Type Manager With this plugin i create this , and i am at the Second ...
1
vote
0answers
41 views

Make change in media library affect images in published articles

Is there any way/plugin to make wordpress change the description/alt text/caption of an image used in already written articles if I change any of those texts of that specific image in the media ...
1
vote
0answers
556 views

Is there a way to delete images from Wordpress media library programmatically?

This is a follow-up of my question which did solve my problem, well, a little bit. I noticed that there are still images on my uploads folder but of different size. Is there a way to delete all ...
1
vote
0answers
85 views

Upload Image Not accessible

I'm getting a 500 error when trying to access the full version of any image. As soon as it's uploaded to the server, it becomes 'unavailable', and each file cannot be accessed/deleted/anything - like ...
1
vote
0answers
299 views

Tinymce and uploading local pictures

I would like to extend the capabilities of the wordpress editor while keeping the option of uploading local pictures (in the simplest way possible:upload => insert). I found a plugin which seems to ...
1
vote
0answers
46 views

Insert File URL Links to Existing Images that Were Not Originally Linked to Themselves

I hope the title was descriptive of what I'm looking for. I have a client who has been inserting images into hundreds of posts, but choosing "Link URL: None" when inserting images instead of choosing ...
1
vote
0answers
66 views

Change Featured Image direcly in the Page

In Doing an Image Gallery with Fancybox( lightbox ) using a wordpress loop, take a look at the code inside the loop: <div class="gallery_image"> <p style="width:201px; height:199px;"> ...
1
vote
0answers
75 views

Regex to turn embedded images in to attachments

I've got a blog that has all images embedded in each post rather than a thumbnail linking to an attachment page which is what I'd like. I understand from this question that no plugin (like Regenerate ...
1
vote
0answers
189 views

Retrieve/get current image from Nextgen gallery db

I thought that I can do it using the database where the idea was to get the image from the ngg_gallery_pictures table, where the browser URL is equal to URL of the image in the table. Then I will get ...
1
vote
0answers
101 views

Exclude image titles from search results

I would like to exclude image titles from search results. For instance, if I have an image called image-wikipedia.jpg, right now, if I search for Wikipedia the story that uses that image is returned ...
1
vote
0answers
217 views

Adding (image) caching to my Tumblr widget

I've hacked together a simple plugin to show the latest image from a Tumblr blog. To avoid upsetting the Tumblr API (v1), I want to cache that image within Wordpress... I think perhaps I can do this ...
0
votes
0answers
10 views

Change Wordpress Gallery Markup in functions.php

I'm looking to change the markup of the Wordpress Gallery, so that it outputs a new set of code. Ideally, this is what I want (a Bootstrap-based markup). <div class="col-md-3 col-sm-4"> ...
0
votes
0answers
12 views

image on rss feed on post

i am so new to wordpress, i have a theme, i want my website to display post of bloggers fashion posts from a virtual world second life...i started using blogger, they have a simple widget "bloglist" ...
0
votes
0answers
13 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 : ...
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
15 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
33 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 ...
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
0answers
38 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 ...