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
0answers
18 views

wp insert attachment from local drive [duplicate]

Is there some way to upload images from local drive to posts without using dashboard. Something like function wp_insert_attachment, bur for that function is a rule that files must be on server.
1
vote
1answer
286 views

How can I autopopulate titles in the media library?

I have hundreds of images in my media library, most have which have no titles. In the media library, the "(no title)" message is displayed along these images. Since I generally have one image per ...
0
votes
1answer
2k views

wp_get_attachment_link() add rel attribute if the link points to direct image

I'm using filter like this to add rel attribute in wp_get_attachment_link() add_filter( 'wp_get_attachment_link', 'sant_prettyadd'); function sant_prettyadd ($content) { $content = ...
0
votes
1answer
103 views

How do I implement an image viewer and rotator? [closed]

I am currently in the process of redesigning a WordPress site. There is a thing I want to have on my new site that I see all the time on other sites. Take a look at http://muvere.com/ and ...
12
votes
2answers
747 views

What is a good alternative to using $content_width for image optimization?

The $content_width GLOBAL in WordPress effects many themes and even some plugins by limiting the size of images and embeds in posts, it is a requirement for themes submitted to wordpress.org. It is ...
0
votes
1answer
877 views

VT-resize (great alternative to timthumb) : Errors cropping (litespeed, centos 6.3)

I'm using from several months wt-resize, a script to resize images on the fly. It works very well until now... I've changed hosting provider. I'm using now Centos 6.3 (no control panel) + Litespeed ...
0
votes
2answers
340 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 ...
-1
votes
1answer
224 views

how do i update version for super skeleton

how do i update version for super skeleton. I have Version 1.8.0 and noticed that there is a updated version. I looked in the available themes and didn't see the super skeleton theme listed. The ...
-5
votes
1answer
405 views

Get content from one Wordpress website to another

I have been at this for days and now feel like I am way off track out of desperation and lack of knowledge. Pretty much I am trying to "scrape" public info from one Wordpress install to a separate ...
-1
votes
2answers
377 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 ...
0
votes
1answer
237 views

Title image is missing ( but is not the WP 3.5 issue )

I use Wp 3.4.2 and Featured Image. After I feel the Title, Alternate Text and publish the post, html code looks like this: <img width="214" height="300" title="" alt="Test" class="frame ...
0
votes
1answer
149 views

Define Folder to save Images

The Plugin save the Images to /PLUGINNAME/images but i want that it moves to /uploads The Code inside the Plugin is this here define('WPR_URLPATH', WP_PLUGIN_URL.'/'.plugin_basename( ...
0
votes
1answer
465 views

Resize uploaded images [duplicate]

Possible Duplicate: Resizing all images I have this news portal i built, and the client want a different size of the featured image. I all ready made my first desired size and they have ...
0
votes
1answer
244 views

Adding a 'style=' bit to image_send_to_editor output

The best thing I liked about the new v3.5 media manager was being able to insert images to a post hosted by an external site like photobucket using "Insert from URL". I normally format my image ...
4
votes
3answers
1k 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 ...
0
votes
1answer
1k views

Change the way wordpress outputs images or image galleries

The title is the short version of the question. Here's what I need in more details... If the answer is not so simple, I would be glad if you can point me to the right direction with a tutorial or to ...
0
votes
3answers
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 ...
9
votes
4answers
2k views

Add an alignment option for images

A rare event - I want to do something in WordPress but have no idea how to go about it and searching turns up literally nothing. When you're inserting an image into a post, you get alignment options: ...
2
votes
1answer
119 views

Display latest 12 images from media library

I was looking for almost a week for such solution - without success. What I want to achieve is have a kind of 'photos cloud' on my wordpress homepage. What I need to do is to display latest 12 photos ...
0
votes
2answers
33 views

Need custom picture field for pages

I want to have a picture or multiple pictures on each page in wordpress. AFAIK there are two standart ways of doing this in WYSIWYG editor, attach file etc widgets. Problem is, those wont do for ...
2
votes
1answer
65 views

Actions according to image type and size

I want to do some actions according to image type and size, but the script I'm using is kind of heavy and is skyrocketing my wait time (first byte) from 5 to even 40 seconds (usually it's bellow a ...
1
vote
0answers
90 views

Creating a post image to show in a gallery

Sorry if this title of question is not clear. I have create a custom post template with the help of this plugin Custom Content Type Manager With this plugin i create this , and i am at the Second ...
0
votes
1answer
1k views

Image upload and path to custom field

I build a script, to post from frontend. There are many custom-fields. Most works fine, but with one thing i have problems. First a description, then the script. It seems like, that images won't ...
2
votes
2answers
312 views

Correct Way To Show Custom Taxonomy for Image Attachments on Template File

I've created a custom taxonomy called imagetags using the following code: // Register Custom Taxonomy function custom_imagetags_taxonomy() { $labels = array( 'name' => _x( ...
-1
votes
1answer
307 views

Hover images and Videos

I got this code to show video loops on my blog. It's working nicely. Function.php function catch_video() { global $post, $posts; $first_vid = ''; ob_start(); ob_end_clean(); $output = ...
0
votes
1answer
370 views

Allow admin roles to add images to comment replies

this may be a step too far but I publish occasional tutorials on my personal blog and sometimes in comments get asked questions where an image would be very helpful to include as the answer. I've done ...
0
votes
2answers
4k views

Upload images - Theme options

I'm using this great [tuts+ tutorial][1] for creating theme options page. It works great for me be beause I need to change background images of divs via css. It works great with one image but I dont ...
2
votes
1answer
574 views

When inserting images into posts auto add a wrapping div

When I add images to a post via the TinyMCE editor I’d like WP to add a wrapping div around the <img> tag like <div class="img-wrapper"><img src="url-to-image" alt="image" ...
1
vote
2answers
8k views

creating front end image uploader that uploads images as posts

there is this website lolhappens similar to 9gag. This is a website built over wordpress. How i am sure of this? check this link . Now to my best of knowledge this is a wordpress website where the ...
2
votes
1answer
5k views

Rename image uploads with width in filename

I am attempting to change the name format that Wordpress uses to rename uploaded files. For example, when I upload an image with filename "cat-picture.jpg" Wordpress will create scaled versions and ...
0
votes
1answer
143 views

NextGEN Conditional Statement [closed]

What I'd like to do is if the NextGEN gallery has more than one page (pagination) execute some code...I got close: <?php $nggpage = get_query_var('nggpage'); if ($nggpage > 1) { ...
1
vote
1answer
3k views

Remove image classes from post thumbnail output

I wish to remove the image classes generated by default in the output whenever post_thumbnail() is called - <img width="1024" height="768" ...
2
votes
1answer
850 views

How to upload thousands of images?

I have a website and 6000+ images in my computer. I am trying to upload 1000 pictures but it's not working, how can I upload all pictures in one and easy step for time saving?
1
vote
2answers
1k views

Can I the caption shortcode to set caption to a data attribute, and with the image's alignment intact?

I want to output an image caption in this kind of format: <img class="alignleft size-medium wp-image-316" alt="Image Title" data-caption="Here lies the image caption" ...
3
votes
1answer
2k views

Change html structure of all img tags in Wordpress

I have a Wordpress blog and am trying to implement the foresight.js image script. In short, I need to target all post images, swap out the src, width, & height attributes with data-src, ...
0
votes
1answer
439 views

Paginate Gallery [closed]

I am using the default WordPress Gallery (along with the Cleaner Gallery plugin) to display some images. The one thing that the gallery doesn't seem to have is pagination. What I'd like to do is after ...
0
votes
2answers
128 views

Some images on Wordpress site are suddenly gone

I am not sure when this started happening as I have not been paying close attention. I've tried disabling recent plugins to no avail. Some of my images are just gone and there doesn't seem to be a ...
5
votes
2answers
534 views

Retina images - custom syntax for inserting images into post content

I am currently in the process of building a responsive real estate WordPress theme and I'm figuring out how to properly add support for HiDPI screens. I decided to use a JavaScript solution ...
1
vote
3answers
2k views

How to remove permalink from images when inserting into post?

In previous versions of WP, we were able to remove permalink from images while we were inserting images into post. But now there is no obvious option to do so. How can it be achieved?
4
votes
1answer
459 views

How to make WordPress use protocol indepentent upload files?

I am using FORCE_SSL_ADMIN in wp-config.php so everytime I upload a new image and inserted into the post, it is using SSL version e.g. <img ...
1
vote
2answers
2k views

Errors when uploading images in WP 3.5

I'm trying to upload images in WP 3.5 to set featured images for posts. Unfortunately I get the following error message: An error occurred in the upload. Please try again later. The installed ...
0
votes
1answer
256 views

How to select featured images for 1500 posts?

I have over 1500 posts I imported from Tumblr. While the images were imported into the gallery, I need to make sure there's a featured image for each. How do I make the images (12 per post minus 30 ...
1
vote
1answer
968 views

Image popup in a lightbox / overlay from the backend 3.5 admin area (plugin)

Is there a built in way within the backend admin area to have an image show in a popup/lightbox? I built a plugin with help images and want them to show when clicked in a popup overlay / lightbox.
5
votes
4answers
1k views

WP 3.5 and Galleries - how to count images?

I'm trying to figure out how to count and display the number of images in a gallery with WP 3.5. I was following an old post on Ottopress, querying the DB for attachments but it seems the galleries ...
1
vote
2answers
1k views

Hide editor while keeping add media button in custom post type

How do I remove Editor in custom post type keeping the Add media button. When I used as following in custom post type declaration, it removes the Add Media button and I don't need editor in my post ...
0
votes
1answer
3k views

unable to upload image locally

I followed this tutorial on setting up a local web development setup without mamp. Now my problem is when I go to upload a image in WordPress I get the following error: “Screen Shot 2013-01-05 at ...
1
vote
1answer
468 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 ...
-2
votes
1answer
3k views

How to place an image into header.php? [closed]

I'm trying to customize twentyten theme. this is part of header.php: <body <?php body_class(); ?>> <div id="wrapper" class="hfeed"> <div id="header"> <img id="topL" ...
1
vote
2answers
979 views

How can I attach hotlinked images in posts/pages within the same server?

Not sure if this makes sense but I'm trying to attach hotlinked images to their posts/pages with no lucky, most plugins such Cache images works ok but only to external domains, I need to auto-attach ...
0
votes
1answer
119 views

Calling two images at a time? A better way?

I'm having trouble wrapping my head around the best way to achieve this. I'm trying to load two photos at a time into a which serves as a slideshow wrapper. Currently i'm repeating a lot of code and ...