I still do not get the possibility to add more then one image at a time. I use now the Java-script injection and I looked on the source code of this page and copied it. But it is still not working. Please can you, or anybody else help me?
Greetings Walter
Below the javescript code I used:
for (i=0; i<document.forms.length; i++) {
var f = document.forms[i];
if (f.comment_post_ID) {
f.encoding = "multipart/form-data";
var l = f.getElementsByTagName("textarea");
l = l[0].parentNode;
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image5");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image4");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image3");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image2");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
it is not working on my website, I only get one image.
Is there somewhere an explantion how to do this right? If I look to the code of this side it looks tatally different then mine so I do not understand it.
Ofcourse one image is nice already but i would like to give the possibility of adding more then on image.
Stefano, I’ve installed your postcard plug-in, but can’t get it to work. I went to the help page and got a 404 error. I really want to get this working since next week we’ll be selling our product (a novelty calendar). If I can get this to work I’d happily contribute $.
Not only nice for photos but can be very useful for sites about softs/systems when screen copies are needed.
By the way, just a small error in the admin panel, the sentence : “The label you want to be displayed near the image selection field” under “Miniature max width” should be replaced by something like “Indicate the max width (in pixels) for photos before being automatically resized”
prueva 1
I hope we can download the plugin soon. Very useful.
Greets,
Zsolti
Hi Stefano,
I still do not get the possibility to add more then one image at a time. I use now the Java-script injection and I looked on the source code of this page and copied it. But it is still not working. Please can you, or anybody else help me?
Greetings Walter
Below the javescript code I used:
for (i=0; i<document.forms.length; i++) {
var f = document.forms[i];
if (f.comment_post_ID) {
f.encoding = "multipart/form-data";
var l = f.getElementsByTagName("textarea");
l = l[0].parentNode;
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image5");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image4");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image3");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image2");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
var p = document.createElement("p");
var t = document.createElement("input");
t.setAttribute("name", "image");
t.setAttribute("type", "file");
t.setAttribute("style", "width: auto");
p.appendChild(t);
p.appendChild(document.createTextNode("Add your pic here (JPEG only)"));
l.parentNode.insertBefore(p, l.nextSibling);
break;
}
}
Maybe you can send the code of the plugin you use for adding 3 images? I would be very thankfull!!!
it is not working on my website, I only get one image.
Is there somewhere an explantion how to do this right? If I look to the code of this side it looks tatally different then mine so I do not understand it.
Ofcourse one image is nice already but i would like to give the possibility of adding more then on image.
to be more clear I idd a image of mine code
Stefano, I’ve installed your postcard plug-in, but can’t get it to work. I went to the help page and got a 404 error. I really want to get this working since next week we’ll be selling our product (a novelty calendar). If I can get this to work I’d happily contribute $.
Another great plugin !
Not only nice for photos but can be very useful for sites about softs/systems when screen copies are needed.
By the way, just a small error in the admin panel, the sentence : “The label you want to be displayed near the image selection field” under “Miniature max width” should be replaced by something like “Indicate the max width (in pixels) for photos before being automatically resized”
Ok so let’s now upload another hot chick :-)
Arghhhh….
Uhm…
Great, it works!!! Or not???
Test number two… three…
Ok, this is a test…