Gallery Album Cover (Solved)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
thunder12
New Member
New Member
Posts: 4
Joined: Tue Oct 12, 2010 6:43 pm

Gallery Album Cover (Solved)

Post 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.
Last edited by thunder12 on Wed Dec 01, 2010 1:36 pm, edited 1 time in total.
User avatar
Ricko97
Forum Members
Forum Members
Posts: 65
Joined: Wed Jan 07, 2009 10:14 pm

Re: Gallery Album Cover

Post 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.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Album Cover

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Gallery Album Cover

Post by Dr.CSS »

Do yourself a favor and don't use spaces in image names...
thunder12
New Member
New Member
Posts: 4
Joined: Tue Oct 12, 2010 6:43 pm

Re: Gallery Album Cover

Post by thunder12 »

Thanks for all your help.  Its working now.
Post Reply

Return to “Modules/Add-Ons”