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
3
votes
3answers
444 views
Any easy way to automatically set the first inline image in a post as the thumbnail?
Is there a plugin for this? Has anyone done it before?
3
votes
1answer
443 views
get_intermediate_image_sizes Get the Size Names but How Do I Get the Sizes?
I'm setting up a widget that allows to add an image to a sidebar / widget area.
Basically I have a dropdown that allows the user to select one of the available sizes inside the theme's functions.php ...
3
votes
2answers
548 views
Reducing image size in RSS only
Is it possible to reduce the image size of WordPress rss feeds parse to feedburner?
Meaning to say I still want to retain the large image size on the original post page but only display the ...
3
votes
2answers
871 views
Automating a Daily Picture Blog?
I was wondering if anyone could give me some suggestions on how best I could streamline the following;
I have a WordPress blog (privately hosted) which I update daily (well, I normally schedule a ...
3
votes
1answer
370 views
Double thumbnails?
is it possible to use the thumbnail mechanic twice? I find the thumbnail API really useful for allowing users to place in there own graphics, so that I can control size and position easily. All they ...
2
votes
2answers
135 views
Resizing Images to lower Disk Space Using Plugins
I'm trying to take existing images and shrink the file size down by resizing to photos to a smaller resolution. I've tried a few methods so far:
Simply editing the photo in photoshop and reuploaded, ...
2
votes
3answers
245 views
Filter to modify post_title after image upload?
When I upload images, Wordpress 3.4.2 sets the Title to the base of the filename, such as "DSCN1234" or "IMG_1234". I'd like the Title to be left blank.
The code that sets the Title during the upload ...
2
votes
2answers
193 views
Removing default image size list in Media Box
I trying to remove unused image size (Thumbnail, Medium, Large) in MediaBox
Any function can i use in functions.php ? or some trick ?
PS : I know i can use jQuery trick but any better function to ...
2
votes
2answers
427 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 ...
2
votes
2answers
810 views
How can I prevent uploading bmp image?
I need to prevent uploading bmp image for user. How can it be possible?
1
vote
1answer
98 views
Alter image output in content
I'm trying to implement the JAIL javascript into my WordPress install. The javascript requires me to add a data-attribute and change the output html of images.
I have been looking through the codex ...
1
vote
2answers
936 views
Image Upload from URL
I really like the way SE uploads an image from a URL (I'm sure many do!). I've been searching, but can't find, is there a plugin or a method similar to this available for WordPress?
I know an image ...
1
vote
3answers
3k views
How to remove link from an image in a post?
When image is being added in a post it is being wrapped with a <a href></a>
I want to know which class controls this segment and where I can find a decent doc for this kind of problems ...
1
vote
3answers
1k views
How to grab first image attached to post and display in RSS feed?
I've seen the tutorials on how to grab the first image and display it in a post, and those on grabbing the post_thumbnail and using that in the RSS feed, but does anybody know how to grab the first ...
1
vote
1answer
534 views
Retrieving and Storing Images Linked from Other Domains on Local Server?
(Moderator's note: The original title was "Copy and Paste picture in post without linking to original")
When I copy and paste a picture from another editor window it appears nicely but it links to ...
0
votes
2answers
360 views
Get an image from url in front end submission form
I am building a user generated content sharing theme
so how can i allow visitors to upload an image from a url
i mean to say that they enter the url and the image gets automatically attached
this is ...
0
votes
1answer
368 views
Is there a way to serve different resolution images to different devices?
I am making a mobile site, and I want to serve higher resolution images to devices with high pixel density, and normal image to the rest, is there a Wordpress functionality or plugin to help me do ...
5
votes
3answers
336 views
Separate Media Library for each user
I'm creating a theme for a client and one of their requests is to allow users to upload images for their own use, but there may be an option to share the images.
Here are some of the caveats:
Each ...
3
votes
1answer
282 views
Preview Image Path in Admin Section
So I have run into a little glitch. i have a custom path for uploads and it works. the files get saved to the right place, etc. The problem I have is the 'widget box' in the admin section. immediately ...
3
votes
2answers
1k 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 ...
2
votes
1answer
77 views
Hide custom image sizes from media library
I want to hide a few custom image sizes from the media uploader:
The following code (posted here) works only for the default image sizes:
function remove_image_sizes($sizes) {
...
2
votes
3answers
257 views
How to disable “insert into post” only when selecting the Featured Image?
I wish to restrict the user from putting inline images in the article. I am using the Wordpress Attachments plugin to allow the user to attach images, which I then position and stylize the way I want. ...
1
vote
2answers
77 views
Dynamic-Image-Resize Plugin does not output anything
I'm having trouble using the "Dynamic-Image-Resize" plugin by "Kaiser Franz Josef".
In my template I'm adding following code:
$imgsrc = wp_get_attachment_image_src( get_post_thumbnail_id( ...
1
vote
2answers
133 views
Allowing post attachments without allowing to insert in text
Is there a way I can allow the user to attach images as attachments to a post without allowing him to insert them within the text itself? Ideally the Upload Media button remains the same but the image ...
1
vote
0answers
51 views
Regex to turn embedded images in to attachments
I've got a blog that has all images embedded in each post rather than a thumbnail linking to an attachment page which is what I'd like.
I understand from this question that no plugin (like Regenerate ...
1
vote
0answers
58 views
NextGEN Gallery- using shortcode for different galleries on different pages [duplicate]
Possible Duplicate:
conditional shortcode not working
I have a salon website with a gallery page wherein the user must first select a stylist prior to viewing their individual gallery.
I ...
1
vote
1answer
92 views
Is there a way to define a default caption to all uploaded images
As the title of this answer say, I want to define a default caption to all uploaded images in my WordPress... Is there a way to do something like this?
1
vote
1answer
180 views
Mass update excerpt
I'm using a photoblog theme which upon creating a new post it takes the post attachment and saves a modified "img src" string into the excerpt field. It then uses
<?php the_excerpt(); ?>
to ...
1
vote
1answer
503 views
Change website URL without breaking links or images? WP 3.3
I am using Wordpress 3.3.2.
Currently I am working on a website in a dev folder on my domain, dev.domain.com. Upon creating pages and blog posts, it just occurred to me that when I move the WP ...
1
vote
2answers
3k 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
...
1
vote
2answers
368 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.
1
vote
1answer
372 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
1answer
780 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
469 views
Can I attach an image to a different post?
Image galleries display those images that were uploaded to that post, by default. If I wanted to move an image to a different post, so it appeared there instead, would I have to delete and re-upload? ...
1
vote
2answers
445 views
Display info from custom fields in all images' HTML
Okay, I've been working on this all day and can't find the solution anywhere. I've created a custom field within the image upload screen (info first found here). The field stores the name of a ...
1
vote
2answers
576 views
How to redirect 'file url' to 'post url' i.e. in attachment.php
I've just started using the attachment.php template on my site. What I'd like to do is redirect all images in posts that used 'file url' to 'post url' and my new attachment.php template.
Is this ...
0
votes
2answers
140 views
Remove rel=“attachment wp-att-XX”
When you add an image with "Add media" to the WYSIWYG editor the link around the image automatically gets a rel="attachment wp-att-XX". I would like to remove this with a script - Can anyone help me? ...
0
votes
1answer
548 views
How to Display an Image Uploaded through a Meta Box in a Template?
I am just learning to create a meta box to upload a file in wp-content/uploads folder through this code:
//display image meta box
function display_image_box() {
global $post;
wp_nonce_field( ...
0
votes
2answers
105 views
Re-process Images
I've got a blog that has the highest-resolution version of all its images embedded in the posts, rather than a thumbnail linking off to an image attachment page.
Can you tell me how I can re-process ...
0
votes
1answer
202 views
Autogenerated Thumbnail compression depending on size
This is a follow up to this question, in witch the jpg compression is altered depending on what WP's built-in image resulting image size returns. While it may work for most of the people, i'm looking ...
0
votes
2answers
2k views
Set first image (external) as featured image / thumbnail
I've read through a lot of code snippets now and it seems like wether I'm to stupid or there is no solution for this.
I have a setup where some information for a product is loaded via amazon API if I ...
0
votes
2answers
526 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
4answers
2k 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
451 views
How can I add a div class around images in content? [closed]
Current my images are like this on the blog
<p><a href="http://site.com/pic.jpg" rel="lightbox[1082]"><img src="http://site.com/pic.jpg" alt="" title="post title" width="400" ...
0
votes
3answers
523 views
fitting the thumbnail image into a div
I want to get an uploaded image fitting 100% inside a div. The problem is that, the uploaded image has different size. For example, I uploaded an image and wordpress created an 150x150 thumbnail.
I ...
0
votes
2answers
443 views
Featured Images on Front Page
I currently have a static front page and a /blog.
My goal is to have the front page be a grid of hand selected images (similar to a portfolio). I would like to be able to easily switch the images are ...
0
votes
1answer
583 views
Why no images on a fresh Wordpress installation?
I've just installed Wordpress here at arun.sanspace.in But, don't know why, it doesn't display any images. I want to know why? I have another Wordpress installation on the same server which works ...
