Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: no thumbnail for new pics in searchnew.php  (Read 2421 times)

0 Members and 1 Guest are viewing this topic.

krakelis

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Coppermine driven picture archive
no thumbnail for new pics in searchnew.php
« on: December 01, 2008, 04:16:41 pm »

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
Code: [Select]
<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.
Code: [Select]
<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.
Logged

krakelis

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Coppermine driven picture archive
Re: no thumbnail for new pics in searchnew.php
« Reply #1 on: December 02, 2008, 08:45:25 am »

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.
Logged

krakelis

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • Coppermine driven picture archive
Re: no thumbnail for new pics in searchnew.php
« Reply #2 on: December 02, 2008, 10:43:54 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.