Links to the images in a gallery are inappropriate without clean urls. (I don't know if it works well with clean url turned on).
Though the thumbnails' url are correct (/gallery/01_image.jpg.thumb), clicking on one of them refers to ?q=gallery/01_image.jpg

CommentFileSizeAuthor
#5 fast_gallery.patch1.17 KBrapsli

Comments

rapsli’s picture

I checked it, and it seems to work just fine without clean URL. What Server/OS are you running on?

zolikonta’s picture

MySQL database 5.0.51a
PHP 5.2.6-1+lenny8
Web server Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g

rapsli’s picture

so it's not a windows issue... hm.

is it on your local machine or can I have a look at it?

zolikonta’s picture

unfortunately it's on a production site (couldn't downgrade after experiencing the issue), so I can send you the link
http://www.steampunkalchemy.com/?q=gallery

rapsli’s picture

StatusFileSize
new1.17 KB

can you enable clean URL? It would be interesting to see if it works then.

Here's a patch that should fix the problem. I'm not yet sure how to permanently fix this issue. Let me know if this patch works for you.

zolikonta’s picture

Well, I cannot enable clean url on this server, that's why I use as it is.
Though, the patch worked well, no more broken images any more.

Thank you!

rapsli’s picture

I added the url() Function http://drupal.org/cvs?commit=373712

Can you check if this still works?

zolikonta’s picture

I'm not sure if I did it correctly, I edited the files manually and the issue came back.

rapsli’s picture

check out the latest dev version. It's from today and should contain the changes.

Would patches be a better way?

zolikonta’s picture

Same issue here with the dev version installed.

rapsli’s picture

Status: Active » Fixed

oky. I think I found the problem. it had to do, with clean url disabled. Going to close this issue. Let's hope it's not gonna be opened again.

Status: Fixed » Closed (fixed)

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