Gallery 3.0.9 album cover is not loading

spadmin

Joined: 2014-02-16
Posts: 4
Posted: Sun, 2014-02-16 01:00

Gallery 3.0.9 is installed in suryaprakashreddy.com/gallery. I am having issues with diaplaying album cover for all album. I tried with different themes and always it shows broken images. Inside images are loading fine.

I tried to change other images as album cover and issue remains same. Can you help me on this?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2014-02-16 02:15

http://galleryproject.org/node/96771
in short add:

<FilesMatch ".album.jpg">
Order deny,allow
</FilesMatch>

to your .htaccess file.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sun, 2014-02-16 02:23

Start here:
http://galleryproject.org/node/100963#comment-369131

EDIT: Oops. I'd typed a response and walked away before posting. Now see that @floridave got you covered.

 
spadmin

Joined: 2014-02-16
Posts: 4
Posted: Sun, 2014-02-16 12:23

Dave, I have added .htaccess file in gallery folder and still same issue. Do I need to add .htaccess file in all gallery subfolders?
Attcahed is the my gallery folder .htaccess file code in htacess.txt for your reference. Can you suggest me, If I need to change the settings?

 
spadmin

Joined: 2014-02-16
Posts: 4
Posted: Sun, 2014-02-16 13:45

Added RewriteRule "(^|/)\." - [F] line in .htaccess and it is working fine. Thank you...

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sun, 2014-02-16 14:42

I don't recommend you do that unless you have to.

Move the FilesMatch higher up in the file than you had it before and see if that works.
Also, is Gallery in your site root, or is the Gallery in a subfolder?

EDIT: You also need to uncomment the last section. At the bottom, starting with the # <IfModule mod_rewrite.c> line, remove the "#" at the beginning of each line.

 
spadmin

Joined: 2014-02-16
Posts: 4
Posted: Sun, 2014-02-16 14:55

Thank you. It is working fine, after uncommenting mod_rewrite.c.

Can you have help me, I am using Iframe to display Gallery in Drupal page. Is there any module to integrate Gallery 3 and Drupal 7?

Gallery is installed in sub folder "gallery"