oseawey / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

Enable using this script with images that have ~ in urls #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to use timthumb with images that have tilda (~) in url
2. like 
http://64.120.253.90/~baguje/wp-content/uploads/2009/04/pliablepress-300x250.jpg

What is the expected output? What do you see instead?
All working great

What version of the product are you using? On what operating system?
Latest

Enable using this script with images that have ~ in urls.

I fixed this for my site with 
$src = str_replace("http://64.120.253.90/~baguje/", "", $src);

but it will be awesome if you fix this in script too.

Original issue reported on code.google.com by djevrek on 16 Sep 2010 at 10:10

GoogleCodeExporter commented 9 years ago
I'm not sure this is a real problem. Your problem looks like it happens because 
you are running your site before a domain is assigned to the directory. If this 
is a cpanel site then that means there's no ~baguje which means TimThumb can't 
find that folder, and so can't find the image. Once you deploy on a proper 
domain name this will fix itself.

If I am wrong then please do let me know and I'll change the status back to 
New, and then will look at it when I have some more time.

Original comment by BinaryMoon on 16 Sep 2010 at 4:03

GoogleCodeExporter commented 9 years ago
There is site there, and there is hundreds of domains with ~ in name. This 
can't be won't fix.

So, yes, you're wrong.

Original comment by djevrek on 16 Sep 2010 at 4:42

GoogleCodeExporter commented 9 years ago
Issue 138 has been merged into this issue.

Original comment by BinaryMoon on 10 Dec 2010 at 1:01

GoogleCodeExporter commented 9 years ago

Original comment by BinaryMoon on 10 Dec 2010 at 1:02

GoogleCodeExporter commented 9 years ago
Enabling this to work for dev sites is important as one often wants to get 
client feedback on the site before going to production.  Broken images limits 
the usefulness of the dev site.  Thank you!

Original comment by turntwo...@gmail.com on 29 Dec 2010 at 5:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yeah, same as above. This is an important issue.

Original comment by project...@gmail.com on 18 Jun 2011 at 4:22

GoogleCodeExporter commented 9 years ago

Original comment by BinaryMoon on 20 Jun 2011 at 3:46