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

How to hide image-url if no attachment?

How can I hide the img-tag if there is no attacment? (function is from this tutorial: http://wp.tutsplus.com/tutorials/automagic-post-thumbnails-image-management/) <img src="<?php ...
4
votes
1answer
659 views

Auto-modifying original [full size] images

Is there a way to make WordPress process Full size images, which by default it leaves unmodified?
-1
votes
2answers
74 views

HTML in PHP problem [closed]

I have the following code but I always get an error, it's the first time I've tried to merge HTML with PHP: <?php if(get_field('post_image')) { echo '<img src="'. get_field('post_image') ...
3
votes
1answer
2k views

Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)

I'd wish to use WP 3.x standard Media Librery rather than relying on 3rd party plugins like NextGen no matter how well they're written. I just don't like duplicating functionalities. Media Librery ...
0
votes
1answer
124 views

photo gallery implementation like tmz

** REVISED POST ** I have a custom post type called photo_group that allows you to input an array of photos. I also have a single post called "photos" which is re-written to be my-website.com/photos ...
0
votes
1answer
137 views

How can I externally retrieve a post's custom sized image

I would like to be able to display my last X wordpress posts in the sidebar of my phpBB3 forums. Since I can't use WP's functions (because trying to use WP's functions into phpBB3 generates ...
6
votes
2answers
190 views

Add default Backgrounds

Is there code or a plugin that would make it possible to add default backgrounds, like you can with default headers in Twenty ten. Seems like the same frame work for backgrounds and headers.
1
vote
2answers
248 views

Upload .doc to blog

All my blog contents are well prepared in MS Word. Some contents have image flow chart. On copying the contents from Word doc, i am not able to copy the Images. How should i copy both contents and ...
3
votes
3answers
3k views

Settings in 'Media > Settings' is ignored when inserting images

When I upload an image, it is automatically resized as I would expect, however the sizes for inserting the image seem to ignore the settings I've placed in Settings/Media. In my media settings I ...
1
vote
1answer
3k views

How to create a simple slideshow out of a post image gallery?

Are there any solutions to transform a default image gallery into a simple slideshow as seen in this theme? Note: click to move to the next picture in the gallery.
7
votes
3answers
410 views

How to insert pictures without hard coded dimensions?

How can I insert pictures into a post without any hard coded dimensions (e.g. <img src="" alt="" /> instead of <img src="" alt="" width="" height="" />)? I don't want my users to switch to ...
2
votes
1answer
155 views

Include captions

I'm using the Meta Box plugin, everything works fine. I'm using it to create gallery function on some custom post type, and I'm able to display the uploaded images using this code: global $wpdb; ...
0
votes
1answer
975 views

Graphics and Formatting Not Loading in WordPress on IIS

We have IIS 7.5 and we've installed WordPress (v3.3.1) through the Microsoft Web Platform installer (http://www.microsoft.com/web/wordpress). All works fine when we load WP locally (e.g. ...
1
vote
1answer
87 views

How to generate video out of images via Wordpress plugin

I am working on Wordpress plugin which can generate video from sequence of images. I read here that we can use FFMpeg and Imagemagick (or imagick) to implement this trick. But, FFMpeg is hardly ...
0
votes
1answer
724 views

Issues renaming images during upload

The main reason for adding this snippet is all about SEO. The people I sometimes make websites for often aren't that savvy with WP and tend to upload their stuff just as is. As these are often media ...
2
votes
2answers
496 views

Converting a simple plugin to be placed inside of functions.php

First off, I know it's better practice to use plugins separately than to integrate them in functions.php but this is for a theme framework that will be deployed to multiple sites and it will be easier ...
10
votes
6answers
3k views

Minimum Dimensions Requirement for Featured Image?

I am creating a baseball website with multiple Authors. From past experience, no matter how well you know someone personally, it doesn't mean they will follow or even read your instructions. That ...
2
votes
1answer
2k views

When Uploading JPEGs, Does WordPress Compress the Original Image?

I'm trying to determine what my image processing workflow should look like. I know WordPress automatically resizes and compresses images to various different sizes on upload. I'm curious if it does ...
0
votes
1answer
788 views

CSS images don't show up with bloginfo

I'm new to WP and PHP and I'm trying to convert my 'old' HTML theme into a WP theme. I created my index.php page and linked it to the style.css. I have some images in the css and, from what I've read, ...
0
votes
1answer
613 views

Metabox image upload value

I am using meta boxes from WP tuts this tutorial http://wp.tutsplus.com/tutorials/reusable-custom-meta-boxes-part-3-extra-fields/ everything works fine but I don't know ho to call value from image ...
0
votes
1answer
52 views

Link to full-size image for subscriber only

I'm looking for a way to disable the "link to full-size image" for people that are not logged in. I would like that people become a subscriber before they can download my full size images. Is this ...
1
vote
2answers
1k views

Advanced Custom Fields

I am using the Advanced custom fields plugin to add a upload image option to a page, but I am wondering if there is a way so that, when I output it to a theme with <img src="<?php ...
3
votes
2answers
9k views

Upload multiple images in a custom metabox

I am new to theme development. I am trying to create a custom metabox that has the ability to upload a image. I am doing this on a page not a post. I want to output the images (multiple) onto the page ...
0
votes
1answer
2k views

How to Automatically import external images to Upload

Hi to all I would like to have a simple plugin, hook, anything that Automatically caches external images. Simple explanation: Actually I'm using this plugin: ...
0
votes
2answers
4k views

Include an image within auto the_excerpt?

Is it possible to include an image within the auto excerpt? So in the editor you have image then some text and once live it includes the image and not just the text?
3
votes
2answers
3k views

How do you modify the HTML output of a Gallery item (using the gallery shortcode)?

Im a bit lost on this simple problem so i thought id come and ask the pros. Ive just been told by my client that on their sites gallery, the name and description are on the same line. so for example ...
1
vote
1answer
465 views

Image Manager Plugin [closed]

I'm looking for a simple plugin that allows me to manage groups of images. Wordpress does this, but you would need to link the gallery to a page or post. Since i'm looking to create a site banner with ...
1
vote
1answer
303 views

How can I store an image in the database with Transients API?

I'm trying to store an image generated with imagecreatefrompng() using the Transients API, but it just stores an empty string (string(0) ""). Also, I notice if I set the transient before imagedestroy( ...
0
votes
1answer
320 views

Multisite Pull Recent Image Attachments from Blog ID

I am creating a WordPress network and am looking for a way to pull recent images from the sub blogs, but I am having some trouble doing so. What is the easiest way to make this happen?
1
vote
3answers
4k views

use wp_get_attachment_image() to show attachments

I really hope this is a facepalm moment, b/c i'm getting frustrated with this. Making a quick loop to show certain attachment images. lifted it almost straight from the codex but ...
5
votes
1answer
2k views

Uploading Images in the Link Manager

In /wordpress/wp-admin/link-add.php there is the possibility to add an image to a link, but it belongs to the category "Advanced" and is really a little too advanced for an average user, which needs ...
1
vote
1answer
460 views

Exclude images from “inserted into post” when trying to get attachments

I have here the coin-slider which takes all pictures from the gallery. I get the attachments through the following code: $attachments = get_posts(array('post_type' => 'attachment', 'post_parent' ...
1
vote
1answer
308 views

Grabbing the first image attached to a post and use it with the admin columns

I'm currently using @kovshenin's tutorial here on adding a thumbnail (a featured image) to my post type admin columns. Would it perhaps be possible ( and how :) ) to retrieve the first image attached ...
0
votes
1answer
992 views

Replace image urls(absolute instead of relative) by using filter in single page

I'm using a plugin called Foliopress WYSIWYG. While using this plugin, images found in the_content loop using relative image path instead of absolute paths. So all the feed images looks broken. This ...
0
votes
1answer
853 views

Post Gallery list attachments except the one used as post thumbnail

I'm doing gallery in a single post after the post thumbnail. So I list all the post attachment with the image type (with the following query) but I want to exclude the post thumbnail. global $post; ...
0
votes
2answers
693 views

How do you hide images from posts only

As the title says I want to keep images on pages and hide them from posts on my site . How can I do this? Thanks
2
votes
2answers
4k views

Find the post an attachment is attached to

I have a list of attachment IDs which are built using this array: $all_images = get_posts( array( 'post_type' => 'attachment', 'numberposts' => -1, ) ); Is it possible to take the image ID ...
0
votes
1answer
78 views

Determine if only one image attached to a post/page

I'm looking to determine how many images are attached to a post, specifically if there is only one. Basically if there are multiple images I want to display my slideshow script, if there is only one I ...
0
votes
1answer
409 views

How to extract specific image meta for all images?

Been hitting my head against a wall for a couple weeks... I'm working on modifying a geotagging Wordpress plugin called Thesography. I have notified the developer of my past enhancements, and they are ...
1
vote
0answers
438 views

Image caption with apostrophe breaks the text with qTranslate [closed]

I created my own theme and I use on two different websites, along with a very few plugins (among them, qTranslate!). I noticed that recently (I don't think it was happening before) that all my image ...
1
vote
1answer
9k views

Displaying a featured image (only img url) as the img src?

I have the following code: if (themedy_get_option('product_gallery')) { add_action('genesis_post_content', 'themedy_product_images', 1); } function themedy_product_images() { ?> <?php ...
0
votes
1answer
3k views

How do I display the featured image from an image gallery using a reference in code? (example within)

I've been trying to get the featured image of a post to be displayed outside of the loop for all the image thumbnails. That way, the featured image (of a product) is displayed in large and the ...
1
vote
2answers
503 views

Store Snapshot created via wordpress to use with lightbox

i know this is a bit of a weird question but its a real time saver so if you got any ideas (even partial) i would really apreacate them :) Ok... so i am using wordpress built in interface to capture ...
1
vote
1answer
276 views

Upload multiple images and insert them into custom html code

Good evening. :) Well, my mother is currently using a wordpress installation for her day to day blogging. Often, a post consists of some text and a few images, which are displayed via the very nice ...
1
vote
2answers
885 views

How to Create an Image Upload Box for Custom Posts?

Is it possible to have an image upload box in a Custom Post Type? I would like the user to be able to upload specific images just for the CPT.
0
votes
1answer
1k views

Image URLs stopped working due to Permalinks?

I've been changing my Permalinks and changing my site the the "www" version (Which I think has broken my image and video links). All my images are "red x" now, both inside the library and the posts ...
2
votes
2answers
1k views

Get uploaded image url

I am working on a plugin that constructs a newsletter witch uses a template with a few images. The images have been uploaded using the Media Library (uploads/current_year/current_month/) and I want ...
2
votes
3answers
2k views

Add multiple images to a page sidebar

What I am trying to achieve is this: I have a simple page and I want to dynamically add multiple images to it on the sidebar one underneath another. I was thinking about either using meta boxes, post ...
0
votes
2answers
342 views

Import images from self-hosted to WordPress.com

I'm trying to migrate my self-hosted WP blog to WordPress.com, images included. Originally images were hosted on various image-hosting websites, but I've used this plugin to cache and upload them to ...
0
votes
1answer
907 views

How to use the thumbnail size with catch_that_image

Im using catch_that_image() to grab the first image of posts and use that as a thumb in a loop but the thumb is only 40px/40px and the image has to be scaled dramatically so I'd like to figure out how ...