Mobile app version of vmapp.org
Login or Join
Vandalay111

: I think there is a problem with my url encoding I took someone's advice and started encoding my image sources, but Google doesn't seem to be able to decode them. I probably did something wrong,

@Vandalay111

Posted in: #Google

I took someone's advice and started encoding my image sources, but Google doesn't seem to be able to decode them.

I probably did something wrong, because basically Google is taking the full path as the image's name.

See this page as an example. If you go on the top most thumbnail and do "Save as", you will see the path is not being decoded.

Should I stop decoding or am I doing it wrong? Should I encode only the image name itself?

Thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

Just in case someone is looking for the answer, you only need to encode the actual image name. What was going wrong is that I was encoding the / thus removing its intended meaning.

Remember to only encode parts that can be invalid, such as image names, query string, etc.

Cheers!

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme