Well that sounds kinda neat… a way to choose the thumbnails on a case by case (or page by page) basis if you want. The wording threw me a little, though. Let it be known: this plugin actually creates new images and caches them, and doesn’t just alter the sizing values or existing ones. Gotcha.
Question: does it take the sizing values directly from the
<img>tag, or if I had a table with, say
height="120px"would that work?
It takes the sizing values from the <img> tag.
Specifically width and height. If you have only width or only height, it will resize the width or height to the value you specify and the other attribute will be resized in proportion.
It also allows for a size attribute..
<img src=’myphoto.jpg’ size=’70%’>
And this would create a new image that is 70% of the size of the original. And links the new image into url code automatically.
i just want the image gallery the rest of the functionality is useless to me…
plus the gallery doesnt accept the http://www.website.com/photography/galleryname/photoname arcetecture and just seems to try and go to http://www.website.com/?gallery_id=1 even when im calling from http://www.website.com/photography and where it should revert to http://www.website.com/photography/?gallery_id=1 at the very least. It would be better if it went for http://www.website.com/photography/1/ at the very least.
I shall try to fix the other issues im facing appart from the /photography/galleryname/imagename as im not sure how to work that. I shall also probably include some form of admin panel for changing the values so editing the php file isnt needed.
I really like the plugin, if the above where fixed and it didnt mess up the css of all my pages by putting boxes around all my images |: bad naughty plugin, then this would be perfect.
Bugs: “.$_SERVER[‘SERVER_NAME’].$_SERVER[‘ORIG_PATH_INFO’].” Wouldnt work on my server for the Plugin_UrlBuild function. I had to enter my url manualy. Has this been written for php5?
Found out how to turn off the thing that phased all my pages and put borders around my smiles by turning off the thing commenting out last line.
Because I dont need it…
I’m getting the following error appearing in the post:
Warning: filesize() [function.filesize]: stat failed
What CHMOD value should the folders be set to?
OK, here’s some more feedback on a possible bug. The plugin seems to work when specifying a smaller width (width=”100″), but doesn’t work for the ‘reduce originals’ function. I’ve created the folders (777) for the photos and cache, and changed these values in the plugin:
$ReduceOriginals = TRUE;
$ReduceOriginalsWidth = 450;
Here’s the errors that appear in the post if the image is larger than 450 pixels:
Warning: filesize() [function.filesize]: stat failed for http://www.mydomainname.com/wp-content/uploads/2006/01/largetest.jpg in /home/root/public_html/wp-content/plugins/nathan-gallery.php on line 464
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.mydomainname.com/wp-content/uploads/2006/01/largetest.jpg.tmp' for writing in /home/root/public_html/wp-content/plugins/nathan-gallery.php on line 537
Warning: unlink() [function.unlink]: HTTP does not allow unlinking in /home/root/public_html/wp-content/plugins/nathan-gallery.php on line 475
Warning: copy(http://www.mydomainname.com/wp-content/uploads/2006/01/largetest.jpg.tmp) [function.copy]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/root/public_html/wp-content/plugins/nathan-gallery.php on line 476
Warning: unlink() [function.unlink]: HTTP does not allow unlinking in /home/root/public_html/wp-content/plugins/nathan-gallery.php on line 477
Here’s the errors that appear in the post if the image is smaller than 450 pixels:
Warning: filesize() [function.filesize]: stat failed for http://www.mydomainname.com/wp-content/uploads/2006/01/smalltest.jpg in /home/root/public_html/wp-content/plugins/nathan-gallery.php on line 464
These issues should be all resolved in the latest version 0.1.4. It has an admin panel now, etc and you can change the styling there etc.
After setting up PixGallery, I can see the thumbnails for the folders, but am not able to drill down any further.
The gallery is located at: http://brayabbitt.com/pictures/
I uploaded this cool plugin and when I actived it, the error came out:
Warning: array_keys(): The first argument should be an array in /hsphere/local/home/greenartist/xxxxxxxxxxx.com/bog/wp-content/plugins/pixgallery.php on line 876
Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/greenartist/xxxxxxxxxxx.com/bog/wp-content/plugins/pixgallery.php:876) in /hsphere/local/home/greenartist/xxxxxxxxxxx.com/bog/wp-admin/plugins.php on line 16
Any idea why it couldn’t go any further after I activated the plugin? I looked up plugins.php and the “line 16” looks fine. Here it is:
I’m also getting the same error as green artist:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/…../wp-content/plugins/pixgallery.php on line 876
I’m using WordPress 2.0.1. I’ve installed the plugin and added it to a page and I’m getting the following error message:
Error: Photos path is invalid!
Error: Photos path should contain subfolders to store each photo gallery!
Error: Not a valid directory (/home/clunybr/public_html/images/photos/)
Warning: Division by zero in /home/clunybr/public_html/wp-content/plugins/pixgallery Folder/pixgallery.php on line 205
Warning: Division by zero in /home/clunybr/public_html/wp-content/plugins/pixgallery Folder/pixgallery.php on line 206
Warning: Division by zero in /home/clunybr/public_html/wp-content/plugins/pixgallery Folder/pixgallery.php on line 259
I can see that the path contains an incorrect backslash, but I can’t figure out where to fix it.
Any help would be appreciated.
Edited: I don’t know why, but the incorrect backslash disappeared when I posted my question. It was in the line:
Error: Not a valid directory (/home/clunybr/public_html\
I’ve surrounded it with backticks, maybe it’ll show in this one.
- The topic ‘Image Resizing/Thumbnail Generation Plugin’ is closed to new replies.