coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: eka on December 31, 2007, 11:18:26 AM

Title: Missing thumbnail in album properties page
Post by: eka on December 31, 2007, 11:18:26 AM
Hi,
I'm having this problem - the thumbnail on on album properties page is a box with a red "x".

How do I get the page to show the thumbnail?

My website:   http://www.photograffs.com

username:  test
password:  test


Thanks.
Title: Re: Missing thumbnail in album properties page
Post by: Hein Traag on December 31, 2007, 12:09:09 PM
Have you searched the board before posting ? There are a couple of other threads dealing with the subject of the Red X.
Title: Re: Missing thumbnail in album properties page
Post by: Stramm on December 31, 2007, 01:21:52 PM
looks to me as if you've edited modifyalb.php
reupload a unmodded version an try again
Title: Re: Missing thumbnail in album properties page
Post by: Joachim Müller on December 31, 2007, 01:25:14 PM
There must be a custom hack in place on your page, as your page displays the full-sized image instead of the thumbnail. Undo your changes or review them if they don't work as expected. This is not a coppermine-related problem, but one you introduced in the first place.

Generic fix to issues with images displaying as "red X": do a right-click, properties on the broken image, copy the URL of the image and try to access that pic in a new window by pasting the URL of the image into the address bar of the new window. You should then get an explanation what is wrong (i.e. if the pic is missing or inaccessible or whatever). As I suggested: this must be related to your custom modifications. Undo them, or do them properly.

Joachim

P.S. Actual link to your gallery is http://www.photograffs.com/index.php
Title: Re: Missing thumbnail in album properties page
Post by: eka on December 31, 2007, 04:39:50 PM
Stramm and Joachim - thank you for the prompt reply.

I uploaded the unmodded file, modifyalb.php, from version 1.4.14.

The image now appears instead of a box with a red x.

However, the image is the full-sized image and not a thumbnail.
(Because of this, the menu item at the top is pushed to the next line and appears distorted.)

So I need to have this problem corrected.

If you can give me a pointer on how to correct this or point me to the forum threads dealing with this, it sure will help me get started.

Thanks again.
Title: Re: Missing thumbnail in album properties page
Post by: Stramm on December 31, 2007, 04:50:41 PM
Same behaviour as before...
If it's not modifyalb.php that you've edited it also can be functions.inc.php (modifyalb.php uses functiuns that are defined in functions.inc.php). You should know best what you've changed in the the code!
Title: Re: Missing thumbnail in album properties page
Post by: eka on December 31, 2007, 05:11:04 PM
Thank you Stramm.

I uploaded the function.inc.php from version 1.4.14.

Same problem again on the album properties page (box with red x) but everything else looks OK.

I tried to find out the problem using Joachim's suggestion - right click the box, copy URL and tried to access the file in new window. I get a HTTP 404 - File not found page.

I also have a number of plug-ins loaded - don't know whether any of these caused the problem.
Title: Re: Missing thumbnail in album properties page
Post by: Joachim Müller on January 01, 2008, 05:57:55 PM
Disable to plugins to find out.