rifanece / timthumb

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

Images with same name but from different url #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Thanks for the latest version of Timthumb to offer external domain support. 
Now I am making a video site with videos from Youtube. Now I want to resize 
thumbnails generated by youtube.

Problem is youtube gives all thumbnails same image name but url keeps 
changing. Timthumb has a check for existing filename before it generates a 
thumbnail so I end up having same thumbnails for all videos.

If I modify the script to remove check, it will increase the load since it 
will keep on recreating thumbnails on every load.

Please do suggest and incorporate a solution to this.

--
Navjot Singh

Original issue reported on code.google.com by navjotjs...@gmail.com on 1 Jan 2010 at 7:39

GoogleCodeExporter commented 8 years ago
can you give me an example of a youtube thumbnail you are trying to resize? I 
haven't
seen this myself so don't know how it works

Original comment by BinaryMoon on 3 Jan 2010 at 11:28

GoogleCodeExporter commented 8 years ago
http://img.youtube.com/vi/JXYJEG7WMq8/0.jpg is a example which I am trying. It 
generates same thumbnails for all images matching the thumbnail of the image 
which gets 
loaded first on the page.

Original comment by navjotjs...@gmail.com on 3 Jan 2010 at 11:33

GoogleCodeExporter commented 8 years ago
Another image url: http://img.youtube.com/vi/QGr5ld9Gr3A/0.jpg

Try loading both images on same page with timthumb and it sends same thumbnail 
for 
both.

Original comment by navjotjs...@gmail.com on 3 Jan 2010 at 11:38

GoogleCodeExporter commented 8 years ago
ah ha - that makes sense. I can see this being a problem for lots of things so 
I will
look into it and hopefully release a fix soon.

Original comment by BinaryMoon on 4 Jan 2010 at 12:19

GoogleCodeExporter commented 8 years ago
I think this is now fixed. If you could test and confirm that would be great. 
You may
need to clear your temp and cache directories first.

Original comment by BinaryMoon on 10 Jan 2010 at 9:29

GoogleCodeExporter commented 8 years ago
Tested and now works perfectly. Thanks a ton.

Original comment by navjotjs...@gmail.com on 10 Jan 2010 at 11:25