Login
Register
Questions
Unanswered
Tags
Users
Ask a Question
Blog
TinySlideshow Breaks with dynamic image URLs
I'm a big fan of using dynamic image resizers with large amounts of user-generated images. I've used TimThumb and actually wrote my own variation of this for .NET I was excited to try using TinySlideshow, but after about an hour of debugging I figured out my dynamic image urls i.e.
http://website.com/resizeImage.php?path=/images/23/12345678.jpg?w=300&h=200q=90
won't work since TinySlideshow breaks when you have an ampersand anywhere in the URL.
Please let me know if you issue a fix for this. I'd love to use TinySlideshow.
Thanks!
tinyslideshow
asked
Apr 3, 2011
by
anonymous
Your answer
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
2 Answers
0
votes
Solution is to update code in tinyslideshow js file:
a.p=dbl('span',h)[0].innerHTML;
//remove & in the innerHTML b/c timthumb can't process it
a.p=a.p.replace(/\&/g,"&");
answered
Apr 3, 2011
by
anonymous
This doesn't work.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[captcha placeholder]
To avoid this verification in future, please
log in
or
register
.
0
votes
Hi, I have this issue also...any solution?
answered
Apr 3, 2011
by
anonymous
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[captcha placeholder]
To avoid this verification in future, please
log in
or
register
.