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
85 views

Two “the_excerpt” questions

In case there's more than one function the exact one is: php the_excerpt(); I want to decrease the character length to X amount and I want to remove the [...] and replace it with an image that users ...
1
vote
1answer
1k views

How to order images in a post in Wordpress 3.3?

In wordpress 3.2 when uploading images to a post, I would get a Gallery that is linked to the post. That is, I could see in the media uploader of the post a tab that contains only the images of this ...
0
votes
1answer
207 views

Trying to show link “Use as featured image” from Attachment window from t31os script

i found this great script from t31os that give me the chance to hide fields and buttons when we have to add images on a post in wordpress. function myAttachmentFields($form_fields, $post) { // Can ...
4
votes
3answers
574 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
2answers
629 views

How to replace post image url before posting using api?

I am currently writing phpNuke import Wrdpress plug-in. I have a problem with importing posts with images: + I already had written a routine which extracts image tag text and images from source post ...
1
vote
2answers
3k views

Hook to get image filename when it is uploaded

I want to get the full local filename of an uploaded image so that I can copy it to a new directory and process it with my own image processing scripts. Which hooks/actions should I look into to ...
0
votes
1answer
312 views

Random Image Script Working but Want to Avoid Duplicates

I'm using the following to display random images: <?php $new_query = new WP_Query('&showposts=24'); ?> <?php while ($new_query->have_posts()) : $new_query->the_post(); ...
1
vote
1answer
2k views

Count all images of a certain post type

I followed two posts related to my query. One was about the number of images attached to a post and second about showing all images of a certain post type. I tried to combine the two codes in the ...
1
vote
2answers
818 views

How to copy and paste a picture found on the web to wordpress easily

Anyone knows how to do so? What about if you want to edit the pics a little bit before pasting. I am using windows.
1
vote
1answer
1k views

Changing Header Image Every N Minutes/Seconds

I am trying to change the header image every "n" second/minutes. Have looked at a number of solutions on the web and am at present using the PHP code fragment below available at ...
0
votes
1answer
203 views

Fetching Image from other post/page with custom type

I'm building a theme that display image according to a category. Exemple, There a Fashion section, which is a page. On that page I have uploaded photo related to fashion. Another page is Portraits, ...
1
vote
2answers
114 views

For homepage images (for small business website), is it better to use custom fields or post_thumbnail?

Already searched on here and couldn't find question so forgive me if it's been asked. I'm trying to use dynamic images on a homepage so my client can maintain the images. I've seen tutorials where one ...
0
votes
1answer
558 views

changing the default picture size link url

when i'm inserting a single picture thumbnail from the gallery with a link to the original picture, it gives me this: <a ...
0
votes
3answers
2k views

Image Captions Have a 10px Extra Margin, And It's Not CSS? [duplicate]

Possible Duplicate: Caption in Page adding unwanted 10px to width This is a screen capture from a post. I have given .wp-caption a black background so the extra 10px margin on the right ...
1
vote
1answer
904 views

Custom Image Thumbnails of Different Sizes

I have a Custom Post Type which contains custom fields for uploading images of different types for a portfolio site. For example: (logos, websites, print-ads, etc...). I plan on uploading images of ...
1
vote
1answer
305 views

Gallery Image Numbers?

Is there a way, in an image gallery, to display what number the image is in the gallery in the image.php template? I'd like to incorporate this into my next / previous button area. For example, if ...
0
votes
3answers
380 views

how can display a post on home screen without images

When i post something with an image, its also displayed over homepage.. And my post has image some images inside the content of the post.. and I am not using any featured image.. How can we display ...
0
votes
1answer
3k views

Wrap all post images inside a div element

I searched for all kind of solution but i really could find one that did what i was looking for, what i simple want done is wrapping all images inside a div element, old post aswell as new posts. All ...
0
votes
1answer
140 views

A little confused as to what add image size actually does

I have a call to add_image_size like so: if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails' ); } if ( function_exists( 'add_image_size' ) ) { ...
1
vote
4answers
749 views

Different image sizes for home and post pages

I'm wondering if it is possible to use different image sizes (medium, large) for the content on the homepage and single post pages. I have a narrow column on the homepage than on the single post pages ...
2
votes
1answer
831 views

Change Output for Images in Content

I want to wrap some html (divs and classes) around the tag (to create the appearance of photo corners by way of an image sprite). Basically, I want to re-write all tags added by WP in the content ...
0
votes
2answers
2k views

Images will not attach to posts after site migration

I recently migrated a WordPress install from a subdirectory to the root. After the migration everything worked great, except that I can no longer set a featured thumbnail or add a picture in the ...
0
votes
1answer
185 views

Alter the image used for a user who has not uploaded a custom image yet

I was wondering if the default image generated for a user in the comment section is "set" somewhere in the WordPress backend. If so, I'm not sure where this setting is. Please see this image to see ...
0
votes
1answer
53 views

Image.php Problem - Post Images Not Displaying In It

When I insert an image into a post and link to that image, the link is sending me directly to the file rather than displaying the image via my image.php template. How can I solve this? I haven't ...
2
votes
1answer
437 views

The WordPress Gallery, Grabbing The Link and Images?

I have created a template for gallery named image.php which allows me to create a news website style image gallery that can be embedded in posts. But I need two more things to make this complete. ...
0
votes
1answer
1k views

Store in media library image uploaded from url

Is there a plugin that when upload from url/web, it will also give an option to store the images locally and/or into the media library?
0
votes
1answer
38 views

*box for images displayed as a post's [gallery] [duplicate]

I can remember that (at some time) there was a box display (LightBox? GrayBox? ThickBox?) for displaying images when clicking on them. Example: ...
8
votes
3answers
6k views

Masking wp-content/themes/name/images to just images directory using htaccess

I'm trying what I thought would be something really simple of masking my url but cannot seem to get it to work. I want to be able to link to images in my img tag without having to type in the full ...
0
votes
2answers
959 views

How wordpress handle upload images and how to use them in the code

When I upload images via the standard media uploader I notice that it upload the original images with the same name but creates other cropped copies of the original one and rename them with ...
0
votes
3answers
2k views

Can't seem to see images on my machine but can on the server

Hello I just started using wordpress (complete noob) but I need a bit of help. I have installed wordpress and on a linux/centos webserver and this works fine. However when I use another machine, open ...
0
votes
1answer
1k views

wp_get_attachment_image_src() with advanced custom fields returning empty

I am using the advanced custom fields plugin to upload images for an image gallery. I am attempting to retrieve the different sizes of images that are saved in the uploads folder and having problems. ...
0
votes
2answers
620 views

Get thumbnail URL :)

I try to get thumbnail URL correctly... In my functions.php, I have theses lines: <?php add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 'emphasis', 132, 82, true ); ?> ...
1
vote
1answer
35 views

Suspicious mesage appears instead of images

My installation is of Multisite setup . when I upload an image and try to view it, getting a message 'go home baby!!' instead of image Actually the specific sub-site is also mapped with a custom ...
0
votes
5answers
292 views

Resizing Picture

I'm new to WP and am not sure how to re-size a picture. I want to scale down the pic of the guy on this page: http://www.millermusiclessons.com/ If you view the page source and find the source of ...
0
votes
2answers
356 views

How to add image for all posts associated to specified category?

simply i want to add image beside every post depend on the category something like that http://network.smashingmagazine.com/ you will see there is an image beside every post, i want it to be related ...
0
votes
1answer
85 views

Why does WP allow to view and media item as a page

Every media item that is uploaded to Wordpress can be viewed in a page. This can be seen if you browse to the Media section, hover on any item and click view. Are there any benefits to this because I ...
0
votes
1answer
848 views

If custom image header does not exist display text header

I've added a theme options page to my site (in my functions.php file): add_custom_image_header('', 'admin_header_style'); My header.php contains this code, which displays the Featured Image as the ...
1
vote
4answers
4k views

Using Taxonomy Image code with my get_categories code

I'm using Taxonomy Images to associate images with categories. I'm using the following code, one is to display the categories, the other to display the images. Here is the code that displays my ...
0
votes
1answer
185 views

get_image_tag filter not working

I'm trying to get the custom field data off an attachment and display it following the image tag in a page/post using the get_image_tag filter. I'm using the same function to get the same data and ...
6
votes
1answer
5k views

remove links from images using functions.php

I am looking for a way to remove the attachment link from images in the post content. I would like to add this to the functions.php in my theme. I know you can disable this in the post on a per ...
1
vote
3answers
446 views

Best option for photo/gallery handling?

Before I finally start blogging there's one last question that I need help with. My blog will be photo-focused. We're talking about 70-80% of photos compared to 20-30% of text. There might be some ...
0
votes
1answer
112 views

Looking for a photo management solution

I need a good solution to manage a lot of photos (several thousand+). My ideal scenario is to rip my camera card onto an FTP, then, a single gallery is created from that card rip. Someone can go in to ...
6
votes
1answer
7k views

Removing Image and Caption Dimension Attributes

This question is an offshoot from the this discussion on removing dimension attributes from images. The solution code provided on that thread works very well except that it has the unfortunate side ...
2
votes
1answer
343 views

Best way to strip character entities (%20 etc)

I have a heap of images inside MovableType, on an old server. There are plenty which have character entities like %20 to represent spaces. I've used some plugins to import the images and change the ...
0
votes
1answer
720 views

How to change background image from Wordpress Gallery

I am building a custom theme for a client in Wordpress: She wants the background to change when you click on a gallery thumbnail in a post. It must be a solution, that doesn't involve any coding on ...
5
votes
1answer
1k views

Add existing images from Media Library in to custom gallery

I have [gallery] inside the post, and I'm interested in a way to add already existing images from media library in to this gallery? once I trying add any image I have only one option - insert into ...
1
vote
1answer
1k views

Show full image thumbnail

How can I set full image thumbnail on category pages? Image should be small in dimensions but not been cropped. Currently my theme WP-Davici (Solostream) use "Get The Image" plugin to generate ...
0
votes
2answers
2k views

Uploading images in custom post form

I have custom form for posting in my theme file. I also need to upload photos(videos also but photos are more important now) and I prepared form using wp handle upload function. It's working, images ...
0
votes
1answer
412 views

Plugin to hide image in excerpt

I was looking for a plugin that will enable me to hide an image on the excerpt, but show it on the single post view. Anyone knows if there is any?
0
votes
1answer
341 views

Image menu showing categories in page

I'm trying to display different images in a page that links to categories. Currently i have a page that shows the categories and the pages for the categories but it needs a slight change. I need to ...