-1
votes
0answers
13 views

Wrong picture from Wordpress to Facebook post

I have a blog (paidis.com) and almost everytime I publish something on Facebook, Facebook gets a wrong picture. I was trying to solve this but I couldn't, so I was using the option "upload another ...
0
votes
0answers
21 views

Prevent WordPress from using resized/compressed versions of uploaded images

I am uploading an .jpg image to a page and selecting 'Full Size - 800 x 381' under 'ATTACHMENT DISPLAY SETTINGS'. However, when previewing the page I look at the source code and I see after the image ...
0
votes
0answers
23 views

Missing Images in Uploads Directory (Server Only)

I recently moved a WP install from our dev server to the clients server. Everything went fine, however, the site is missing a large amount of images. The dev site has the images in the Wordpress ...
1
vote
1answer
30 views

Can't seem to attach uploaded image to post and set it as thumbnail

I'm using this code to submit a post form and upload an image which I want as the post thumbnail. Everything submits perfectly and the image even uploads but I can't seem to figure out how to attach ...
0
votes
1answer
20 views

Only User Upload image Http Error

I've search all over and tried a bunch of things. Basically, as admin I can use the featured image and upload with no issues. When i switch roles I cannot upload images, i get an HTTP error. I did ...
0
votes
0answers
38 views

Woocommerce type product image gallery in post

i am just trying to create product gallery box like woocommerce. i just find the code from the woocommerce and tried to create product gallery images uploaders. unfortunately it is not saving then ...
3
votes
1answer
80 views

Replace all of post's image URLs with upload directory URLs

On a WordPress website for a client, he's going to be posting articles with quite a lot of images in. When the post is saved/published, we need to be able to download/save these images to the server, ...
0
votes
0answers
19 views

Theme Customizer uploads image size issue

I've made an option to allow users to upload a custom background image to their site using the Customize theme section of wordpress but I'm having trouble uploading large (in pixels) images. An image ...
0
votes
0answers
21 views

Multiple image uploaders

Ok, using the following code, I attempted to add two upload fields to a costom post type for reviews that are submitted by clients on the front end of a website here: ...
0
votes
1answer
46 views

When does WP resize an image file

Creating an image gallery. Using WP for image upload & management. Pictures will be uploaded of various file sizes and pixel dimensions. Page load time and SEO are negatively affected by ...
0
votes
0answers
463 views

upload featured image from front end using wordpress add media button

I want to submit custom post from frontend. i have made form to make this happened. But i want to upload featured image form add media button of wordpress. Code is <?php /* Template Name: post ...
0
votes
1answer
111 views

Wordpress function: limit size, only jpg, jpeg, limit of uploaded files per account

Need help with a function that will limit upload for non admins: Check before upload if file is jpg, jpeg. Check before upload if picture is not bigger than 700kb. Limit uploaded files to 7 per ...
1
vote
1answer
50 views

Prevent large image uploads

I want to prevent users in my blog from uploading large size images. And I mean large in px size not MB. Max Upload is set to 8MB which should be ok but I wan't to prevent uploading for images larger ...
3
votes
1answer
30 views

Alter media caption/description conflict in Wordpress?

When uploading an image, Wordpress reads the description meta data from the jpg via wp_read_image_metadata and inserts it into the post_content field when adding the attachment via media_handle_upload ...
0
votes
0answers
18 views

Wordpress Image Resize fails without Error Message

I wonder why resizing a jpeg image fails in Wordpress without throwing a PHP Error with memory_limit error or Filesize Error. The image is 2MB big jpeg with RGB colorspace. Dimensions 4496x4496 ...
0
votes
0answers
22 views

How to move images from /uploads to the /uploads/Year/Month structure? [duplicate]

A site has more than 5000 images (without the automatically from WP generated ones) in the /uploads folder. The site is very slow, I want to move the images into the /uploads/year/month structure, and ...
0
votes
0answers
21 views

How to force attachment size for every post

I created a custom size like this : add_image_size( 'my-size', 615, 9999 ); Is there anyway i can force the ATTACHMENT DISPLAY SETTINGS SIZE to be always ('my-size') for every attachment?
0
votes
2answers
85 views

Limit image resolution on upload

I'm running into a problem where a particularly huge image is causing my VPS server to reboot because of memory issues. The configuration of this is out of my hands, it's sort of like the host's ...
0
votes
0answers
124 views

Attaching Images to Multiple Rows within Foreach Loop

I'm trying to modify the Product Add-Ons plugin for WooCommerce. I need to be able to add an image for each add-on item. So each add-on item row would look like: Name Price Image Each row is ...
0
votes
0answers
24 views

Add two images with Sweet Testimonials

Ok, I've customized Sweet Testimonials to add a before and after image to a client testimonial post that is added by clients on the front end of the site I'm working on: ...
0
votes
1answer
27 views

Name Input from widget displays Sidebar name instead of saved data

I wasn't sure how to title this question,so I apologize. Let me first state that I have no experience with this type of code but I really need to this feature for my website, so I appreciate all the ...
1
vote
1answer
186 views

Create Image Uploader for Widget

I found this post// Use Media upload in custom widget on wordpress 3.5 I'm not experienced in any of this so I pretty much just copied the code he provided into my own functions.php file. I uploaded ...
0
votes
1answer
59 views

How to get the real file type for images that do not have an extension

So i have a front end form that let users upload images from an URL... Everything its ok when the image URL have the proper extension like this: http://mydomain.com/image.jpg but when the image url ...
0
votes
0answers
69 views

Custom User Role: Upload and edit images, but not edit posts - any other way?

I have a question pretty similar to this one: Why does my custom WP role need edit_posts to edit images? but I couldn't make their solution work. And I couldn't comment there because I don't have ...
0
votes
1answer
76 views

Images are not showing up in “Uploaded to this post”

I had to delete all my files of web site for some reasons. Then I've restored the files back to host. But the problem is that; Firstly, I uploaded all the images (about 4000) to upload folder via ...
3
votes
4answers
290 views

Each custom image size in custom upload directory?

I want to upload my custom image sizes in custom folders. The folder should have the name of the selected width. For example: If I add these custom sizes... add_image_size('custom-1', 300, 9999); ...
0
votes
1answer
50 views

Image upload and crop in wordpress

I am new to wordpress and buddypress plugin. I want image upload and crop functionality in a new page. How can I do this. I searched over the internet and couldn't able to find a tutorial to do this. ...
0
votes
0answers
26 views

On upload, create and resize multiple copy of the upload without any cropping?

I would like to resize new upload images in different size. However, uploads can be portrait or landscape images. Is there a way to duplicate the upload image and scale it proportionally (keeping ...
0
votes
0answers
63 views

build plugin wordpress error when uploading image

I just want to upload an image and I'm building my plugin with this tutorial. But in the part 3 it says image upload should work. However when I try to upload image it's not working. I'm uploading my ...
0
votes
0answers
40 views

custom Image upload coding wordpress

Hello im working on WordPress plugin with separate data tables in same database. so far im doing okay with add new post. I want to add images to my post. I tried many things but so far I've got ...
0
votes
0answers
124 views

Rename uploads filenames to POST-ID on upload

I would like to change the way Wordpress rename uploaded files on upload. As I upload an image whose filename is "see-sunset.jpg", Wordpress will set up scaled versions and rename filenames to ...
1
vote
1answer
211 views

Rename image uploads replacing “width” and “height” in filename with “medium”, “large”, “small”

Good morning, I am trying to change name format that Wordpress uses to rename uploaded files. As I upload an image whose filename is "desert-landscape.jpg", Wordpress will set up scaled versions and ...
0
votes
0answers
26 views

Image media upload problem for images > 800px?

I am getting the pink HTTP error message when i try to upload certain images. I narrowed it down to the following, it only seems to happen for images > 800px. But when i refresh the media the ...
0
votes
0answers
57 views

Uploading images from post editor fails with “An error occurred in the upload. Please try again later.”

Also when i want to upload from the media library the progress bar gets stuck at crunching. but with the browser upload it works just fine but the images don't appear in the insert media pop up. also ...
0
votes
0answers
313 views

How to upload image and attach to Woocommerce product gallery?

I got the following code which takes and image, uploads it to my server and sets it as a featured image. How can i change it so it adds the image to the product gallery in Woocommerce? Maybe ...
0
votes
1answer
127 views

hook into completed image upload filter

I'm trying to run a little function to determine the luminance of an image and store that in the postmeta for that image.. I have the function working, but id like it to fire when an image has ...
3
votes
1answer
115 views

Debugging upload problem: What part of WP does actual image-resizing?

I have a problem when uploading large images: images larger then (approx) 2000x2000 aren't generating thumbnails. The file is uploaded fine, but no resized version are generated. No errors are shown. ...
1
vote
0answers
114 views

Animated Gif image not uploading correctly

Started today, I tried many times to upload a gif image and inserted it. Wordpress gives this But when I checked media library, I found it there attached with a post. These are error logs: [Mon ...
0
votes
1answer
78 views

Create a post from every image in my media gallery

I'm looking for a good way to create posts from every image in my media image gallery. I've uploaded about 200 pictures and want to create a post for each picture, where I set the picture as a ...
0
votes
1answer
480 views

Get image post ID in media upload

I am developing a plugin that adds a Custom Post Type to my theme. It's a retail directory and the post type is a retail listing. Everything is working fine. I can upload content to the DB and then ...
0
votes
0answers
20 views

See the all uploaded images of a user as an admin

I can see the user uploded images in the media library. I click the name of a user to see all the images he/she uploaded but all is a blank page. The url is like: ...
1
vote
0answers
77 views

Bulk edit of EXIF data for jpeg images uploaded in the media library?

Although there's a number of plugins that display EXIF data in your posts or remove EXIF data altogether to save space, I couldn't find a solution to manually edit EXIF data for whole bunches of ...
0
votes
1answer
78 views

Broken Media Library

I'm trying to upload media using the media library. I uploaded a couple of images several months back, and the library worked fine, these images are still available as normal through the WP backend. ...
0
votes
0answers
114 views

Unable to Upload image via WordPress Media Manager

I have a WordPress 3.5.1 driven website. When trying to upload images via WordPress Media Manager, the below error is displayed: "xxx.jpg has failed to upload due to an error. The uploaded file ...
0
votes
1answer
51 views

How can i identify media uploaded to my website that is not being used anywhere anymore?

At the time of development i upload a lot of images on the site. Over the time, i may need to tweak it quality or resolution, so mostly i upload the images with same name. So by the end of the ...
0
votes
0answers
83 views

Upload button in metabox not working

The upload button is not working when put inside javascript, but it works when I put it outside the javascript. /* -----------------------upload button------------------ */ function ...
1
vote
1answer
60 views

How to upload image without post ID using the new media uploader?

In the past when using thickbox to upload images, an image could be uploaded without having the post ID 'attached' to it by simply using the code below : ...
0
votes
0answers
173 views

create wordpress media automatic uploads folder using custom plugin

I created a plugin, this plugin is used for uploading images and creating gallery with these images.Everything worked fine and I dilivered plugin to client. But now everything went wrong.He just ...
1
vote
3answers
729 views

Adding upload button in metabox

I want to add upload image button for the images and retrieve url. Can someone pls help me, i have been trying this for quite a few days. I'm using code from this thread Create more Meta Boxes as ...
0
votes
0answers
16 views

How do I use two different images, one as a thumbnail and one as a linked image? (1 post)

I want to do an image gallery in a page, where the linked image (a href) is different from the thumbnail's src. I need to have the ability to change the thumbnail image. Its important because for each ...