Have Placeholders, but No Images Have Placeholders, but No Images
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Have Placeholders, but No Images

Started by bashinsk, April 06, 2011, 01:48:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bashinsk

Disappointment! :(

I got CPG installed, customized, categories and albums all set up, and then loaded a bunch of pix.  PROBLEM:  No pix, just placeholders...for thumbnails, intermediates, and full-sized images.  Have looked for answers in forum and in documentation, but have no idea what I am doing wrong.

Plz help!

Thanx!

hb


bashinsk

More info:

The images or on the server in albums/userpics/10001.  The directory perm is 755, and the perm for the pix is 644.

Sorry for the multiple posts.  I will get better! :)

hb

Αndré

Actual link to gallery is http://www.bajanora.info/cpg/

If I try to access one of your images, I get that error message:
Quote from: http://www.bajanora.info/cpg/albums/userpics/10001/thumb_jace_0001.jpgForbidden

You don't have permission to access /cpg/albums/userpics/10001/thumb_jace_0001.jpg on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


Please contact your hosting provider regarding that permission issue.

bashinsk

Hi Andre',

Actually, the problem was my error, and it literally came to me in my sleep last nite!

I used the following script from the FAQ to create a .htaccess file to prevent direct access to my pix:

------
SetEnvIfNoCase Referer "^http://www.yourdomian.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://yourdomain.com/" locally_linked=1
SetEnvIf Referer "^$" locally_linked=1
<FilesMatch "\.(gif|png|jpe?g)$">
  Order Allow,Deny
  Allow from env=locally_linked
</FilesMatch>
------

However, I forgot to change the "yourdomain.com" to my domain!  Although this is obvious when you read the script, the FAQ directions do not explicitly point this out.  They just say to "Open your text editor and add the following lines, then save the file as .htaccess".  It might be good to add that the script needs to be updated with your actual info.  Some newbies like me will just blindly follow directions and never even look at the script itself.

Thanx again for all your help on the board.  Your willingness to provide assistance is refreshing and greatly appreciated.

hb

Αndré

I assume you mean the 'Coppermine 1.4.x FAQ'. As the current major release is cpg1.5.x, that information won't be updated, as I doubt that there will be a next release of cpg1.4.x where we can update and publish that docs.