Page 1 of 1

Gallery Album Cover (Solved)

Posted: Tue Nov 30, 2010 8:39 pm
by thunder12
Just installed Gallery and everything works except the album covers dont show on my main gallery page.  If I click on the text and then hit return they then become visual.  I have tried all the troubleshooting options on the module help page.  Link below.

http://www.bucherconstruction.com/index.php/gallery

Any help would be appreciated.

Re: Gallery Album Cover

Posted: Tue Nov 30, 2010 11:22 pm
by Ricko97
Very likely due to your URL format.

To be specific, this is the HTML for one of your album covers:



...which means that, with the link you provided in the first post, the browser is attempting to locate the image at:

http://www.bucherconstruction.com/index ... %20491.JPG

To fix it, I believe all you need to do is edit the Gallery template being used so that the src attribute in your img tag starts with a forward slash, i.e. <img src="/[...etc] - this tells the browser that the image's path is specified in full and is not relative.

Re: Gallery Album Cover

Posted: Tue Nov 30, 2010 11:34 pm
by Jos
Better put the {metadata} tag in the head section of your template (the example templates have this by default)

This wil put the tag in your html sourcecode

Re: Gallery Album Cover

Posted: Tue Nov 30, 2010 11:49 pm
by Dr.CSS
Do yourself a favor and don't use spaces in image names...

Re: Gallery Album Cover

Posted: Wed Dec 01, 2010 1:35 pm
by thunder12
Thanks for all your help.  Its working now.