Link Big image don't work (imagecache)
hhzuid - November 14, 2008 - 14:07
| Project: | Fast Gallery |
| Version: | 6.x-3.2-beta2 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | ncy |
| Status: | active |
Description
I use the new fast gallery. (fast_gallery-6.x-3.2-beta2) It is great!
Thanks for your work.
But, i use it in combination with imagecache. Without imagecache it works
good. But when i use imagecache, the link to the big image is not good
It should be
http://ota.demo.nl/sites/default/files/imagecache/fast_gallery_big/fast_...
But it is: (two times the domain name)
http://ota.demo.nl/http%3A/%2Fota.demo.nl/sites/default/files/imagecache...
********
Imagecache works on the frontpage of the site perfect

#1
Found the problem. imagecache_create_url() generates the full path, including the "http://", which gets messed up in the encoding conversions. "http://" needs to be excluded in the conversion calls.
Try the attached patch (also addresses #334406: Gallery Path with National Characters Doesn't Save without Trailing Slash.
#2
#3
Thanks, the patch is working for me! (334289)
#4
#5
Automatically closed -- issue fixed for 2 weeks with no activity.
#6
I'm having a similar problem with the latest version (6.x-4.0-beta7) - I'm working on my site locally and my url is http://ecr:8888 when imagecache is applied to the big image the link changes to http://ecr%3a8888 resulting in the missing image graphic.
Strangely the imagecached thumbnail is not effected.
Any ideas?