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

Stop Images Linking to Themselves?

I have images on my website which I do not really want stolen, I have a no right click plugin which will help, and I would like to stop people clicking on the image to display it on it's own in a ...
0
votes
1answer
757 views

Convert attachment ID into url?

I'm using the plugin advanced custom fields to create custom fields to create a relationship between two pages. The code below is looking at the relationship field and grabbing the page title and ...
0
votes
1answer
407 views

Is it possible to modify default image name suffix?

So that, I tried this technique - Modify Default Image Name Suffix but it doesn't work as I need, I have all the images loaded, and I need to regenerate them. And what about the recovery of the ...
0
votes
1answer
1k views

Boldy theme - Regarding the images above the boxes

Hello I am using the Boldy theme for my Wordpress website. I have a problem with the boxes (all 3 of them). All these three boxes have a "read more" that takes the user to another page, and above ...
2
votes
1answer
506 views

Add a featured image in my theme?

I'd like to add a Featured image to a default article or a Custom Type Post in my theme but I don't get the area of the highlight image, why? In the default theme the option is present but not in my ...
1
vote
2answers
3k views

Gallery with thumbnail carousel

first post so hopefully I don't break any rules! :P I'm in the process of building a Wordpress theme for the Architecture office I work in. I am creating a page template to use for individual jobs ...
1
vote
2answers
512 views

Rotating image does not work for custom image sizes

When rotating an image with the WordPress image editor it creates new images and renames all of the images for the thumbnail, medium and large image sizes that are default for WordPress. My problem ...
0
votes
2answers
661 views

Fetching uploaded images using Link URL

I am trying to fetch the uploaded images using the link URL (The Link URL option is available in the Add Media when we upload/insert media) and display it on web. I have gone through the methods ...
0
votes
1answer
131 views

Foliopress WYSIWYG editor does not display images

I use the Foliopress WYSIWYG editor. I inserted overview-1.png via the 'Quick Insert Image' option. This added the following mark-up: <img width="166" height="263" alt="overview 1" ...
0
votes
2answers
291 views

How can I add inline CSS for each image?

Is there a filter or hook that I can use for uploaded media? I need to use it for custom CSS properties based on the media's description. It will be like: <img src="image_url" style="width: ...
0
votes
3answers
3k views

How can I get a different image size, if all I have is the link?

For various reasons, I can't use Wordpress' built-in Thumbnail functionality. What I want to do instead is to use the first image in the post as the thumbnail. Here's what I found in the codex: Show ...
0
votes
1answer
768 views

Image crop, resize and compression plugin?

I've been looking through the plugins to find one that will allow the user to resize & crop images within WP. This has been the one area that clients struggle with - mainly those who don't have ...
1
vote
3answers
540 views

Photography Based Design - Multiple Images Per Post

I'm thinking of using WordPress for my new website. It's a photography based website and the client will be uploading groups of photographs primarily. They'll want to give it a title and upload up to ...
1
vote
1answer
778 views

Loop through child images of a parent for a Nivo Slider

I want to use a Nivo slider to cycle through the children of a parent page one by one, how can I do that? I have the following piece of code that grabs ALL the children of a parent page and displays ...
1
vote
2answers
370 views

Set jpeg_quality for certain post-types

Without using timthumb, does anyone know of a way to set jpeg_quality for certain post-types or posts?
1
vote
3answers
4k views

How do I set the default “feature image” size?

I know I can set up post, pages, and custom post types to use featured images in wordpress by enabling theme support: add_theme_support( 'post-thumbnails'); Or enabling theme support for a specific ...
0
votes
1answer
35 views

Regarding Posts

I have several questions How to limit characters in the post? How to ensure every posting require images upload? That's all, appreciate if anyone can help..
1
vote
3answers
2k views

HTML tags in Wordpress image caption

I'm developing a client website with Wordpress (3.3) but have found that the image caption feature strips out any HTML tags. The resulting caption is plain text which makes proper image crediting ...
1
vote
2answers
367 views

Character Limit w/ Excerpt removes Images Why?

So I limited the amount of characters per post via the_excerpt('50') but it removes the image that I added to my post. How can I bring that image back so it shows up above the post then limits the ...
1
vote
1answer
79 views

Publish/Update post is changing image links from file url to post url

I've written a filter to wrap images included in posts with figure tags and their captions with figcaption tags. I turned off the visual editor so that it doesn't strip out all the html from the ...
0
votes
1answer
33 views

Add images to my theme with html

I've uploaded an image to my directory (themes/themename/images/file.png). I want this image to be displayed even if the directory preceding themes is changed (in case someone installs wordpress in a ...
0
votes
1answer
87 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
209 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
640 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
698 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
332 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 ...
2
votes
3answers
1k 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
2k 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
213 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
115 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
658 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
1k 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
340 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
413 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
4k 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
143 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
833 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
959 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
54 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
458 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
2k 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
40 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: ...
9
votes
3answers
7k 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
1k 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 ...