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
1k views

Where do you upload images on a wordpress site?

I am very new to wordpress and learning on my own.I have started to create a website where I need to upload images. I want to ask if you all usually use the same database to store the image(if so, ...
0
votes
2answers
3k views

Automatically wrap post image in div

In regards to image attachments inserted into a post, I would like to wrap the img tag inside a div tag for specific design purpose. Is there a way to do this automatically after attaching the image ...
1
vote
2answers
284 views

How to handle large number of images in a post?

I have a load of images - up to 16 per post plus a thumbnail and a logo. I want to figure out what the best way to handle them is. Since I'll be adding new entries quite regularly the number of images ...
11
votes
3answers
6k views

How can I make add_image_size() crop from the top?

I have a series of posts, all with featured images, but I need to be able to customise the crop top right corner. In this instance, I need them to be cropped from top right, but it would be useful to ...
1
vote
1answer
7k views

how to get original image using wp_get_attachment_image_src

I want to get the original image with the same width and height as uploaded. My original image is 630*370. Using the following function call I get a thumbnail sized at 630*198. ...
0
votes
1answer
298 views

Images uploading to wrong folder

Images keep uploading to /uploads/2010/07 instead of /uploads/2011/06. Permissions are set to 777 just to find out if 755 is an issue, and it's not. I don't have anything in Media to define a new ...
1
vote
1answer
526 views

can you call the alt tag for an image dynamically?

I need to call the alt tag for images on my site dynamically. The only thing I can find online is to use the post title function but that doesn't really help me out.
1
vote
1answer
313 views

Using Fullscreenr with a wordpress blog - weird bug

I'm wondering if anyone here has used the jquery plugin 'fullscreenr' with a wordpress theme before. I've noticed a weird bug that I'm sure anyone who has used this before for a wordpress build would ...
1
vote
2answers
1k views

Implementing an image hosting website using WordPress?

I am exploring the idea of implementing a (vertical) image hosting service on a self-hosted WordPress platform. I have found several php scripts that can be used for a basic image hosting service and ...
2
votes
4answers
823 views

Separate attachment images from post loop

I'm trying to create an array of images for a slideshow gallery script, so need to separate the images from the post loop - any ideas of the best way to achieve this and make it easy to add images? I ...
0
votes
2answers
407 views

Unable to select image with custom field

I'm using the advanced custom field plugin to convert WP into a CMS (it's works brilliantly for this). There's just one issue - with an image field it's not quite a smooth process as images need to be ...
3
votes
3answers
4k views

How to find attachment ID for first image in a post

I am using a plugin to forward photo posts from wordpress to a tumblr blog. I have the following code: //post blog to tumblr function postBlogTumblr($postID) { $URLServer = ...
2
votes
1answer
237 views

Alternate header image

Is there a convenient and configurable way to alternate between different header images? The main features I'm looking for are: Random select from a set of images Specific header image in given ...
1
vote
2answers
1k views

Image upload appearing as broken images following server move

I've got the horrible task of moving a site from one hosting server to another and had no end of problems for DNS issues to temporary domain issues and FTP issues. However I've managed to install a ...
0
votes
2answers
835 views

Warning : tempnam() [<a href='function.tempnam'>function.tempnam</a>]: SAFE MODE Restriction in effect

When generating PDF with dompdf I am having this problem in pdf file when viewing file in notepad Warning : tempnam() [function.tempnam]: SAFE MODE Restriction in effect. The script whose ...
4
votes
2answers
5k views

Default Image Link Removal

Just wondering if there is a way to remove WordPress's default function of adding a tag around an inserted image. I assume its a "remove_filter" function like you can do for WPAutoP, but all my ...
1
vote
2answers
2k views

Frontend image uploading from edit profile page. (goldenapples)

I have been following goldenapples front end file uploads tutorial, however i do have that working for my frontend posting page, but what i am wanting to accomplish now is to add an image from edit ...
0
votes
3answers
1k views

What's the proper way to use the get_image_tag filter?

I'm attempting to remove the title attribute for post thumbnails (on certain posts), and I assume the get_image_tag filter is the way to do this. However, what I've got so far isn't working. What do I ...
1
vote
1answer
194 views

js and images files are not recognized - beginner

it might be the simplest question but i can't find why my javascript files and images are not recognized by wordpress : i put all my JS files and images in my theme's folder, so i created a folder ...
0
votes
1answer
2k views

Turn off image captions in gallery view?

I've set up my loop-attachment.php to show the gallery of thumbnails above the main, selected image using this code from the WordPress Codex: <?php $gallery_shortcode = '[gallery id="' . ...
1
vote
2answers
471 views

how to attach an image to a custom post type in wordpress using just code

I'm dynamically creating a custom post type in code (not in the editor) and I have an image I want to attach to my custom post type as a post thumbnail, and have it resized, etc. How do I do that. I'm ...
2
votes
1answer
1k views

Any way to “combine” galleries or show multiple galleries as one?

So let's say I run a TV show blog. One day, the show releases to the public a set of 10 screencaps from an upcoming episode. I post that on my blog, either as a post with multiple images, or ...
0
votes
3answers
9k views

How to enlarge thumbnail on mouseover?

I am currently using NextGen Gallery and I want to view full images when I hover over the thumbnail, it is much better than waiting the user to click. Currently I obtain this functionality in Chrome ...
0
votes
1answer
330 views

Upload attachment from external site

For example, we have some image on the external site: http://site.com/image.png How do I upload this image to my wordpress as an image attachment by php? Image should be copied to my uploads ...
1
vote
1answer
167 views

Show an image in my header.php

I want to let my customer choose any image (in my backend) and then it will be displayed in my header.php. i've found Image Widget, but it just show images in the sidebar. I want something like: ...
-1
votes
1answer
226 views

How to insert a column (part of theme) in the middle of the content body?

Was asked to simplify the question. Here we go: As you know, the "content" part of a WordPress posts all appears together. What I'm trying to recreate is how on several news sites, they'll have the ...
0
votes
1answer
157 views

Cache DB queries result

On my new site i am displaying most of the images instead of text. I show images for recently written, recently viewed, mostly viewed posts etc. I found that in 40% of cases posts are same. so i need ...
2
votes
2answers
699 views

How to limit 1 image per post on homepage only?

most of my post on wordpress got 6 or 5 images perpost. My problem is if I posted 5 new post with new images, it will be totall 25 images display on my homepage. I want to limit 1 image perpost on ...
0
votes
3answers
617 views

How to retrieve the postID in a “image_send_to_editor” hook function?

Here is my function: function insert_img_rel_attrib( $html, $id, $caption, $title, $align, $url ) { $postID = ??? $rel = "<a rel='shadowbox[".$postID."]'"; if ($url) {$html = ...
1
vote
2answers
2k views

Force wordpress to see uploads folder media

I uploaded the "uploads" folder to my wordpress install manually from a backup with the exact domain. All of the media properties for height and with are the same and they are all visible on the site. ...
2
votes
2answers
524 views

Best way to programatically add “rel” attributes to page and post images

For single posts and pages, I would like to add certain rel attributes to all the images on the contained therein added with the "Add Image" functionality on the edit screen. The attribute would be ...
5
votes
6answers
6k views

Disable image attachment links

Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it's possible to do it manually when you add an image to a post but I want to disable this ...
1
vote
2answers
12k views

How to get only text from wordpress post content?

I have been using wordpress for my projects. For my homepage of the site I need to display limited text from the post content and the content contains images as well. To display the 100 text i have ...
1
vote
2answers
384 views

Image gallery plugin

Can you recommend a tutorial or a plugin in wordpress that lets you achieve a similar gallery, like this http://www.whitehouse.gov/photos-and-video/photogallery/may-2011-photo-day Large Preview then ...
2
votes
2answers
2k 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
902 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
1k 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
278 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
412 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
685 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
254 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
488 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
1k 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
402 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
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
667 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 ...