0
votes
0answers
54 views

Adding Attachment Display Settings in custom media frame

I made my own custom media frame : $('.add').bind('click', function(event) { event.preventDefault(); // Create the media frame. file_frame = wp.media.frames.file_frame = wp.media({ ...
0
votes
1answer
67 views

Resize not resizing images with Capitial extension like JPG

I have used thie resize method to resize image and its working fine but only the problem which i am facing right now is that is not resizing image with extension in capital letter like JPG,JPEG,GIP. ...
0
votes
2answers
90 views

Uploaded attachment not set as featured image

The following code uploads an image which I want to associate with a custom post type. $upload_overrides = array( 'test_form' => FALSE ); if($file_errors['error'] == 0) { if($new_reseller_id = ...
0
votes
1answer
471 views

Uploaded image not appearing in custom post type

I am writing a plugin which should allow users to create a custom post type called reseller and attach an image. The image is being uploaded to the uploads folder and appears in the media library with ...
0
votes
3answers
190 views

How do I change the image from the default mysteryman in the WP Profile page

I work for a company that has recently added a plugin for WordPress. We have a company profile page, as the plugin owner, and we want to change the image from the the default mysteryman to a logo. I ...
-1
votes
2answers
989 views

How can I create a user generated photo wall

I'm looking for a way to create a user generated photo wall. Like a memorial site so to speak. I would have a big header image up top, than people could submit their own photo and it would post below ...
1
vote
1answer
130 views

Display list of uploaded images, filtered by user under a specific user group

I am planning to create a "Photography" page in my wordpress site. In that page, there will be a list of the photographers (maybe create a user group called 'photographers') and display the images ...
0
votes
2answers
3k 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 ...
1
vote
1answer
361 views

add_image_size in a Plugin i created

I created a plugin and i need to use add_image_size in it. I know how it work in the function file and for a theme, but how can i implement this in a plugin? I want new images uploaded by wordpress ...
1
vote
3answers
1k views

How to show large image in checkout page using WP Ecommerce plugin

I want to show large image in checkout page right now it showing 31x31 size image in wpsc-shopping_cart_page and using <img src="<?php echo wpsc_cart_item_image(); ?> to call thumbnail image. ...
0
votes
1answer
414 views

How to move an image in a plugin to the upload directory and make it as a media of wordpress?

How to move an image in a plugin to the upload directory and make it as a media of wordpress? I would like to use them in posts. Expand question: I would like to generate images using other ...
1
vote
1answer
83 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 ...
1
vote
1answer
258 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
2k 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 ...
3
votes
3answers
4k views

How to find attachment ID for first image in a post

I am using a plugin to forward photo posts from wordpress to a tumblr blog. I have the following code: //post blog to tumblr function postBlogTumblr($postID) { $URLServer = ...
1
vote
2answers
604 views

How to get an image transferred via FTP or script to appear in Media Manager?

I've got a plugin that transfers some files over to the uploads folder of the site in which the plugin is installed. It works fine, however, the images are not appearing in the Media Manager. I ...
1
vote
1answer
343 views

How to serve different thumbnails/images depending on users browser/platform

This is a general question to discuss approaches to filtering WordPress image sizes based on the browser/platform (such as a smart phone or netbook or desktop). The idea being that on a mobile we ...