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)

2
votes
0answers
46 views

How to add a “data-” attribute to the image tag of native gallery output

While trying to make WordPress and Galleria to become friends I already have a good result. Galleria can easily be used to display native WordPress Galleries. I'm using a plugin but that's not ...
2
votes
0answers
123 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
31 views

Blank upload.php page

I am wanting to optimize the images that I have previously installed on my Wordpress site. I haven't uploaded any images for a while but now when I try to access the Media Library (Media > Library) ...
1
vote
0answers
12 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
14 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
32 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
31 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
44 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
45 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
46 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
41 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
30 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
383 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
352 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
70 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
54 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
64 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
177 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
138 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
670 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
189 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
150 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
72 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
182 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
118 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
196 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
66 views

Image Editor does not affect custom sizes!

Recently working with wordpress 3.5, I came across this patch :http://core.trac.wordpress.org/ticket/19889 ...which solved the problem of custom image sizes defined by my theme not resizing or ...
1
vote
0answers
113 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
30 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
26 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
191 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
80 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
561 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
88 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
305 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
76 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
102 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
218 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
9 views

WP_Customize_Image_Control and selecting from library?

I am adding some theme options, one of which is an image option. $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, ...
0
votes
0answers
12 views

Exporting WordPress -> Flickr

I have all of my images stored in posts on my Wordpress blog, but I'm a tad worried what would happen if my web host were to go offline. I could back them all up by zipping the wp-content/uploads ...
0
votes
0answers
14 views

Remove inline width and height definitions from post images (single.php)

I have exported around 300 posts out of Blogger and into WordPress. The posts are mostly made up of images as it’s a fashion blog. Everything went great import-wise but the problem is that all images ...
0
votes
0answers
23 views

Wordpress Media URLs?

I just launched a Wordpress site after having done all of the standard procedures: moved the uploads folder, uploaded the database, and did a search and replace on all of the urls in the database. ...
0
votes
0answers
24 views

How to get all images except the first included in Post

I have this code, which gives me all images attached to the post. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $args = array( 'post_type' => ...
0
votes
0answers
37 views

Display image from an external rss feed on wordpress without plugins

I am trying to add an external RSS Feed to my wordpress theme. Displaying the feed content and title was a success. But I don't see any option to display the image from the external feed. I tried ...
0
votes
0answers
27 views

Adding Image Description below Images Inserted into Posts

I've got a bunch of images inserted into posts with metadata I'd like to display underneath them: some have caption, some have description, some have both. I've figured out how to filter ...