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
1answer
270 views

Crop images in both sides on wordpress [duplicate]

Possible Duplicate: How can I make add_image_size() crop from the top? When generating a thumbnail or featured image the wordpress resize the smallest side and then crop the largest side. ...
0
votes
3answers
665 views

Multiple image uploader under editor?

I need a plugin for custom post type. I need something like this: Can anyone suggest a plugin which has this feature, especially image upload and "Add another" button option.
0
votes
2answers
1k views

how to grab first link in post… and of course call it

I have been trying to get the answer to this for ages now and wondered if anyone here could help. I would like to 'grab' the first link in a post and attach it to a button/image. I have tried the ...
1
vote
3answers
4k views

How to copy/paste web content with photos into my blog

I use my wordpress blog for research... When I write about something, the firs thing I do is research of what's already out there on given topic. What I want to do is to be able to copy paste parts of ...
0
votes
2answers
3k views

Bulk Image Uploader to create new post from each image [closed]

Is there any plugin which creates a new post from each image I upload/select with it? I want to create many posts with one image per post. Currently I select, upload all images. Then create new post, ...
1
vote
2answers
233 views

Pull images from the gallery

I am building a template where wordpress is being used primarily as an image CMS, I am pulling the first image from the content section of each post. <img src="<?php echo grab_image() ?>" ...
3
votes
1answer
739 views

get_intermediate_image_sizes Get the Size Names but How Do I Get the Sizes?

I'm setting up a widget that allows to add an image to a sidebar / widget area. Basically I have a dropdown that allows the user to select one of the available sizes inside the theme's functions.php ...
10
votes
9answers
7k views

How to automatically add rounded corners to thumbnails?

I want to created automatically rounded corner thumbnails for a particular project I'm working on, using something like this: ...
3
votes
1answer
2k views

upload image in a meta box

im trying to implement uploading via a meta box without using the media manager, but i want it to add as a post attachment. im currently doing it just uploading and saving to the server. <?php ...
3
votes
3answers
875 views

Reducing image size in RSS only

Is it possible to reduce the image size of WordPress rss feeds parse to feedburner? Meaning to say I still want to retain the large image size on the original post page but only display the ...
1
vote
2answers
498 views

Imported thumbnails have incorrect URL

I have an older WordPress site that is going away but I am taking the content from the site and importing it into my new WordPress site. To do this, I used the WordPress Export tool, located in my ...
0
votes
1answer
44 views

where is images/image.jpg?

I am being forced to use a SOAP service on a site, and for some of the UI elements it is calling images that I have to put in place. I can't point them to a theme folder, as I have no control over ...
1
vote
2answers
2k views

How to add the image URL from an external RSS feed and insert into a custom field?

*Editor Note (Original title: The url from an image via custom field) changed to be more descriptive. Hi all, Am not even sure if this can be done but...after ive been searching for the last 6 hours ...
1
vote
2answers
163 views

How to put Stack Exchange Flair as widget?

I want to put my flair in as a widget in the top of my sidebar in my blog. There was a similar question asked here but the only answer links to the flair page and suggests copying and pasting the html ...
3
votes
2answers
912 views

remove missing image attachments

Best way to programatically remove attachments that are missing images? I ask because after using a caching plugin, I have images that have been input in the database as attachments that don't ...
3
votes
1answer
2k views

Programatically creating image attachments from local URLs and setting featured image

I'm currently working on importing an MovableType blog into WordPress. The blog has several thousand posts, and each post has an image associated with it. The export file contains references to each ...
0
votes
1answer
903 views

Images don't show up

I've just set up a new multisite installation. Everything works as I'd except that images don't show up on any of the sub-sites. Any idea why the images don't show up? I'm running Wordpress 3.1.1 on ...
3
votes
4answers
3k views

Use https for img src

My site requires the use of https for all img src HTML. This is the WordPress function I'm using to display images: <img src="'.get_bloginfo("template_url").'/images/thumb-default.gif" /> ...
2
votes
1answer
3k views

Why are images not displaying?

Server: IIS 6 WordPress version 3.1.1 Multisite using SubFolders I'm able to upload images to the server, but thumbnails and full size images do not display. If I try to edit the image, the preview ...
0
votes
1answer
441 views

Why images are disappearing on WordPress web site?

I had this problem on 2 web sites (different versions of WP, different web hosts, different plugins), once in a while some images are disappearing from media library. Is it plugin-related issue, ...
2
votes
1answer
389 views

I'm trying to add an image in my CSS

I'm trying to add an image in my CSS with the theme folder code, <?php bloginfo('template_directory'); ?>, which works in HTML but for some reason it's not working in the CSS. Does anyone know ...
2
votes
3answers
537 views

Caption in Page adding unwanted 10px to width

I'm trying to create an image with a caption in a Page I'm working with. In the image options, I have it aligned right, with an image width of 220. Without the caption I have no problems, however with ...
3
votes
1answer
297 views

Pasting images removes class attribute

When you paste an image with a class attribute in the Wysiwyg editor, the pasted image no longer has this class attribute. This makes it harder to copy and paste images that are aligned with the ...
2
votes
6answers
2k views

hide/protect original full-size images

I was hoping it would be possible to save original images to a separate directory to the resized images so that they could be safely hidden but this seems to be too difficult. So I am now asking if ...
0
votes
1answer
135 views

Always display a picture even if the link is broken?

What I would like is to have a sort of fall back photo so I don't get red Xs.. Something like "photo unavailable please come back later" Is there a way to check if the image path is valid and if not ...
0
votes
2answers
905 views

Wordpress function when file is uploaded, deleted or edited

I need to call this bit of PHP when a file is uploaded, deleted or edited. $output = shell_exec("bash ./upload.sh"); echo $output; I can't seem to find the right code to execute this when any of ...
0
votes
2answers
666 views

Remove “%” from strings in serialized arrays in wp_postmeta

In the course of converting a blog from Blogger to WP and running a script to grab hot-linked images for hosting, I ended up with some funky images names like act%252Bapandas-210x290.png These ...
0
votes
1answer
585 views

adding images to wordpress pagination?

I'm working with a blank theme and my nav.php looks like this <div class="navigation"> <div class="next-posts" style="float: left;"><?php next_posts_link('&laquo; Older Entries') ...
1
vote
1answer
2k views

How to add a random image to a post from gallery and only show one?

How to add a random image to a post from gallery and only show one? I know how to add an image and a gallery. I need to have one image from the galley show on the page at random each time the page is ...
1
vote
1answer
931 views

Media > Image Sizes aren't being applied to uploads

Under Media Settings I edited the Image Sizes to the following: Thumbnail size: 170x80 Medium size: 550x170 Large size: 550x320 ("Crop thumbnails to exact dimensions" is checked) Maximum embed size: ...
0
votes
2answers
538 views

Wordpress: Preload next post images

As the title says, i would like a nice bit of coding to stick in my functions that pre-loads any images that are attached to the next post. This means that whilst my users are browsing, they page ...
1
vote
1answer
67 views

Special purpose photos with each post

How would I grab a photo, that has been added to a post, and use it elsewhere on a site when there have been several photos added to the post? For example, my site has a blog (Wordpress) and a ...
1
vote
2answers
583 views

How to get an image transferred via FTP or script to appear in Media Manager?

I've got a plugin that transfers some files over to the uploads folder of the site in which the plugin is installed. It works fine, however, the images are not appearing in the Media Manager. I ...
0
votes
3answers
340 views

Thumbnail and image management

I always though the the image manager into wp is not really good... I need to be able to generate square or custom size when i like where i like, much like TimThumb that generate thum on the fly... ...
0
votes
2answers
502 views

Wordpress Bug on IIS ? Problem when uploading image on IIS 7

When I upload image, I can preview it, but once it's uploaded, It's broken in post, I'm obliged to go to the directory and go to security to add NETWORK SERVICES the right to access the picture. How ...
1
vote
9answers
423 views

Graphing libraries for WordPress [closed]

I had asked question like this long ago at WPTavern and it fizzled. Hope it fares better this time. :) Drawing graphs can be done with multiple methods (generating image files, JS, Flash) and there ...
5
votes
1answer
2k views

Programmatically get images by URL and save in uploads folder

I am involved in a large migration from another CMS to WordPress. We have a copy of the database and have worked out how to extract the content and programmatically create WordPress posts from it ...
1
vote
3answers
2k views

How to display post title & excerpt when mouse hovers on an image?

I am bit busy with developing one fashion website, currently (http://test-domain.zakirsajib.co.uk/), where I have images come from posts and when mouse will hover on any image, the corresponding post ...
0
votes
2answers
361 views

Need To Resize Images Exactly Without Losing Image Details

I am working on a Wordpress site that heavily uses image uploading and whatnot, I have defined the image sizes in my functions.php and I have hard crop mode turned on which ensures that my images are ...
0
votes
3answers
3k views

Applying automatic link class to images embedded to posts

I'd really love to be able to conditionally apply a CSS class to link elements of images embedded into posts, but I can't seem to figure this one out. Basically what I'd like to achieve is to replace ...
4
votes
1answer
3k views

How can I determine if a post has an image attachment?

As far as I know, there's not a simple function that will return true if a post has an attachment. With that in mind, what's the best way to determine if a post has an attachment (or even better, has ...
0
votes
2answers
260 views

Using the on-board image editor for featured images: edits are not being used

I've never really been comfortable with the on-board image editor in WordPress, and here's a good example of why: I'm just setting up a vanilla WP installation and am using the TwentyTen theme. I've ...
2
votes
4answers
4k views

Why can't I edit certain images from the WordPress Media library?

I've noticed some bizarre behaviour in my WordPress installation. For some photos, when I click "Edit Image", the full image is not displayed to me - just the area visible in the thumbnail. And yet, ...
4
votes
2answers
6k views

Why is wp_get_attachment_image_src not working with my custom size (add_image_size)

I have added an image size with add_image_size('gallery-thumb', 48, 48); Why when I do array_slice(wp_get_attachment_image_src($firstimg->ID, 'gallery-thumb')) I get the link to the full ...
3
votes
1answer
1k views

How can I add the “Use as featured image” to a custom metabox?

I am implementing a custom Meta box that allows the user to add images via a simple file input field (based around code on this site: Meta Box Script). This code allows multiple images to be added as ...
1
vote
1answer
768 views

Uploaded images not displaying in network site

I have a network of sites and have recently added another site. When I upload an image it uploads to the correct directory but is showing a broken image link when viewed within the library or on the ...
0
votes
2answers
3k views

Get an image from the media library. Struggling with the code?

Struggling with this code, the conditions work, the only way I can get the wp_get_attachment_url is to loop through it but then this outputs as many images from the media library and I only want one? ...
0
votes
3answers
4k views

How to get the image-URL from Media-Upload in a post?

I generated a new MetaBox for all standard posts in WordPress 3.1. There I generate a input:text field with the ID _meta_fotos[pic], which should hould the image url generated by the standard ...
2
votes
1answer
367 views

There's some way to add a wrapper around posted images?

I need to add a wrapper (I'll use <figure> in my example) around images posted through the editor, with a variable depending on the size image is being posted (thumbnail, medium, large, full), ...
0
votes
3answers
305 views

Get attachment if matches a variable

how do I match an image title from the media library to a variable then echo that image? this is my current code... <?php $args = array( 'post_type' => 'attachment', 'numberposts' ...