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
4answers
5k views

remove and disable image link in functions.php

Is there a way to disable image or thumbnail link URL, as well as remove existing image/thumbnail links in functions.php? NOT the setting under media as posted in this link, please.
4
votes
3answers
727 views

How might I retrieve a featured post image from an external WP site and display it as a link back?

I have two WP sites. I want to reach from one of them, into the other, and retrieve specific featured images for posts, and display them with a link to that post. I am using this line (with the ...
4
votes
3answers
568 views

List most recent image uploads, but only for specific custom post type

I can get a list of the most recent image attachments like so: $attachments = get_posts( array( 'post_type' => 'attachment', 'posts_per_page' => $number, 'post_mime_type' => ...
0
votes
3answers
64 views

After moving a site to another domain, all images are lost

I moved from www.domain1.com to www.domain2.com Trouble is the image paths left looking at www.domain1.com/wp-content/uploads... So when www.domain1.com went down all my images are now lost. I ...
0
votes
3answers
65 views

Retaining original image size

Since I have a website for Comic reading, if I use reduced image sizes, it will also reduce the text which will be difficult to read. I want to retain the image size. No problem even if it creates a ...
0
votes
3answers
122 views

Wordpress image width top banner background

In http://chuaquanam.ca/wordpress/, would anyone know how to make the image banner in the top of the screen to cover the whole width of the screen which is 1350px (and not 920 px) ? I would like to ...
0
votes
2answers
186 views

Removing height and width from images with a caption

I am using WordPress with Twitter Bootstrap 3 and have an issue when it comes to images with captions. Images with captions are given a height and width attribute which stops them from being ...
0
votes
2answers
36 views

Extending site width according to the image size

The WordPress theme is for a comic reading site. Since image cannot be re sized because the text will be distorted, I need to extend the site width according to the image size in the post. Here is ...
0
votes
2answers
892 views

Get image post ID in media upload

I am developing a plugin that adds a Custom Post Type to my theme. It's a retail directory and the post type is a retail listing. Everything is working fine. I can upload content to the DB and then ...
0
votes
2answers
32 views

How to create a title images for different posts?

I've recently started with wordpress theme development and have come up with a few different post templates but there's one thing I'm still unsure how to do - that is, having a post specific image ...
0
votes
2answers
20 views

Post thumbnail dependant on category

I have two categories (our work and news) and only one single.php If looking at a single post in the news category then I want to show the thumbnail too so have inserted: <?php if ( ...
0
votes
2answers
558 views

add_image_size() to crop images into squares?

So I know about setting custom images with add_image_size('name',X,Y,Crop?) which is cool but I need to build something that will crop images, regardless of their size, into squares. Basically, I ...
0
votes
2answers
66 views

Link images to post

Link images to post. Hi all I'm sure this is simple but I can't see how to do it. I know how to add images to a post - Click in the post, Add Media, choose thumbnail. This gives me an thumbnail in ...
0
votes
2answers
2k views

Height and width attribute not setting by the_post_thumbnail

I am using following code to display images in home page: if ( has_post_thumbnail() ) {the_post_thumbnail('postbox-thumb') But the output of the above code does not have height and width of the img ...
0
votes
2answers
117 views

How do I return an image from a script

I have googled but must not be using the correct terms. I am trying to add a script to my WordPress plugin that takes a url and returns a reformatted image. I know this is frowned upon as ...
0
votes
2answers
2k views

Why can I not view image attachment pages?

I have a problem with images. I can see my uploaded images, as previously, through the media library. I can access each image by clicking on "edit". But if I then click on "View Attachment Page", I ...
0
votes
2answers
113 views

Some images 404

I migrated our old blog to the same server in the main root. For some reason a couple of images won't load up any more even when they are in the /uploads/ folder. When going to them as a URL I'm ...
0
votes
2answers
382 views

How to change the order of elements within a post?

I have a site with several thousand posts. They all have just a single attached image of varying size. All posts are displayed in full (no thumbnail view). I'd like to be able to change the way the ...
0
votes
2answers
686 views

Get single image from custom fields made with WCK custom fields creator

I used WCK Custom Fields Creator to create a repeatable custom field for uploading pairs of images (one color, one black and white) to posts. So for example, one post may have three fields, with two ...
0
votes
2answers
97 views

greater flexibility in targeting images attached to page

Right now I have several images attached to my page, but I only want four of them to display in a slideshow, and then the other ones are referenced within the page's visual/html box. The problem is ...
-1
votes
2answers
573 views

What type to upload image within theme options?

I want to get option to change logo within my option theme. I use this code: array("name" => "Upload Logo", "desc" => "Choose an image", "id" => $shortname."_logo_img", ...
-1
votes
2answers
252 views

Remote Image (from URL) as Media Library element

I have slow upload on my wordpress server and I want to export two very big image to external server. So I need Media Library Image to use in other component. I cant edit URL of Image. Is any plugin ...
-1
votes
2answers
427 views

Editing featured image

How can I edit the featured image? Usually I upload the image in media, there is one option which says "use as a featured image". This works fine but the output image is badly cropped. I want to know ...
-1
votes
2answers
1k views

How can I create a user generated photo wall

I'm looking for a way to create a user generated photo wall. Like a memorial site so to speak. I would have a big header image up top, than people could submit their own photo and it would post below ...
-1
votes
2answers
141 views

How should I force WordPress to give proper name for the uploading images?

How can I force WordPress to give a proper file name for images like "http://www.mysite.com/wp-content/uploads/2012/07/mona_lisa_painting.jpg" instead of ...
-2
votes
2answers
1k views

Is there a secure way for the public to submit images, videos, and documents using WordPress?

I want the public to submit images, photo simulations, models, video, animation, illustrated narration, papers and other publications and multimedia. images - 30" x 42" 300 dpi . pdf format file size. ...