WORDPRESS: Send comments with attached images using Ajax for my pages.

Closed Posted 2 years ago Paid on delivery
Closed

I have a comment form where I have added a field “TITLE” and “IMAGE. These fields are available to both registered and non-registered users.

After following a tutorial on inserting fields and submitting it with AJAX:

[login to view URL]

I managed to make the "Title" field submit using AJAX.

Create a file [login to view URL] where I put my php code and a file [login to view URL] where I process the AJAX function (following the tutorial mentioned above).

What I cannot do is that the image of the "Image" field is uploaded to the server by AJAX and attached to the comment.

2. REQUIREMENTS:

2.1. Send via AJAX:

When the user submits the comment forms, the “Title”, “Comments” and “Image” information are sent by AJAX.

2.2. Order of form fields:

This is the order of the comment form fields:

- Title

- Comment

- Upload image

- Submit button.

2.3. The image must be viewable from the comments panel in the Wordpress Backend.

2.4 The image should be able to be removed from the comment panel in the Wordpress backend

When uploading an image, the script must generate 1 additional image (thumnail). That thumbnail must be displayed in the Wordpress backend and it has to be a 150 x 150 thumbnail.

But the image that is shown in the public part (List of comments in the Post), has to be the original (the one uploaded by the user).

2.6 The code must be in the theme and not through a plugin.

I managed to place and send the information by AJAX of the "title" field by placing my code in the file "[login to view URL]" and I believe that the same procedure should be for the image (highly recommended).

ADDITIONAL INFORMATION:

I have tried the “Comment Images Reloaded” plugin but it doesn't work with Ajax:

[login to view URL]

I have tried the “Comment Image” plugin but it doesn't work with Ajax:

[login to view URL]

Both plugins have example code of what could be implemented (only example).

TEST DOMAIN:

I will give you access to a Wordpress in a real domain, to carry out the tests:

[login to view URL]

PDT: Wordpress experts only

WordPress PHP AJAX

Project ID: #32668018

About the project

27 proposals Remote project Active 2 years ago

27 freelancers are bidding on average $19/hour for this job

Risalat1

Hi there, I have gone through your specs and very much interested to add image uploading functions as you shared, award me project and I will start work on it right away... Looking forward for your quick response.

$15 USD / hour
(462 Reviews)
8.2
mmadi

Hello Erick M., Today your job posting (WORDPRESS: Send comments with attached images using Ajax for my pages.) has caught my attention, and I wish to have a conversation about the project. I am Good at AJAX, PH More

$20 USD / hour
(50 Reviews)
7.1
dnplugins

I can implement a series of functions that would implement what you need. By default, I believe that wordpress do not support images in the comments so this would have to be added. I have been a website developer for More

$15 USD / hour
(141 Reviews)
6.4
vovakovalkov80

Hi client Thank you for your job posting. I am very interested in your project and I will provide you 100% quality work. My Main skill: Php, Ajax, Jquery, Laravel, Wordpress I am ready to start work immediately and ca More

$20 USD / hour
(13 Reviews)
5.3
mannaranjit756

Hello,I have read your project details (WORDPRESS: Send comments with attached images using Ajax for my pages. ) . I have good knowledge in ( PHP AJAX WordPress) I have read your project description carefully. I will More

$20 USD / hour
(20 Reviews)
5.4
nenaddeveloperob

Hi, there I am a professional PHP & Wordpress developer who has over 10 years of experience. I read your job description carefully and I am very interested in your job. Regarding after your job post, I am sure of the s More

$25 USD / hour
(5 Reviews)
4.5
sonishubham

Hello There You will be the priority Senior App developer with 11+ years of experience in development Have my expertise in PHP JavaScript AJAX WordPress jQuery / Prototype Have a big experience working on websites/ More

$25 USD / hour
(7 Reviews)
4.6
yadavdeepak2453

Hi There, I am the perfect freelancer for your needs! I specialize in Front-End and Back-End web development, ranging from small tasks to huge, high-load projects. My skills: ✔ Programming Skills : AngularJS, Angular More

$15 USD / hour
(0 Reviews)
0.0