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
2answers
3k views

PHP Fatal error: Call to undefined function download_url()

First, Here is the full error: PHP Fatal error: Call to undefined function download_url() in /path/to/wordpress/wp-admin/includes/media.php on line 562 I have also posted the related functions at ...
3
votes
2answers
940 views

Function to call the attachment image from post

Hey everyone, I can't se the image of the post (it is attached through gravity form as a post-image) with this function I see the missing image icon with the title and the working link but no ...
0
votes
2answers
1k views

How to insert image from link in TinyMCE

In the TinyMCE editor that comes with WordPress there is no button to insert image from link. I know that you can do this using the upload/insert section. But let us say that I don't want to allow ...
5
votes
1answer
2k views

Delete the original big size image after upload and leave only 3 images crunched by media gallery

I need to know is it possible to somehow erase the original image uploaded via Gravity form : post image - post field?! With the situation now I receive 4 images. 1 original (can be whatever user has ...
0
votes
2answers
316 views

How to internationalize header image?

I have in the following code in the template: <img src="<?php header_image(); ?>" /> However, I want to change this image according to the language selected (through GET parameter ...
1
vote
2answers
433 views

Set a background color per image added to a post

When using a modal window such as lightbox or shadowbox to display a post's images, client would like to be able to choose the background color that would be used for the modal window according to the ...
4
votes
1answer
764 views

How to resize images in wordpress without adding any compression or changing the color profile of the images, possible?

As you can guess from the title, Im looking for a solution that allows me to alter the way Wordpress processes/saves its newly created images according to the media settings in the dashboard. This is ...
0
votes
1answer
262 views

Wordpress Media Library - how to “uncache” images

When doing a recent Google search we noticed that some of our images are being cached by Google but the link that is attached to them is the actual media library link. So when you click on that link, ...
0
votes
1answer
492 views

Customizing the gallery of the post correctly

I've found a way to insert a customized gallery inside my wordpress template but I'm not sure this is the better way. I've uploaded my images with the default image uploader of wordpress to manage ...
0
votes
2answers
2k views

Wordpress Rotating Background Images

I would like to be able to create a rotating background image that resizes with the browser window. I would like to also be able to set a certain amount of images to rotate per page or at the least ...
3
votes
1answer
2k views

Displaying images with relative paths in the editor

By default it seems the editor inserts images using an absolute path. We're developing a site in /staging/ and plan to move it later on. Is there a way to get relative paths on images to display ...
-2
votes
1answer
416 views

Can't manage to display an uploaded picture (uploaded from a custom button) in the front end

I followed this tutorial in order too add a custom upload button in the Wordpress admin. It displays the picture you just uploaded right after saving: The problem is that I can't manage to display ...
0
votes
1answer
286 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
717 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
5k 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
236 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
846 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
1k 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
516 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
166 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
1k 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
940 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
4k 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
544 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
676 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
616 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
302 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
138 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
1k 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
719 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
609 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
1k 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
573 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
628 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
353 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
515 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
445 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 ...