• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Uploading problem [invalid url] 2.0.16

Status
Not open for further replies.

hankie_poo

Chevereto Member
Good day!
Yesterday I bought your software and encountered an error shown in the screenshot.

FHJlX.png


The script does not want to upload links http://img.leprosorium.com/1301927 format despite the fact that it is still a picture.
Can you fix it?

//sorry for translate.google.com
 
Doobbe said:
hankie_poo said:
Doobbe said:
The URL needs to have an extension in order for it to work properly like http://img.leprosorium.com/1301927.gif

I know it, thank you, but it would be nice if the script is able to determine the MIME type gif/png/etc. for example, in this case.
And this is not the solution
It not possible! How do you know the url that is an image or not if somebody submit?

Copy and paste this link http://img.leprosorium.com/1301927 into your browser without attributing extension to the end of the link. Fabulous! He knows how to do impossible things!
 
Actually the script can detect even if the image has wrong extension and it corrects it.

The remote upload doesn't allow images that doesn't have extension because that means that any URL is valid and the script will try to fetch the headers/mime on every wrong request, but I think that I can change that behaviour in order to download a little stream and make the validations.

I will put it on the todo pile.
 
Status
Not open for further replies.
Back
Top