• Old thread was too annoying w/ BB Press (hard to see what’s new and such).

    xGallery is a Multimedia solution for WP. It’s exactly what it should be, a plugin, plug it in and it works ??

    You can view it in action here: https://www.evilcoder.net/album.php

    There’s also an administration backend via the WP Admin

    ! New home for xGallery !
    https://www.evilcoder.net/ (The sites a WIP so if it ever gets flakey check https://www.davidcramer.net/)

    You can download 0.6 from any of the following: https://www.davidcramer.net/xgallery.zip
    https://www.evilcoder.net/xgallery.zip

    // 0.6 //

    Reworked the GD functions, removed the original code (wasn’t mine).
    No more borders/drop shadow etc… was more hassle then it’s worth.
    Fixed many file permission problems, tags that weren’t closed etc.
    The example-photos.php is not made to work with the default WP 1.5 theme
    Fixed a bug that would cause it to only generate 1 thumbnail instead of the whole batch
    — Look for a file manager and a slideshow in the next version!

Viewing 15 replies - 16 through 30 (of 34 total)
  • Thread Starter zeeg

    (@zeeg)

    0.61 is available, same link. it fixes everything recorded in this thread.

    Does anyone know how to create your own WP templates? Like say for example add a template to the system that would let you edit how xGallery displays and such?

    echo "Mtd>No files found</td>";
    should be
    echo "<td>No files found</td>";
    .61 looks great otherwise!

    Thread Starter zeeg

    (@zeeg)

    Whoops, thanks ??

    I keep getting a “Call to undefined function: gallery_show_photos()” error.

    I activated the Plugin.
    I created a wp-content /gallery page, granted read/write permissions
    I used the default settings (note: Im on IIS server) on admin page.
    I also added the style settings to the templates sytle.css file.

    The example-photos.php file is in the main directory

    Not sure whats going on here. Eventually, I hope to have the gallery display within the template, in the body section.

    OK. So I got the error above resolved, but now I am getting what others have hadd: Error Message: Unable to access the specified directory . Both direcotries have permissions

    Does anyone know what was meant (in the install Instrux) by: “Windows doesnt like .folder names, so do a find replace with .modified and .thumb or something of the sorts”

    Do we need to search the code in xgallery.php for instances of “.modified” and “.thumb” or do we actually need to created folders with these names.

    This may be where my confusion and problem lies.

    Thread Starter zeeg

    (@zeeg)

    Sorry, old readme, theres an option for it now. Just head over to WP admin and go to your xGallery options and you can change the folder names

    Make sure your directory is the absolute path from your www

    so if your www is C:\inetpub\www\ and your gallery is in C:\inetpub\www\wp\wp-content\gallery\ your directory should be set to \wp\wp-content\gallery

    I dont think that is my issue. It’s set to /wp-content/gallery. I hae WP1.5 in my main directory. The example-photos.php is in the main directory.

    Could it be this line from the xGallery.php script?
    define (‘ICONS_DIR’, get_settings(‘home’).’/wp-content/plugins/xgallery/’);

    As a reminder, I am on a IIS server.

    I am getting the Warning: cannot add header information error..
    I tried removing any spaces for php tags but that didnt work for me at all..

    Warning: Cannot add header information – headers already sent by (output started at /rmounts/vol0-nas/yorkweb/webs/schun/MyWebSite/blogs/wpen15/wp-admin/admin-header.php:8) in /rmounts/vol0-nas/yorkweb/webs/schun/MyWebSite/blogs/wpen15/wp-admin/admin.php on line 6

    Warning: Cannot add header information – headers already sent by (output started at /rmounts/vol0-nas/yorkweb/webs/schun/MyWebSite/blogs/wpen15/wp-admin/admin-header.php:8) in /rmounts/vol0-nas/yorkweb/webs/schun/MyWebSite/blogs/wpen15/wp-admin/admin.php on line 7

    Warning: Cannot add header information – headers already sent by (output started at /rmounts/vol0-nas/yorkweb/webs/schun/MyWebSite/blogs/wpen15/wp-admin/admin-header.php:8) in /rmounts/vol0-nas/yorkweb/webs/schun/MyWebSite/blogs/wpen15/wp-admin/admin.php on line 8

    Warning: Cannot add header information – headers already sent by (output started at /rmounts/vol0-nas/yorkweb/webs/schun/MyWebSite/blogs/wpen15/wp-admin/admin-header.php:8) in /rmounts/vol0-nas/yorkweb/webs/schun/MyWebSite/blogs/wpen15/wp-admin/admin.php on line 9

    Any idea? Thanks!

    Thread Starter zeeg

    (@zeeg)

    KPIZME I dont think so, that error is only shown when it can’t find the gallery directory, make sure you use \ instead of /, but im not sure.

    Schun, I don’t think that’s an xGallery error, but I’m not certain. Dont know what to tell ya.

    UGH! I am not sure why I am struggling with this one so much, and I am sure the resolution will be DUH! simple. I am determined as this is the best looking gallery I have seen. Lets give it one more try:

    direct path to gallery:
    C:\Inetpub\vhosts\kevla.net\httpdocs\wp-content\gallery

    WordPress address (URI):
    https://www.kevla.net

    deafult gallery path under Options:
    /wp-content/gallery/
    (I have also tried various versions with both “/” and “\”)

    location of ALL xgallery files
    /wp-content/plugins/xgallery

    https://www.kevla.net/media.php (media.php=example-photo.php)

    No modifications were made to any xgallery files.

    Currently, Gallery folder is empty of media files, but has two files, thumbs and modified.

    THANKS AGAIN for trying to working through this one with me.

    I think that I have almost got it. Now I am getting at least the folder icons to appear, albeit I am getting another error.

    Under Options/Default Gallery Path I had to put the FULL path; ie: not just ‘/wp-content/gallery’ BUT the full path including the root. Maybe its a Windows/Plesk thing, I donno.

    I figured this out by adding the following lines of code before the error output, as you instructed in the old thread:

    echo realpath($_SERVER[‘document_root’]);
    echo $dir_path_abs;

    Oh, should I even be seeing the modified and thumbs folders? I thought these would be consdiered “internal” and for the plugin functionality.

    Thread Starter zeeg

    (@zeeg)

    I probably forgot to make them not display as the options updated, I’ll fix that in .7 and whatever windows solution we come up with ??

    Ah. I fixed the display of the thumbs and modified folder by unchecking the “display subfolders” on the Admin panel.

    Now that “chdir(): No such file or directory (errno 2) … on line 534
    ” error. I think it was a bad decsion to put the full path. I think that fixed one issue, but caused another.

    Ill play with it and let you know if I come up with anything. Thanks for the help and commitment up to now.

    zeeg…are you out there? Still struggling here… =/

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘xGallery [Updated]’ is closed to new replies.