drupal - Short path names to Gallery2 images
|
MrGibbage
Joined: 2005-12-06
Posts: 16 |
Posted: Tue, 2005-12-06 12:20
|
|
How do I get decent short names to images in my embeded gallery2 database? I can get nice names to the pages, but to get just the image, I have to use a ridiculous link like this: The link to the page is nice and clean: Did I miss a setting somewhere? Skip |
|

Posts: 8601
check site admin/url rewrite.
there is a rule for download urls.. by default it uses /d/ in the path.
Posts: 16
I get an error about not being able to write to the .htaccess file, which I understand is a feature of it being embeded in drupal (I get the same error on the "Test" page of the URL rewrite section.
Skip
Posts: 8601
Moving to support..
Posts: 32509
moved to the integration forum
in your embedded g2, access site admin -> url rewrite -> setup and make sure the embedded htaccess file config is ok.
Posts: 243
my link is like
server/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=3653
when installing gallery.module it is said you MUST turn off any url rewrite but show item.
do it means what I turned off download url rewrite. Do you advice to switch it back in order to have nice url?
Posts: 189
My understanding is that Download item cannot yet have a URl rewrite rule, only "Show item". So I would not expect it to work. I have not really played with it to see if it can be made to work. If you figure it out let us know.
Posts: 16
I think it is indeed correct that with the embedded gallery within Drupal, you can only URL rewrite the "Show Item" rule. Also, if you try the "Test" tab, you will always get errors with a "properly" embedded G2. Of course someone may correct me on this and/or prove me wrong.