Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • And the button is not vissable to me ( maybe of the latest update) there is now an option in the other options> image options.

    My problem is that this function is available but is not working ( can`t see any difference) U maybe know why?

    Thread Starter BartJanvanAssen

    (@bartjanvanassen)

    fixed it!,
    as i tried to say in my poor english, i used the “NextGEN Basic Thumbnails” option but the without template is everytime jumping back to the gallary.php
    now that i`ve got that link:
    <em>wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/view/gallery.php. </em>
    i went there and pasted:
    <?php echo $image->alttext ?>
    in the thumpnailsection After the ending of the ngg-gallary-thuimpnail div. now it is dispolaying the title of the image just as i wanted to ??
    thnx mate for the greatest gallary plugin at this moment and your fast reactions to the support

    Thread Starter BartJanvanAssen

    (@bartjanvanassen)

    ok, but can you tell me were i can find the gallary.php? maybe i can just adjust the code so it will automaticly show the name of the image right under the image. the custom field is not a priorrity. a display of the image name is just what i want. i’d really want to use youre plugin becouse there aren’t simmilar plugins with this ease

    Thread Starter BartJanvanAssen

    (@bartjanvanassen)

    Thread Starter BartJanvanAssen

    (@bartjanvanassen)

    to be clear: what i change in ”/subdomains/bert2/httpdocs/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/index.php”
    WONT make any difference to the site. and please tell me why,.. becouse i think i can solve the rest.

    PS* the code in the post before was wrong the code should be:
    <?php echo nggcf_get_gallery_field($gallery->ID, "title"); ?>

    Thread Starter BartJanvanAssen

    (@bartjanvanassen)

    Right, i allready found that in other topics.
    im still struggeling i have 2 thoughts
    1. the gallery-display template that has te be the emty rule, the NO template option, is evrytime i have a check reselected at the gallery.php themplate.
    2. in the additional plugin ‘custom fields’ i have created a custom field called:’ title ‘ and the in code of the …/thumbnails/index.php i changed the code into:

    <div class="ngg-gallery-thumbnail">
                <a>get_image_url($image))?>"
                   title="<?php echo esc_attr($image->description)?>"
                   data-image-id='<?php echo esc_attr($image->pid); ?>'
                   <?php echo $effect_code ?>>
                    <img
                        title="<?php echo esc_attr($image->alttext)?>"
                        alt="<?php echo esc_attr($image->alttext)?>"
                        src="<?php echo esc_attr($storage->get_image_url($image, $thumbnail_size_name))?>"
                        width="<?php echo esc_attr($thumb_size['width'])?>"
                        height="<?php echo esc_attr($thumb_size['height'])?>"
                        style="max-width:none;"
                    />
    <?php echo nggcf_get_field($image->pid, 'title'?>
                </a>
    
            </div>

    I
    m still not seeing any underscript/title.

    cant i just do something like a echo $image->discription ?

Viewing 7 replies - 1 through 7 (of 7 total)