coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Shinumo on July 04, 2005, 10:17:42 PM

Title: Photos and Custom Fields not displaying
Post by: Shinumo on July 04, 2005, 10:17:42 PM
I've had Coppermine Photo Gallery (1.3.3) installed and working fine at  http://www.ravenmountain.com/stock_gallery . I decided to move Coppermine to the subdomain  http://stock.ravenmountain.com.  Once I did so, none of the images would display. I also noticed that none of the custome fields ("Master File Size", "Camera, Film, Filters") display either.  The file names of the photos would come up so I know Coppermine can see the files but no images will display.  I seem to be able to upload photos with no problem--I just can't view them.  I've tried MSIE, Firefox, Mozilla, Opera, and Netscape and the images do not display in any browser.  In Firefox, I can right click and "view Image" and it comes up fine.  Then when I go 'back' the image now displays in Coppermine.  But it seems random as somethimes the image displays and sometimes it doesn't.  Any ideas?  Thanks in advance.

Phil
Title: Re: Photos and Custom Fields not displaying
Post by: Nibbler on July 04, 2005, 10:30:48 PM
Well, you are redirecting the requests for the images to http://ravenmountain.com/copyright.htm which is not very helpful if you want them to be displayed. Adjust your hotlinking protection.

Title: Re: Photos and Custom Fields not displaying
Post by: kegobeer on July 04, 2005, 10:41:52 PM
You moved your gallery - did you update your gallery's URL on the config page?

Config -> Target address for the 'See more pictures' link in e-cards
Title: Re: Photos and Custom Fields not displaying
Post by: Shinumo on July 04, 2005, 10:47:33 PM
I did update the URL on the config page.  I'm still looking into the .htaccess. Thanks.

Title: Re: Photos and Custom Fields not displaying
Post by: Shinumo on July 04, 2005, 11:18:10 PM
I disabled hot linking access but I still cannot see my photos.
Title: Re: Photos and Custom Fields not displaying
Post by: Tranz on July 04, 2005, 11:25:39 PM
It doesn't look like the hotlink access has been disabled. I can't view the images until I disable referer logging. That indicates that hotlink protection is in effect.
Title: Re: Photos and Custom Fields not displaying
Post by: Shinumo on July 05, 2005, 12:32:42 AM
Interesting. ???

OK, now I have it disabled and I can see my images!! :o

However, now I have no hotlink protection! :(

Is there a way to enable hotlink protection and still be able to view my images in Coppermine?

Thanks!

Phil

Title: Re: Photos and Custom Fields not displaying
Post by: Tranz on July 05, 2005, 12:35:27 AM
Yes. You need to add your subdomain to the whitelist since it is seen as a different domain and thus it seems like it is hotlinking images.
Title: Re: Photos and Custom Fields not displaying
Post by: Shinumo on July 05, 2005, 06:58:01 AM
Thanks for all your help!  Images are now displaying properly and I have hotlinking protection.  However, I'll have to start a new thread for some other problems.