It looks like the file topbanner.php does not exist, but it’s not part of Lazy Image. Is it part of your theme? You may want to contact the plugin developer.
Thread Starter
Tek
(@tek)
It’s part of my theme. plugin was made for kubrick but it seems like it is easy to switch save for my terrible php skills. Its working… save for THAT.
This is what I have:
<?php
/* Don't remove this line. */
require('./wp-blog-header.php');
?>
<?php get_header(); ?>
<?php // get the nav etc ?>
<?php include "topbanner.php"; ?>
This last line
<?php include "topbanner.php"; ?>
I’d try in this way:
<?php include ('topbanner.php'); ?>
Thread Starter
Tek
(@tek)
Nope.
It must be a path that isn’t right somewhere. =(
<?php load_template( TEMPLATEPATH . '/topbanner.php'); ?>
wouldn’t work would it? TEMPLATEPATH as is and doesn’t need messing around with. It works with custom templates, but not sure if it’s relevant here. Maybe?
Thread Starter
Tek
(@tek)
Nope.
So odd… Its pulling the footer up just fine!
Thread Starter
Tek
(@tek)
I got this to work- but by NOT using some includes because they just weren’t working for me.
I am pleased!
If this guy can add some more features, save for a bit of tweaking with the gallery’s index file- I have a gallery that now intergrates smoothly with the look of my site.
BRAVO!!
FINALLY!
The gallery seems to work fine, but I have the following warnings on my Dashboard:
Warning: Cannot modify header information – headers already sent by (output started at /home/site/public_html/wp-content/plugins/lazy-gallery.php:248) in /home/site/public_html/wp-admin/admin.php on line 6
Warning: Cannot modify header information – headers already sent by (output started at /home/site/public_html/wp-content/plugins/lazy-gallery.php:248) in /home/site/public_html/wp-admin/admin.php on line 7
Warning: Cannot modify header information – headers already sent by (output started at /home/site/public_html/wp-content/plugins/lazy-gallery.php:248) in /home/site/public_html/wp-admin/admin.php on line 8
Warning: Cannot modify header information – headers already sent by (output started at /home/site/public_html/wp-content/plugins/lazy-gallery.php:248) in /home/site/public_html/wp-admin/admin.php on line 9
Please advise.
Not sure if this is hijacking the thread/topic … apologies if so …
I have this plug-in set up and it appears to be sort of working … I put two images in the gallery folder. When I navigate to my lazy-index.php file, I get two small gray boxes instead of thumbnails. When I click on one of those, instead of the images, I get:
Warning: imagesx(): supplied argument is not a valid Image resource in /usr/home/b/bowie-capo/www/htdocs/wp-content/plugins/lazy-gallery.php on line 165
Warning: imagesy(): supplied argument is not a valid Image resource in /usr/home/b/bowie-capo/www/htdocs/wp-content/plugins/lazy-gallery.php on line 166
Warning: imagedestroy(): supplied argument is not a valid Image resource in /usr/home/b/bowie-capo/www/htdocs/wp-content/plugins/lazy-gallery.php on line 167
The offending code is …
$xsize = (imagesx($img));
$ysize = (imagesy($img));
imagedestroy($img);
I thought it was a problem with the image files … I reloaded them, but same result … any ideas??
Thread Starter
Tek
(@tek)
Curious.
In you gallery install did you make then folder to put the images in or did you just install into the root of the gallery folder?
I set the gallery to wp-images … which is at the root … So .. to be specific, the blog is at
http://balancecapoeira.com/index.php …
and the gallery index is at
http://balancecapoeira.com/wp-gallery/lazy-index.php
In lazy-gallery.php (in plugins) Ihave …
$gallery_address = ‘/wp-gallery/’;
Seems that’s how it should be … one thing I realized, I didn’t try removing the trailing ‘/’ .. but that’s the way the example was.
<i>Seems that’s how it should be … one thing I realized, I didn’t try removing the trailing ‘/’ .. but that’s the way the example was.</i>
Nope … that doesn’t work π not even a gray box to be seen.
Make sure that you’re using the latest version (v0.4): http://www.lazyboy.dk/wordpress/?page_id=14