no thumbnail for new pics in searchnew.php no thumbnail for new pics in searchnew.php
 

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

no thumbnail for new pics in searchnew.php

Started by krakelis, December 01, 2008, 04:16:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

krakelis

In searchnew.php the thumbnails of the just uploaded pics (by FTP) do not show. For the rest everyting does work fine, I can add the pictures to the albums and thumbnails are being made. When I look at the generated html code there is a difference in the img links between the new pics and the older pics. The thumbnails of the older pics are shown correct.

This is a new pic: the link in the html page does not work and I'm not surprised by that.  ;D
<img src="showthumb.php?picfile=test%2F000001-ps1-test.jpg&amp;size=48" class="thumbnail" border="0" alt="" />

This is how all older thumbnails img tags are alike, wich do show correct.
<img src="albums/test/thumb_001282-ps1-test.jpg" width="48" height="37" class="thumbnail" border="0" alt="" />


I do understand why the first img tag does not work, but I do not know how and where to get things setup correct again. Everything worked fine untill yesterday on my site http://basdekker.eu/beeldbank/index.php.

I did search and read a lot here but dit not find a working solution for my case till now. Some advice or link to a solution would be very welcome.

krakelis

One of the first things to do when working with a custom theme and getting strange behaviour is checking the classis theme. It took me a long night to remember that, I'm sorry. Theme classic does work fine so there is a mistake in my own home build theme. I will try to find and fix it myself.

krakelis

Just before going insane (or maybe while) I found my problem. I was thinking about a clumsy dot or slash but this time I tackled myself with white spaces, oooof.
Big shame on me. In theme.php (homebuild theme) at the end of the page there were alot of white spaces behind ?>
Took me a while to find this 'invisible' problem and in the meantime my template.html got w3 validated wich did not solve the problem ofcourse but is a nice bonus.