EDIT, SOLVED by eComLabs, post #6 Thanks!
—
I am trying to upload image from URL and I’ve getting invalid URL:
This is link of the image: http://gi1.md.alicdn…_460x460q90.jpg
How can I fix it? I will really appreciate some help about it. thanks!
Not sure it matters but maybe looking for www?
[quote name='zeero6' timestamp='1404140807' post='186682'] Not sure it matters but maybe looking for www? [/quote]
Thanks for your answer zeero6.
I've tried several ways and can not get upload that image with links like that.
It's the cs-cart js validation problem. Download the image and upload it locally.
[quote name='cscartrocks' timestamp='1404142204' post='186684']
It's the cs-cart js validation problem. Download the image and upload it locally.
[/quote]
Thanks for your answer cscartrocks
there are not some way to fix it? I need to upload many products and uploading with url would be more easy and fast. uploading the files locally it could take a long time.
[quote name='Username' timestamp='1404142535' post='186685']
Thanks for your answer cscartrocks
there are not some way to fix it? I need to upload many products and uploading with url would be more easy and fast. uploading the files locally it could take a long time.
[/quote]
Try to open the js/tygh/fileuploader_scripts.js and temporary replace this code:
if (this.validate_url(n_url)) {
this.display_filename(suffix, 'url', n_url);
} else {
fn_alert(_.tr('text_invalid_url'));
}
with this one:
// if (this.validate_url(n_url)) {
this.display_filename(suffix, 'url', n_url);
// } else {
// fn_alert(_.tr('text_invalid_url'));
// }
[quote name=‘eComLabs’ timestamp=‘1404202033’ post=‘186724’]
Try to open the js/tygh/fileuploader_scripts.js and temporary replace this code:
<br />
if (this.validate_url(n_url)) {<br />
this.display_filename(suffix, 'url', n_url);<br />
} else {<br />
fn_alert(_.tr('text_invalid_url'));<br />
}<br />
```<br />
with this one:<br />
<br />
```php
<br />
// if (this.validate_url(n_url)) {<br />
this.display_filename(suffix, 'url', n_url);<br />
// } else {<br />
// fn_alert(_.tr('text_invalid_url'));<br />
// }<br />
```<br />
[/quote]<br />
<br />
This is the perfect solution! you rock eComLabs! <img src="upload://tbe1CncrrOs48cXpHvziOT8r0T3.gif" class="bbc_emoticon" alt=":mrgreen:"><br />
thank you so much!<br />
<br />
SOLVED!