alternative to show thumbnails?

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: alternative to show thumbnails?

Post by Fred » 2012-07-20 09:33

Did you get it sorted?

Had a look again this morning. Search for all instances of "img_not_found.gif" in the includes folder and comment them out with //
This should get rid of the image not found.
Just tried it on my dev site and renamed one of the images.

You should be left with a link to the actual image that you can check and see if the image is there.

It should then also generate an error that you should be able to find in one of the error logs.
Either in the root folder of the site or one of the server logs.

antonio
Posts: 77
Joined: 2010-09-28 11:48

Re: alternative to show thumbnails?

Post by antonio » 2012-07-20 10:29

Fred wrote:Did you get it sorted?

Had a look again this morning. Search for all instances of "img_not_found.gif" in the includes folder and comment them out with //
This should get rid of the image not found.
Just tried it on my dev site and renamed one of the images.

You should be left with a link to the actual image that you can check and see if the image is there.

It should then also generate an error that you should be able to find in one of the error logs.
Either in the root folder of the site or one of the server logs.
I just commented out the whole row in the tNG_functions.inc.php file:

Code: Select all

//	$relPath = $siteRootPath . "includes/tng/styles/img_not_found.gif";
and in the tNG_Dynamic_Thumbnail.class.php;

Code: Select all

//    $ret = $relpath . "includes/tng/styles/img_not_found.gif";
All i get now is empty cells; no text nor error messages. :cry:

thanks for your help, Fred.

tony

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: alternative to show thumbnails?

Post by Fred » 2012-07-21 08:44

Strange you don't get any text or at least a link or do you only show the thumbnail and not the full size image when the user clicks on it.

Ok now take a look at the generated source code.
Or use Firefox developers tool bar to "Find broken images" and see what the path is to the broken image.

Any clues in the error logs?

Post Reply