|
#31
|
|||
|
|||
|
I added it and it works, but I have 2 problems:
http://www.dikkieburger.nl/photo/14 The thums work and their links too, but the dimensions from the thumbnails don't show up. http://www.dikkieburger.nl/browse/category/3 This also doen'st work it's looking for thumbnails in http://www.dikkieburger.nl/browse/ca...6_dscf2647.jpg that should be http://www.dikkieburger.nl/thumbnail...6_dscf2647.jpg What should I change in index.php to fix it? Please help Last edited by DikkieBurger; 07-21-2006 at 11:25 AM. |
|
#32
|
||||
|
||||
|
For starters, you can try putting the following code inside the <header> section of your template.
HTML Code:
<base href="http://www.dikkieburger.nl/">
CURRENT: HTML Code:
<img src="thumbnails/thumb_20060711222228_dscf2748.jpg" alt="Butterfly" title="Butterfly" class="thumbnails" />
HTML Code:
<img src="/thumbnails/thumb_20060711222228_dscf2748.jpg" alt="Butterfly" title="Butterfly" class="thumbnails" />
__________________
Jay Williams | A Different View |
|
#33
|
|||
|
|||
|
Ok, thanks problem solved, but still have the first problem:
http://www.dikkieburger.nl/photo/14 The thumbs work and their links too, but the dimensions of the thumbnails don't show up. |
|
#34
|
||||
|
||||
|
Wow that's a strange problem there.
What you could do to at least get it working would be to edit the index.php file and make it so it doesn't add the 'width' or the 'height' attributes. Current: HTML Code:
[<img src='../thumbnails/thumb_20060708114723_oostblok2006_0510(085).jpg' alt='Water organ' title='Water organ' class='thumbnails' width='' height='' />
HTML Code:
<img src='../thumbnails/thumb_20060708114723_oostblok2006_0510(085).jpg' alt='Water organ' title='Water organ' class='thumbnails' />
__________________
Jay Williams | A Different View |
|
#35
|
|||
|
|||
|
Mmm, width='$local_width' height='$local_height, the local/width and height are not working
Code:
$thumbnail_extra = getimagesize("/thumbnails/thumb_$image_name");
$image_extra = getimagesize("/images/$image_name");
$image_width = $image_extra['0'];
$image_height = $image_extra['1'];
$tpl = str_replace("<IMAGE_WIDTH>",$image_width,$tpl);
$tpl = str_replace("<IMAGE_HEIGHT>",$image_height,$tpl);
$local_width = $thumbnail_extra['0'];
$local_height = $thumbnail_extra['1'];
|
|
#36
|
||||
|
||||
|
Just a hunch, but you might want to remove the "/" at the beginning of getimagesize.
PHP Code:
__________________
Jay Williams | A Different View |
|
#37
|
|||
|
|||
|
Thanks! Fixed!
|
|
#38
|
||||
|
||||
|
Oh, your RSS feed needs some tweaking.
All your links have two "//". So you always get a 404 error when trying to view the page. HTML Code:
<link>http://www.dikkieburger.nl//photo/17</link> HTML Code:
<link>http://www.dikkieburger.nl/photo/17</link>
__________________
Jay Williams | A Different View |
|
#39
|
|||
|
|||
|
Thanks, also fixed!
|
|
#40
|
||||
|
||||
|
Well since I'm on such a bug finding spree...
Here is something else for you to fix. On the Galleries page, you need to change the option for "All". This is the current code: HTML Code:
<option value='index.php?x=browse&category='>All</option> HTML Code:
<option value='/browse'>All</option> Just replace any text that says "browse" with whatever you wish. :-)
__________________
Jay Williams | A Different View |
| Post Reply |
| Thread Tools | |
|
|