Closed GoogleCodeExporter closed 9 years ago
True, the + character in the image parameter must be converted to %2B in order
to work with
SLIR. This can be accomplished by the PHP functions rawurlencode() or
urlencode().
However, I believe that this isn't a problem with the SLIR code itself, but
rather an issue
with the documentation or an implementation of the code. SLIR doesn't create
the URLs to
the images, the developer implementing SLIR on her website does. People who
implement SLIR
need to be aware of this.
Perhaps there should be a helper class or a method in the SLIR class that
accepts the
parameters and returns what the link should be.
Original comment by joe.lencioni
on 25 Jan 2010 at 7:30
Hi Joe,
Thanks for your feedback. I have been happy running urlencode on my image paths
-
perhaps, as you said, making users aware of this in the documentation would
suffice.
Thanks,
Adrian
Original comment by adrianbj...@gmail.com
on 25 Jan 2010 at 7:36
I added a paragraph to the documentation about URL encoding filenames.
Original comment by joe.lencioni
on 25 Jan 2010 at 7:54
Original issue reported on code.google.com by
adrianbj...@gmail.com
on 11 Sep 2009 at 7:06