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

ncy - November 14, 2008 - 19:26
Assigned to:Anonymous» ncy

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.

AttachmentSize
fast_gallery_334289_334406.patch 3.35 KB

#2

ncy - November 14, 2008 - 19:27
Status:active» needs review

#3

hhzuid - November 15, 2008 - 14:05

Thanks, the patch is working for me! (334289)

#4

rapsli - January 23, 2009 - 20:05
Status:needs review» fixed

#5

System Message - February 6, 2009 - 20:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#6

ktonini - August 5, 2009 - 07:06
Status:closed» active

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?

 
 

Drupal is a registered trademark of Dries Buytaert.